[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Enable IOMMU Inside QEMU
From: |
Peter Xu |
Subject: |
Re: Fwd: Enable IOMMU Inside QEMU |
Date: |
Tue, 6 Oct 2020 16:23:25 -0400 |
On Tue, Oct 06, 2020 at 11:26:08PM +0530, Alok Prasad wrote:
> root@beta-hp-p70:/home/fastlinq/alok/KVM-VM# /usr/bin/qemu-system-x86_64
> --version
> QEMU emulator version 4.2.1
> Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
>
> I am missing here something,? Is there seperate Branch for the same in qemu.
No, it should always be in mainline.
I didn't see anything obviously wrong in your setup. A simplest QEMU cmdline
to boot a guest with vIOMMU should be:
$QEMU -machine q35,kernel-irqchip=split,accel=kvm -smp 4 -m 2G \
-device intel-iommu ~/images/default.qcow2
May worth try this directly. Also feel free to compile the latest QEMU. The
default configuration should work.
--
Peter Xu