Re: Re: [RESEND 1/2] qga: Introduce NVMe disk bus type

2022-03-23 Thread zhenwei pi
On 3/23/22 18:53, Philippe Mathieu-Daudé wrote: On 23/3/22 11:19, zhenwei pi wrote: Assigning a NVMe disk by VFIO or emulating a NVMe controller by QEMU, a NVMe disk get exposed in guest side. Support NVMe disk bus type and implement posix version. Test PCI passthrough case: ~#virsh qemu-age

Re: [RESEND 1/2] qga: Introduce NVMe disk bus type

2022-03-23 Thread Philippe Mathieu-Daudé
On 23/3/22 11:19, zhenwei pi wrote: Assigning a NVMe disk by VFIO or emulating a NVMe controller by QEMU, a NVMe disk get exposed in guest side. Support NVMe disk bus type and implement posix version. Test PCI passthrough case: ~#virsh qemu-agent-command buster '{"execute":"guest-get-disks"}' |

[RESEND 1/2] qga: Introduce NVMe disk bus type

2022-03-23 Thread zhenwei pi
Assigning a NVMe disk by VFIO or emulating a NVMe controller by QEMU, a NVMe disk get exposed in guest side. Support NVMe disk bus type and implement posix version. Test PCI passthrough case: ~#virsh qemu-agent-command buster '{"execute":"guest-get-disks"}' | jq ... { "name": "/dev/nvm