Re: [PATCH] x86/vmware: Fix hypercall clobbers

From: Paolo Bonzini

Date: Thu Feb 12 2026 - 09:57:51 EST


On 2/7/26 00:08, Linus Torvalds wrote:
On Fri, 6 Feb 2026 at 14:38, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

I'm going to change that commit message to make it clear that it's a
QEMU bug, plain and simple. There's no point in claiming this fixes a
kernel bug when it's a pure workaround for a bug elsewhere.

I have created an issue at gitlab:

https://gitlab.com/qemu-project/qemu/-/issues/3293

and hopefully this will get fixed in QEMU at some point.

Adding Paolo to the participants, since he presumably knows what to do
with qemu, since he touched that qemu file a couple of months ago.

Thanks, I have queued the patch; I will send a pull request next week and also submit an update to Fedora earlier than that.

Sorry about the delay, I was a bit busy with something called the "merge window"... you might have heard of it. :)

Paolo

(The fix looks trivial, as suggested by Alexey: just change the
"uint32_t data[6];" to use target_ulong instead of uint32_t, but
somebody needs to test it and maybe qemu has other rules for register
types)

Linus