Re: [PATCH] Add -nodefconfig to the QEMU argv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/10/2010 12:19 PM, Daniel P. Berrange wrote:
> We already use the '-nodefaults' command line arg with QEMU to stop
> it adding any default devices to guests. Unfortunately, QEMU will
> load global config files from /etc/qemu that may also add default
> devices. These aren't blocked by '-nodefaults', so we need to also
> add the '-nodefconfig' arg to prevent that.
> 
> Unfortunately these global config files are also used to define
> custom CPU models. So in blocking global hardware device addition
> we also block definitions of new CPU models. Libvirt doesn't know
> about these custom CPU models though, so it would never make use
> of them anyway. Thus blocking them via -nodefconfig isn't a show
> stopping problem. We would need to expand libvirt's own CPU model
> XML database to support these instead.
> 
> * src/qemu/qemu_conf.c: Add '-nodefconfig' if available
> * tests/qemuxml2argvdata/: Add '-nodefconfig' to all data files which
>   have '-nodefaults' present

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]