Home
last modified time | relevance | path

Searched refs:smart (Results 1 – 5 of 5) sorted by relevance

/qemu/qga/
H A Dcommands-posix.c1454 GuestNVMeSmart *smart; in get_nvme_smart() local
1477 disk->smart = g_new0(GuestDiskSmart, 1); in get_nvme_smart()
1478 disk->smart->type = GUEST_DISK_BUS_TYPE_NVME; in get_nvme_smart()
1480 smart = &disk->smart->u.nvme; in get_nvme_smart()
1481 smart->critical_warning = log.critical_warning; in get_nvme_smart()
1483 smart->available_spare = log.available_spare; in get_nvme_smart()
1485 smart->percentage_used = log.percentage_used; in get_nvme_smart()
1496 smart->power_cycles_lo = le64_to_cpu(log.power_cycles[0]); in get_nvme_smart()
1497 smart->power_cycles_hi = le64_to_cpu(log.power_cycles[1]); in get_nvme_smart()
1504 smart->number_of_error_log_entries_lo = in get_nvme_smart()
[all …]
H A Dqapi-schema.json932 # NVMe smart information, based on NVMe specification, section
969 # Disk type related smart information.
996 # @smart: disk smart information (Since 7.1)
1003 '*smart': 'GuestDiskSmart'} }
/qemu/docs/system/devices/
H A Dccid.rst7 lets one connect smart card readers that implement the same spec. For more
23 the guest machine. It is also possible to have a completely virtual smart card
24 reader and smart card (i.e. not backed by a physical device) using this device.
168 libcacard implements a completely virtual CAC (DoD standard for smart
/qemu/hw/nvme/
H A Dctrl.c4718 NvmeSmartLog smart = { 0 }; in nvme_smart_info() local
4724 if (off >= sizeof(smart)) { in nvme_smart_info()
4746 trans_len = MIN(sizeof(smart) - off, buf_len); in nvme_smart_info()
4747 smart.critical_warning = n->smart_critical_warning; in nvme_smart_info()
4752 smart.data_units_read[0] = cpu_to_le64(u_read); in nvme_smart_info()
4753 smart.data_units_written[0] = cpu_to_le64(u_written); in nvme_smart_info()
4754 smart.host_read_commands[0] = cpu_to_le64(stats.read_commands); in nvme_smart_info()
4757 smart.temperature = cpu_to_le16(n->temperature); in nvme_smart_info()
4761 smart.critical_warning |= NVME_SMART_TEMPERATURE; in nvme_smart_info()
4765 smart.power_on_hours[0] = in nvme_smart_info()
[all …]
/qemu/docs/
H A Dimage-fuzzer.txt224 functionality can be varied from simple model-independent fuzzing to smart