Re: [PATCH] qdev: move legacy cli device creation after JSON syntax ones

2022-02-23 Thread Peter Krempa
On Wed, Feb 23, 2022 at 17:46:49 +0800, Zhenzhong Duan wrote: > While libvirt does not support all the qemu parameters in standand > xml syntax, such as hostfwd. We have to use to > passthrough the parameters. E.x: > > > > > >value='virtio-net-pci,netdev=mynet0,mac=00:16:3E:68:0

[PATCH] qdev: move legacy cli device creation after JSON syntax ones

2022-02-23 Thread Zhenzhong Duan
While libvirt does not support all the qemu parameters in standand xml syntax, such as hostfwd. We have to use to passthrough the parameters. E.x: Then we got below error: qemu-system-x86_64: -device {"driver":"pcie-root-port","port":8,"chassis":1,"id":"pci.1","bus":"pcie.0",