• D
    Add '-nodefconfig' command line arg to QEMU · f310b253
    Daniel P. Berrange 提交于
    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
    f310b253
qemuxml2argv-serial-file-chardev.args 419 字节