Skip to content

Commit

Permalink
virt-install: Don't print 'No KVM' warning if qemu requested
Browse files Browse the repository at this point in the history
  • Loading branch information
crobinso committed Mar 16, 2013
1 parent 7a18271 commit dca5a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virt-install
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ def get_virt_type(conn, options):

capabilities = virtinst.CapabilitiesParser.parse(conn.getCapabilities())

# Accelerate request is now the default
req_accel = True
req_hv_type = options.hv_type and options.hv_type.lower() or None
if options.fullvirt:
Expand Down Expand Up @@ -276,6 +275,7 @@ def get_virt_type(conn, options):
fail(e)

if (not req_virt_type and
not req_hv_type and
req_accel and
_util.is_qemu(conn) and
capsguest.arch in ["i686", "x86_64"] and
Expand Down

0 comments on commit dca5a4d

Please sign in to comment.