]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Test that domain-specific qemu machine types are used correctly
authorMark McLoughlin <markmc@redhat.com>
Thu, 10 Sep 2009 10:22:32 +0000 (11:22 +0100)
committerMark McLoughlin <markmc@redhat.com>
Thu, 10 Sep 2009 11:37:43 +0000 (12:37 +0100)
commite52d608ddf56d3334c15ff9f6b6289e2b86ca053
tree31ad81b578874997a9b20e2d1b173bcc3cb9d469
parent6ab16aaf6395f270ddba2cc0d4d25038e203cab7
Test that domain-specific qemu machine types are used correctly

* 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
tests/qemuxml2argvdata/qemuxml2argv-machine-aliases2.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-machine-aliases2.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/testutilsqemu.c