Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit dca5a4d

Browse files
committed
virt-install: Don't print 'No KVM' warning if qemu requested
1 parent 7a18271 commit dca5a4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

virt-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ def get_virt_type(conn, options):
235235

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

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

278277
if (not req_virt_type and
278+
not req_hv_type and
279279
req_accel and
280280
_util.is_qemu(conn) and
281281
capsguest.arch in ["i686", "x86_64"] and

0 commit comments

Comments
 (0)