regressions.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Zack Rusin <zackr@vmware.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: "dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>,
	Linux-graphics-maintainer <Linux-graphics-maintainer@vmware.com>
Subject: Re: 5.18 vmwgfx seems to break booting VirtualBox VMs
Date: Tue, 10 May 2022 00:12:42 +0000	[thread overview]
Message-ID: <41AD6A60-9C2C-4545-8A62-114B07C0383F@vmware.com> (raw)
In-Reply-To: <087a0754-422c-0d88-a5ed-c03f2b5906c2@redhat.com>



> On May 9, 2022, at 6:57 AM, Hans de Goede <hdegoede@redhat.com> wrote:
> 
> Hi Zack,
> 
> On 4/11/22 16:24, Zack Rusin wrote:
>> On Mon, 2022-04-11 at 10:52 +0200, Hans de Goede wrote:
>>> Hi All,
>>> 
>>> Fedora has received a bug report here:
>>> 
>>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D2072556&amp;data=05%7C01%7Czackr%40vmware.com%7C89c5a1adfffd434f102c08da31aaabcc%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637876906347789531%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=L3rfwX0R0XXgEJbI88kY%2B7SrIqyJtuC7VLcN97NUSuk%3D&amp;reserved=0
>>> 
>>> That Fedora rawhide VMs no longer boot under the VirtualBox
>>> hypervisor
>>> after the VM has been updated to a 5.18-rc# kernel.
>>> 
>>> Switching the emulated GPU from vmwaregfx to VirtualBoxSVGA fixes
>>> this, so this seems to be a vmwgfx driver regression.
>>> 
>>> Note I've not investigated/reproduced this myself due to -ENOTIME.
>> 
>> Thanks for letting us know. Unfortunately we do not support vmwgfx on
>> VirtualBox. I'd be happy to review patches related to this, but it's
>> very unlikely we'd have to time to look at this ourselves.
> 
> I somewhat understand where you are coming from, but this is not
> how the kernels "no regressions" policy works. For the end user
> a regression is a regression and as maintainers we are supposed
> to make sure any regressions noticed are fixed before a new
> kernel hits end user's systems.

I think there’s a misunderstanding here - the vmwgfx driver never supported VirtualBox. VirtualBox implementation of the svga device lacks a bunch of features, vmwgfx has been put on denylists before due to bugs in VirtualBox implementation of it, we just didn’t feel like playing games like having the driver query the hypervisor “are you really from VMware?” and refuse to load.

In this case it’s their lack of mksStats interfaces that’s the issue.  We can’t stop development of vmwgfx because our competitor was trying to reuse our work and didn’t implement the features we have. vmwgfx patches are now months ahead on drm-misc-next which should give anyone working on that device in VirtualBox plenty of time to fix it. I’m happy to spend my spare time reviewing patches that would make it work but it’s just not reasonable to expect anyone to spend their time in the office working on a directly competing product.

> At a minimum it would have been good if you had tried to at least
> reproduce this bug by installing Fedora rawhide inside an actual
> vmware VM. I've just spend a couple of hours debugging this and
> the bug definitely impacts vmware VMs too; and thus very likely
> also reproduces there.

We’re always running Fedora, it should always just work on vmwgfx.

> I've a patch fixing this, which I will send out right after this
> email.

That looks like a back porting issue. drm-misc/drm-misc-next is continuously tested on Fedora with vmwgfx so any breaks should never last more than a day. I’ll back port some patches tomorrow when drm-misc-next-fixes opens (because it’s after rc6). I’m sorry you had to deal with this, just send me an email next time, I should always have a pretty good handle on any issues with Fedora with latest vmwgfx.

z

  reply	other threads:[~2022-05-10  0:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11  8:52 5.18 vmwgfx seems to break booting VirtualBox VMs Hans de Goede
2022-04-11 14:24 ` Zack Rusin
2022-05-09 10:57   ` Hans de Goede
2022-05-10  0:12     ` Zack Rusin [this message]
2022-05-10 11:06       ` Thorsten Leemhuis
2022-05-10 12:26         ` Zack Rusin
2022-05-10 12:44           ` Thorsten Leemhuis
2022-05-10 13:30             ` Zack Rusin
2022-05-10 13:49               ` Thorsten Leemhuis
2022-05-10 13:57                 ` Zack Rusin
2022-05-10 15:34 ` 5.18 vmwgfx seems to break booting VirtualBox VMs #forregzbot Thorsten Leemhuis
2022-05-14  3:45   ` Thorsten Leemhuis

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=41AD6A60-9C2C-4545-8A62-114B07C0383F@vmware.com \
    --to=zackr@vmware.com \
    --cc=Linux-graphics-maintainer@vmware.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hdegoede@redhat.com \
    --cc=regressions@lists.linux.dev \
    /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).