qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Igor Mammedov <imammedo@redhat.com>
Cc: Sandesh Patel <sandesh.patel@nutanix.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	paul <paul@xen.org>, Rob Scheepens <rob.scheepens@nutanix.com>,
	Prerna Saxena <confluence@nutanix.com>,
	 Alexander Graf <agraf@csgraf.de>
Subject: Re: More than 255 vcpus Windows VM setup without viommu ?
Date: Wed, 02 Oct 2024 16:30:41 +0100	[thread overview]
Message-ID: <61419dffa5f709689edfbb93e2633b250a79a940.camel@infradead.org> (raw)
In-Reply-To: <20241002133322.18a4f1fa@imammedo.users.ipa.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]

On Wed, 2024-10-02 at 13:33 +0200, Igor Mammedov wrote:
> 
> It's interesting as an experiment, to prove that Windows is riddled with bugs.
> (well, and it could serve as starting point to report issue to MS)
> But I'd rather Microsoft fix bugs on their side, instead of putting hacks in
> QEMU.

Absolutely. I would very prefer Microsoft to fix the bugs, and to
support the 15-bit destination ID enlightenment that KVM, Xen and even
Hyper-V all define — instead of randomly putting high bits into the
address which ought to cause it to miss the APIC and scribble over
memory.

The 15-bit extension supports I/O APIC and HPET interrupts too.

But I'd like to at least understand the current behaviour and whether
there's anything we can do to work around it.

> PS:
> Given it's AMD cpu, I doubt very much that using intel_iommu would be
> accepted by Microsoft as valid complaint though.

Well, that argument only makes a little bit more sense than refusing to
support an Intel NIC with an AMD CPU. The IOMMU just isn't that tied to
the CPU ID.

But hey, it's Microsoft. However egregious their deviations from both
standards and from common sense, they usually like to claim it's
"Working as Designed".

But to actually *initialise* the Intel IOMMU and put it into remapping
mode, and then to send MSIs formatted for an AMD IOMMU which wasn't
actually present in the system, would be a new low even for Microsoft.

At *best* they could make a tenuous argument for not supporting the
Intel NIC (sorry, I mean the Intel IOMMU) at *all* when running on an
AMD CPU.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5965 bytes --]

  reply	other threads:[~2024-10-02 15:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02  5:17 More than 255 vcpus Windows VM setup without viommu ? Sandesh Patel
2024-07-02  9:04 ` David Woodhouse
2024-07-03 16:01   ` Sandesh Patel
2024-07-08  9:13     ` David Woodhouse
2024-07-11  7:26       ` David Woodhouse
2024-07-11 11:23         ` David Woodhouse
2024-07-11 11:52           ` Sandesh Patel
2024-07-16  5:13             ` Sandesh Patel
2024-07-24  9:22               ` David Woodhouse
2024-08-01 10:28         ` Sandesh Patel
2024-09-28 14:59 ` David Woodhouse
2024-09-30 15:50   ` David Woodhouse
2024-10-02 11:33     ` Igor Mammedov
2024-10-02 15:30       ` David Woodhouse [this message]
2024-10-01 13:33   ` Daniel P. Berrangé
2024-10-01 16:37     ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2024-07-02  7:20 Sandesh Patel

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=61419dffa5f709689edfbb93e2633b250a79a940.camel@infradead.org \
    --to=dwmw2@infradead.org \
    --cc=agraf@csgraf.de \
    --cc=confluence@nutanix.com \
    --cc=imammedo@redhat.com \
    --cc=paul@xen.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rob.scheepens@nutanix.com \
    --cc=sandesh.patel@nutanix.com \
    /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).