Re: [libvirt-users] Libvirt adds extra parameters in domain XML

2016-10-18 Thread Andrea Bolognani
On Mon, 2016-10-17 at 21:37 +0200, Marina Danial wrote: > I need write the domain XML in libvirt to eventually convert > it into these qemu commands.. I don't want to call qemu > directly with these commands. So I needed assistance with > that If you're dead set on executing QEMU with those

Re: [libvirt-users] Libvirt adds extra parameters in domain XML

2016-10-17 Thread Martin Kletzander
On Mon, Oct 17, 2016 at 02:29:10PM +0200, Marina Danial wrote: I have a predetermined set of commands that I want to launch qemu with: sudo `which qemu-system-x86_64` -m 4G $(IMAGE) -enable-kvm \ -nographic \ -net nic,model=virtio,netdev=net0,macaddr=$(MAC),vlan=0 \ -netdev

Re: [libvirt-users] Libvirt adds extra parameters in domain XML

2016-10-17 Thread Marina Danial
I need write the domain XML in libvirt to eventually convert it into these qemu commands.. I don't want to call qemu directly with these commands. So I needed assistance with that On Oct 17, 2016 9:34 PM, "Martin Kletzander" wrote: > On Mon, Oct 17, 2016 at 02:29:10PM

Re: [libvirt-users] Libvirt adds extra parameters in domain XML

2016-10-13 Thread Martin Kletzander
On Thu, Oct 13, 2016 at 11:49:44AM +0200, Marina Danial wrote: Hello, In my C++ code, I generate my own domain XML file and I use virDomainCreateXML or virDomainDefineXML to launch my qemu VM. However, when I get to check which commands are sent to the qemu commandline, I find that libvirt has

[libvirt-users] Libvirt adds extra parameters in domain XML

2016-10-13 Thread Marina Danial
Hello, In my C++ code, I generate my own domain XML file and I use virDomainCreateXML or virDomainDefineXML to launch my qemu VM. However, when I get to check which commands are sent to the qemu commandline, I find that libvirt has added so many extra parameters to the ones I have already set.