]> git.proxmox.com Git - mirror_qemu.git/commit
qga: Introduce disk smart
authorzhenwei pi <pizhenwei@bytedance.com>
Wed, 20 Apr 2022 02:26:10 +0000 (10:26 +0800)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 4 May 2022 09:03:19 +0000 (13:03 +0400)
commit22668881f3def13e9ffcf16840e5fde974a55b1e
treefa48d3da9af891089afdae9a0568c208f4a063ca
parentd48f61c8ea838ec8c232c54f043c855359774a7a
qga: Introduce disk smart

After assigning a NVMe/SCSI controller to guest by VFIO, we lose
everything on the host side. A guest uses these devices exclusively,
we usually don't care the actions on these devices. But there is a
low probability that hitting physical hardware warning, we need a
chance to get the basic smart log info.

Introduce disk smart, and implement NVMe smart on linux.

Thanks to Keith and Marc-André.

CC: Keith Busch <kbusch@kernel.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20220420022610.418052-3-pizhenwei@bytedance.com>
qga/commands-posix.c
qga/qapi-schema.json