On Thu, Sep 10, 2009 at 12:35:18PM +0100, Mark McLoughlin wrote:
* tests/testutilsqemu.c: add a machine types list for /usr/bin/kvm
which doesn't have any aliases, while the guest has aliases
* tests/qemuxml2argvdata/qemuxml2argv-machine-aliases2.*,
tests/qemuxml2argvtest.c: add a test using /usr/bin/kvm and make
sure that 'pc' machine type doesn't get canonicalized using the
aliases in the guest machine type list
---
.../qemuxml2argv-machine-aliases2.args | 1 +
.../qemuxml2argv-machine-aliases2.xml | 22 ++++++++++++++++++++
tests/qemuxml2argvtest.c | 1 +
tests/testutilsqemu.c | 9 ++++++-
4 files changed, 31 insertions(+), 2 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-machine-aliases2.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-machine-aliases2.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/