]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Don't return unusable virttype in domain capabilities
authorJiri Denemark <jdenemar@redhat.com>
Fri, 25 Nov 2016 19:03:12 +0000 (20:03 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 25 Nov 2016 19:34:26 +0000 (20:34 +0100)
commitcd51b90fbf593090b2c82d767f874aae9aebb74e
tree7452a1a24f8c02059943acebcaa3b5701f6afd68
parent8f55eef24645bd9af17c2386ce7010a3e6f25b6b
qemu: Don't return unusable virttype in domain capabilities

If a user asked for a KVM domain capabilities when KVM is not available,
we would happily return data we got when probing through TCG and
pretended they were relevant for KVM. Let's just report KVM is not
supported to avoid confusion.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_driver.c