On Fri, Jan 08, 2010 at 05:23:28PM +0000, Daniel P. Berrange wrote:
QEMU always configures a VGA card. If no video card is included in
the libvirt XML, it is neccessary to explicitly turn off the default
using -vga none
* src/qemu/qemu_conf.c: Pass -vga none if no video card is configured
* tests/qemuargv2xmltest.c, tests/qemuxml2argvtest.c: Test for
handling -vga none.
* tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.args,
tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.xml: Test
data files
---
src/qemu/qemu_conf.c | 25 +++++++++++++------
tests/qemuargv2xmltest.c | 1 +
.../qemuxml2argv-nographics-vga.args | 1 +
.../qemuxml2argv-nographics-vga.xml | 24 +++++++++++++++++++
tests/qemuxml2argvtest.c | 1 +
5 files changed, 44 insertions(+), 8 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-nographics-vga.xml
ACK,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/