search for: qemucommand

Displaying 20 results from an estimated 31 matches for "qemucommand".

2015 May 18
2
Re: xl extra parameters equivalent for libvirt
...meters using libvirt? > > I'm not aware of similar functionality in libvirt. You would need to > customize the domXML before feeding it to 'virsh create'. Qemu domains have that ability, via an XML namespace that adds <qemu:commandline>: http://libvirt.org/drvqemu.html#qemucommand but no one has yet implemented that for Xen domains. If you want to add it, the src/qemu code would be the obvious starting point to copy from. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
2018 Jun 05
3
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
...ture 'true' >> by default as i am using libvirt to start the VMs. >> Is there a way to pass the newly added feature bit 'standby' to qemu >> via libvirt >> XML file? >> Maybe you can try qemu command line passthrough: https://libvirt.org/drvqemu.html#qemucommand The patch looks good to me. Let's see if Michael have any comment. Thanks >> Signed-off-by: Sridhar Samudrala <sridhar.samudrala at intel.com> >> --- >> ? hw/net/virtio-net.c???????????????????????? | 2 ++ >> ? include/standard-headers/linux/virtio_net.h | 3 +++...
2018 Jun 05
3
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
...ture 'true' >> by default as i am using libvirt to start the VMs. >> Is there a way to pass the newly added feature bit 'standby' to qemu >> via libvirt >> XML file? >> Maybe you can try qemu command line passthrough: https://libvirt.org/drvqemu.html#qemucommand The patch looks good to me. Let's see if Michael have any comment. Thanks >> Signed-off-by: Sridhar Samudrala <sridhar.samudrala at intel.com> >> --- >> ? hw/net/virtio-net.c???????????????????????? | 2 ++ >> ? include/standard-headers/linux/virtio_net.h | 3 +++...
2019 Oct 23
2
Re: Reg: Adding "edu" device using XML file
...p://libvirt.org/schemas/domain/qemu/1.0 > '> > ... > <qemu:commandline> > <qemu:arg value='-device'/> > <qemu:arg value='edu'/> > </qemu:commandline> > </domain> > > More reference: https://libvirt.org/drvqemu.html#qemucommand > >> >> > -- >> Regards, >> Bharath >> _______________________________________________ >> libvirt-users mailing list >> libvirt-users@redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-users > > > > -- > Best regards, &...
2014 Mar 31
2
Passing non-standard Options through Libvirt to QEMU
Hello, I have a custom QEMU which requires some non-standard command line arguments to launch a VM. e.g., "--proc-type=secondary" option is always required to launch a QEMU VM. To launch the VM through libvirt (virsh) "How do I specify these non-standard options in XML? OR if thats not possible ,Can you guide me at which point (code file) libvirt converts the XML to QEMU command
2019 Oct 22
2
Reg: Adding "edu" device using XML file
Hi Team, I am exploring "edu" device in QEMU to add my own custom device. I am able to add the device using the command line. Would it be possible to add the device using XML file through libvirt? -- Regards, Bharath
2016 Jan 26
2
Re: starting a domain only when you have enough resources
...can passthrough > it onto qemu commandline [1] or use locked memoryBacking [2]. I advocate > for the latter though. Not only it will allocate all the memory at qemu > startup it will also lock it so it won't get swapped off. > > Michal > > 1: http://libvirt.org/drvqemu.html#qemucommand > 2: http://libvirt.org/formatdomain.html#elementsMemoryBacking > I tried memoryBacking: I added this to the domain xml: <memoryBacking> <locked/> </memoryBacking> And got an error when attempting to start the vm: memory locking no supported by QEMU binary. Aside from t...
2015 Apr 21
1
Re: <qemu:commandline> domain XML tag is not working?
...;qemu:commandline> > > <qemu:arg value='-set'/> > > <qemu:arg value='device.drive-virtio-disk0.x-data-plane=on'/> > > </qemu:commandline> > > Did you also remember to declare the namespace? Per > http://libvirt.org/drvqemu.html#qemucommand > > it is essential to have something like: > > <domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0 > '> > > before any other <qemu:...> will be recognized. (The namespace does not > have to be named 'qemu:', but it...
2016 Jan 26
2
starting a domain only when you have enough resources
Hi all, I am running KVM on a 3.18 kernel. The system runs and Atom processor with 2Gb RAM. Using KVM you obviously can over allocate your resources: say you have 4 guests each configured with 1GB ram. Running all four at the same time, depending on the workload, can crash the system - I get a kernel trace when this happens. But let's consider a simpler case: one guest with 1.5 Gb RAM,
2015 Apr 20
4
<qemu:commandline> domain XML tag is not working?
Hi, I tried to enable virtio-blk data plane feature for VMs in my openstack environment, the hypervisor is ubuntu 14.04, libvirt 1.2.2 and QEMU 2.0. As nova doesn't support that parameter yet, I did belows 1. nova boot a VM with raw disk image. 2. nova stop the VM. 3. run "virsh edit <instance-id>" on the hyprvisor node, and adding below into instance xml just before
2016 Jan 26
2
Re: starting a domain only when you have enough resources
...se locked memoryBacking [2]. I advocate > >> for the latter though. Not only it will allocate all the memory at qemu > >> startup it will also lock it so it won't get swapped off. > >> > >> Michal > >> > >> 1: http://libvirt.org/drvqemu.html#qemucommand > >> 2: http://libvirt.org/formatdomain.html#elementsMemoryBacking > >> > > > > I tried memoryBacking: I added this to the domain xml: > > <memoryBacking> > > <locked/> > > </memoryBacking> > > > > And got an error when...
2015 Apr 20
0
Re: <qemu:commandline> domain XML tag is not working?
...d by libvirt. > > <qemu:commandline> > <qemu:arg value='-set'/> > <qemu:arg value='device.drive-virtio-disk0.x-data-plane=on'/> > </qemu:commandline> Did you also remember to declare the namespace? Per http://libvirt.org/drvqemu.html#qemucommand it is essential to have something like: <domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> before any other <qemu:...> will be recognized. (The namespace does not have to be named 'qemu:', but it makes it easier to stick to the namin...
2015 May 18
2
xl extra parameters equivalent for libvirt
hi, I use xl toolstack to manage vms on a Xen machine, and also pass some custom parameters when creating a vm, for example: xl create vm.cfg ' param="xyz" ' I am moving to libvirt for vm management. How I can pass those extra parameters using libvirt? Thanks.
2016 Jan 26
0
Re: starting a domain only when you have enough resources
...e, use -mem-prealloc. Either you can passthrough it onto qemu commandline [1] or use locked memoryBacking [2]. I advocate for the latter though. Not only it will allocate all the memory at qemu startup it will also lock it so it won't get swapped off. Michal 1: http://libvirt.org/drvqemu.html#qemucommand 2: http://libvirt.org/formatdomain.html#elementsMemoryBacking
2019 Oct 23
0
Re: Reg: Adding "edu" device using XML file
...omain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> ... <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='edu'/> </qemu:commandline> </domain> More reference: https://libvirt.org/drvqemu.html#qemucommand > > -- > Regards, > Bharath > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users -- Best regards, ----------------------------------- Han Han Quality Engineer R...
2019 Oct 24
0
Re: Reg: Adding "edu" device using XML file
...main/qemu/1.0'> >> ... >> <qemu:commandline> >> <qemu:arg value='-device'/> >> <qemu:arg value='edu'/> >> </qemu:commandline> >> </domain> >> >> More reference: https://libvirt.org/drvqemu.html#qemucommand >> >>> >>> >> -- >>> Regards, >>> Bharath >>> _______________________________________________ >>> libvirt-users mailing list >>> libvirt-users@redhat.com >>> https://www.redhat.com/mailman/listinfo/libvirt-users &gt...
2020 Aug 21
0
Re: Conflicting parameters on qemu call
...y, so nothing is required in libvirt. > > > Hi Daniel, > Thanks for the answer. I’ve read (and understand) the warnings and their implications. > > So there’s not even an “I know what I’m Doing”-Switch? You could use command line passthrough https://libvirt.org/drvqemu.html#qemucommand <qemu:commandline> <qemu:arg value='-accel'/> <qemu:arg value='tcg,thread=multi'/> </qemu:commandline> This marks the guest tainted as we consider command line passthrough unsupported, but your use of multi-threaded TCG in QEMU is already unsupp...
2016 Sep 26
2
How to enable the svm cpu flag inside a vm?
On 25 September 2016 at 17:57, Leonard den Ottolander >> > >> Nested Virtualization will be a tech preview in RHEL 7.3 Beta, and so >> it'll be available after RHEL 7.3 is released and CentOS rebuilds it. > Officially its gonna be tech-preview in 7.3, but I can tell you we've been successfully using it for testing oVirt since 7.1... (For el7 on top of el7, see [1]
2013 Jan 04
1
Regarding Ivshmem support
Hi, I am using virsh 0.9.8 My qemu is 1.0 version. I would like to use Ivshmem device from virsh command line. It is possible to use ivshmem device from qemu command line.But its not working if I am giving -device ivshmem device in xml config file. Does virsh support ivshmem device.?? -- Mrugani Kurtadikar Btech IT College of Engineering, Pune. -------------- next part -------------- An HTML
2013 Jan 04
1
Regarding the support of libvirt for shared memory
Hello All, I want to use shared memory , but in virsh I am unable to provide the necessary options for use of shared memory. I want to have some scripts so that they can be included in the xml file so that each time the need is of shared memory , it can be directly used from there only. Thanks and Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: