Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10/11 HVMs with Xen PV drivers installed are unbootable, and installation crashes the VM #9182

Open
jcoscia opened this issue May 1, 2024 · 1 comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: windows-tools C: windows-vm needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@jcoscia
Copy link

jcoscia commented May 1, 2024

Qubes OS release

Qubes OS 4.2.1
QWT 4.1.69

Brief summary

After upgrading from Qubes 4.1.2 to 4.2.1 (clean install), I found that installing the Xen PV drivers in a Windows 10 or 11 HVM using QWT or the (proprietary?) XenServer VM Tools causes the VM to crash upon installation, and become unbootable. The boot process will hang on the Windows logo, so no error message or BSOD. This occurs both on VMs restored from backup, and new VMs created in 4.2.1.

Restoring to an earlier System Restore point makes the VM bootable again, presumably by removing the drivers. Installing the Qubes Core Agent without the Xen PV drivers does not break the system.

Installing the Xen PV drivers from https://xenbits.xen.org/pvdrivers/win/ doesn't work; the install fails for no discernible reason, but also with no adverse effects. This may or may not be a separate issue.

Steps to reproduce

  1. Install Windows 10/11 in an HVM.
  2. Install QWT, and select the Xen PV drivers. Alternatively, install the XenServer VM Tools
  3. The VM becomes unresponsive and crashes.
  4. Reboot, and observe the system hanging on the Windows logo.

Expected behavior

Installing the Windows PV drivers via QWT does not break the system, and the drivers are functional.

Actual behavior

Installing the Windows PV drivers via QWT crashes the system and renders it unbootable, until the change is reverted.

@jcoscia jcoscia added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels May 1, 2024
@andrewdavidwong andrewdavidwong added C: windows-tools C: windows-vm needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. labels May 1, 2024
@andrewdavidwong
Copy link
Member

Possible duplicate of #1861 (and partially #9102).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: windows-tools C: windows-vm needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants