qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: Alok Prasad <prasadalok77@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: Fwd: Enable IOMMU Inside QEMU
Date: Tue, 6 Oct 2020 16:23:25 -0400	[thread overview]
Message-ID: <20201006202325.GB6026@xz-x1> (raw)
In-Reply-To: <CAJPzGv0bFatmLJ_dy83KgZbyMS5zM0_pAqTynkSAHXNUST_JHg@mail.gmail.com>

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



  reply	other threads:[~2020-10-06 20:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJPzGv1Vd1V2a_7n2GW4RBUDgpsdyAH-8NMvW+368gigtYWd0g@mail.gmail.com>
2020-10-06 17:56 ` Fwd: Enable IOMMU Inside QEMU Alok Prasad
2020-10-06 20:23   ` Peter Xu [this message]
2020-10-07 11:20     ` Alok Prasad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201006202325.GB6026@xz-x1 \
    --to=peterx@redhat.com \
    --cc=prasadalok77@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).