]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
PowerPC : Forbid NULL CPU model with 'host-model' mode.
authorPrerna Saxena <prerna@linux.vnet.ibm.com>
Sun, 15 Feb 2015 04:24:15 +0000 (09:54 +0530)
committerJán Tomko <jtomko@redhat.com>
Tue, 17 Feb 2015 11:20:40 +0000 (12:20 +0100)
commit5e4f49ab8aa2dc7e71b8482e2f15f2a7de1c1006
treebd5b57204d33d5b3eb5f1e58a4399a465382a77b
parentbdbe723fcd8b55678b0ad984134f7b79d6fbeb89
PowerPC : Forbid NULL CPU model with 'host-model' mode.

PowerPC : Forbid NULL CPU model with 'host-model' mode in qemu command line.

This ensures that an XML such as following:
...
  <cpu mode='host-model'>
    <model fallback='allow'/>
  </cpu>
...

will not generate a '-cpu host,compat=(null)' command line with qemu-system-ppc64.

Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com>
src/qemu/qemu_command.c