Windows 11 could only run as HVM (regardless of being Standalone, TemplateVM or AppVM). Based on what I have seen in the commit messages and notes, having it as TemplateVM/AppVM is a target.
I have no opinion on the speed of attached devices at this moment, but I will be reviewing the PRs once more next week during writing the weekly newsletter. If I find a clue on it, I will mention it.
Thatâs how the tests above have been made, i.e. installing Windows as a template, installing the brand-new QWT, creating an AppVM from that template and running CrystalDiskMark from the user directories on the Q: drive. The attached screenshot shows, that this drive is visible in that AppVM from Windows Explorer, the Users folder holding, among others, the userâs data.
I have checked now for Windows 10 under Qubes R4.3 and R4.2, as well as for Windows 11 under Qubes R4.2. The results are quite promising, but I will continue testing.
Making the new version of QWT available under Qubes R4.2 should not prove to be too difficult. I tried it in two ways.
Just extracting the file qubes-tools-4.2.0.exe from the ISO located in /usr/lib/qubes/ in Qubes R4.3 and then copying it to a Windows 10 or 11 VM under Qubes R4.2 allows to install QWT there, and, so far, it is working.
Otherwise, the ISO file itself can be copied from R4.3 to R4.2 into the same location, and a symbolic link qubes-windows-tools.iso pointing to it can be created. It works, even if you change the name of the ISO from qubes-windows-tools-4.2.0.1.fc41.iso to qubes-windows-tools-4.2.0.1.fc37.iso. Afterwards, the ISO is mounted in the Windows VM if it is started with --install-windows-tools, just like in the good old times.
So it would be probably enough just to recreate the installation RPM file for dom0.
Thanks for the tests. This still seems not promising though� I wonder why the speed is so poor⌠Does it have anything with qrexec maybe and with its possible limitations?
How does one extract /usr/lib/qubes/qubes-tools-4.2.0.exe from the R4.3 .iso? I burned the QUBES-4-3-202504082200-X86-64.iso to a usb drive (using dd). I can explore that usb drive using xarchiver. I can locate /usr/lib but there doesnât appear to be /usr/lib/qubes in it.
Iâd be up to performing more tests with different hardware, both computers and USB sticks or disks, to compare with mine - I didnât have high expectations, considering these tests were performed on a laptop from 2012, and a pretty worn-out USB stick.
There is probably no QWT yet in the R4.3 Qubes ISO. Youâll have to install this Qubes version and then perform an update of dom0, which will install the QWT ISO /usr/lib/qubes/qubes-windows-tools-4.2.0.fc41.iso. This ISO contains the qubes-tools-4.2.0.exe in its main directory.
Some results on using the new version of Qubes-Windows Tools, tested with Windows 10 22H2 and Windows 11 24H2 in Qubes R4.2.4 and R4.3 Alpha, both with templates and AppVMs and having the qvm-features parameters gui and gui-emulated both set to 1:
QWT can be installed, using the default of enabling all options, including the optional Xen PV drivers.
So far, the full functionality seems to be available, including switching to and from seamless mode.
Switching an AppVM from a Windows 10 to a Windows 11 template or vice versa does not work, because the other Windows version cannot access the users profile and fails to log in.
Changing the screen resolution to some sensible value is necessary after the installation, as the VM changes the initial window size to one using the full screen width. If the VM is shut down in non-seamless mode and then restarted, it comes up with is previously used windows size.
After switching to seamless mode, the window menu may be called by typing the keyboard Windows key. The menu comes up with the correct contents, but its border is wider than the real menu size.
Switching back from seamless to non-seamless mode again sets the window size to the large value and not to the previously used size. In Qubes R4.3, changing the window size now by dragging the window border may result in a partially clobbered (W11) or flickering (W10) window. In this case, the VM becomes unresponsive, can no longer be switched to seamless mode or shut down; it has to be killed.
The Windows device manager shows two inactive devices:
XP0001 XENVIF 0 as a subdevice of the Xen PV network class
XP0001 XENBUS CONS as a subdevice of the Xen PV Bus (0001)
The cause of the inactivity is told as " no compatible drivers for this device were found". But the network is running!
So, again, the new version is much better than the previous one, but not yet complete.
Thatâs probably not going to work, at least not without explicit support for such case (which may involve some startup service adjusting file permissions).
Yeah, Omeg spent quite some time trying to fix that, without success so far. The windows menu is a very weird windowâŚ
Do you have some suggestion what a âsensible valueâ could be? A full screen IMO is not very bad, if only taskbar wouldnât hide outside of the screen due to window being too tall (with default xfce panel being on top).
Not sure about XENVIF one, but CONS one is I think expected to have no driver.
The AppVM contains the files NTUSER.DAT etc., i.e., the registry part HKCU, and if that or something dependent on it is different across Windows versions, then there is little chance to switch AppVMs so easily. On the other hand, just creating a new empty AppVM and then copying the Documents folder and possibly some parts of the AppData folder from the old to the new AppVM might be enough. So I doubt if it is worthwhile to follow this any further.
Tested with W10 on R4.3: Using the drivers from the Xen website, the console driver can be installed and then shows as a working device Xen PV Console #0. The VIF driver fails to install from the device manager, but can be installed manually - but the device manager still claims that there is no driver for this device. What the hell is this?
Many systems, including Windows, come up with an initial screen size of 1024 x 768, which should be o.k. even for ancient notebooks - even those that probably would not be fit for Qubes. So an initial setting of 1024 x 720, which is slightly less than 720p, could be a sensible value, leaving even some space for the Qubes task bar.
Just an idea âŚ
Here are two logs, both from W10 on R4.3, but probably from working resize events: gui-agent-20250411-124544-4136.log (1.5 KB) gui-agent-20250411-124545-4300.log (7.6 KB)
In the case of the resizing after the switching to and from seamless mode, there are also some logs from the gui-agent, but they are all empty. Maybe the agent is dead at that time and can no longer write logs? By the way, at one of these tests, the VM died only after the second resizing after the seamless switch.
I just skimmed through ~30 or so messages in this thread.
Just to verify, having this installed on my QubesOS 4.3 will allow me to qvm-copy files to the Windows 11 HVMâs. is this right? Will it also allow me to plug USB devices to the Windows 11 HVMâs from sys-usb?
Edit: wait, I noticed that I am on QubesOS 4.2.4, so this tool is inaccessible to me?