Re: [Qemu-devel] [PATCH] hmp: add 'info virtio-pci-status id' command

2017-05-02 Thread Markus Armbruster
ZhiPeng Lu writes: > Add command to query a virtio pci device status. > we can get id of the virtio pci device by 'info pci' command. > HMP Test case: > == > virsh # qemu-monitor-command --hmp 3 info pci > Bus 0, device 3, function 0: > Ethernet controller: P

Re: [Qemu-devel] [PATCH] hmp: add 'info virtio-pci-status id' command

2017-05-02 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@gmail.com) wrote: > On Tue, May 02, 2017 at 10:38:11AM +0800, ZhiPeng Lu wrote: > > Add command to query a virtio pci device status. > > we can get id of the virtio pci device by 'info pci' command. > > HMP Test case: > > == > > virsh # qemu-monitor-

Re: [Qemu-devel] [PATCH] hmp: add 'info virtio-pci-status id' command

2017-05-02 Thread Stefan Hajnoczi
On Tue, May 02, 2017 at 10:38:11AM +0800, ZhiPeng Lu wrote: > Add command to query a virtio pci device status. > we can get id of the virtio pci device by 'info pci' command. > HMP Test case: > == > virsh # qemu-monitor-command --hmp 3 info pci > Bus 0, device 3, funct

Re: [Qemu-devel] [PATCH] hmp: add 'info virtio-pci-status id' command

2017-05-02 Thread Cornelia Huck
On Tue, 2 May 2017 10:38:11 +0800 ZhiPeng Lu wrote: > Add command to query a virtio pci device status. > we can get id of the virtio pci device by 'info pci' command. > HMP Test case: > == > virsh # qemu-monitor-command --hmp 3 info pci > Bus 0, device 3, function 0:

Re: [Qemu-devel] [PATCH] hmp: add 'info virtio-pci-status id' command

2017-05-02 Thread Dr. David Alan Gilbert
* ZhiPeng Lu (lu.zhip...@zte.com.cn) wrote: Hi, > Add command to query a virtio pci device status. Is this purely for debug? If it's not for debug then you'll need to structure it around a matching QMP command. > we can get id of the virtio pci device by 'info pci' command. > HMP Test case: >

[Qemu-devel] [PATCH] hmp: add 'info virtio-pci-status id' command

2017-05-01 Thread ZhiPeng Lu
Add command to query a virtio pci device status. we can get id of the virtio pci device by 'info pci' command. HMP Test case: == virsh # qemu-monitor-command --hmp 3 info pci Bus 0, device 3, function 0: Ethernet controller: PCI device 1af4:1000 IRQ 1