
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1200676436 28800 # Node ID 68b0c4f23d9e7a9ee93ce331c288f2a13aab649c # Parent 33713de8e682b9d91ed6fb6b03ab6518830268fd Recognize "qemu" domains as KVM as well Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r 33713de8e682 -r 68b0c4f23d9e libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Fri Jan 18 09:12:49 2008 -0800 +++ b/libxkutil/device_parsing.c Fri Jan 18 09:13:56 2008 -0800 @@ -652,7 +652,8 @@ static int parse_os(struct domain *domin if ((STREQC(dominfo->os_info.fv.type, "hvm")) && (STREQC(dominfo->typestr, "xen"))) dominfo->type = DOMAIN_XENFV; - else if (STREQC(dominfo->typestr, "kvm")) + else if ((STREQC(dominfo->typestr, "kvm")) || + (STREQC(dominfo->typestr, "qemu"))) dominfo->type = DOMAIN_KVM; else if (STREQC(dominfo->os_info.pv.type, "linux")) dominfo->type = DOMAIN_XENPV;