Download Qemu For Windows 7 64 Bit

0 views
Skip to first unread message

Henoch Holverson

unread,
Aug 5, 2024, 12:54:00 AM8/5/24
to blogerasret
Theowner of this website is Stefan Weil, Kirchenstrae 5, D-68526 Ladenburg.I can be contacted by mail or e-mail (qemu-website at weilnetz dot de).Acknowledgement This website is kindly hosted by netcup GmbHon a vServer VPS 4000 G7 which is based on KVM / QEMU.

I'm trying to install Sketchup 2019 on a Windows 10 VM (Ubuntu 18.04, QEMU 3.1.0), however Sketchup requires OpenGL 3.1 or later in order to run. I had asked a similar question previously hoping by enabling 3D acceleration with Virgl would work, however even though I was able to enable Virgl on the host and have the option to choose 3D acceleration with Virtio, OpenGL is still not on my windows VM. I then instead passed through an MSI GeForce GT 710 Nvidia GPU which works and shows up on the VM, however OpenGL still doesn't exist and Sketchup won't run.


It seems that Windows guest drivers just don't exist, and I've seen talk of Nathan Gaur working on drivers for this a few years ago, but wasn't sure if anything ever came of this or some other way for OpenGL to work on a Windows VM in QEMU KVM. If anyone knows if there are any functioning Windows guest drivers, or a way to get OpenGL working, or any other way to make Sketchup run in this sort of environment, I'd love the insight!


Full credit to this post by Thomas Schwery. You could just follow the instructions there but I will summarize below. This should get you a more recent version of OpenGL (for me that was 3.1) running on a Windows 10 Guest VM. OpenGL 1.1 was actually already running but since it was so old the application I was trying to run didn't recognize it.


There is currently no such thing like OpenGL in Windows guests in Qemu. Rumors to the contrary often stem from QXL forgotten in the configuration, combined with a performance placebo effect1. OpenGL does appear as a menu item in virt-manager, but it works with the virtio-gpu driver in Linux guests only.


This ArchWiki section contains a summary of the current state and links to projects that implemented experimental Windows drivers for virtio GPUs. Unfortunately, the projects are either abandoned or in an early research phase.


Thanks Christian for the feedback. I did try to use spice with GL, but kept getting an error trying to start the VM with it enabled and didn't go down that rabbit hole yet. I had passed through that GPU to my VM and no matter what I tried to do, updating Windows or drivers, trying to delete the other display and video through virt-manager (couldn't seem to delete them all), OpenGL wasn't showing as installed. Maybe if I'd deleted the display and video from the virsh xml file it would have worked, but I decided to start from scratch and got it to work finally so here are the steps I took if anyone else runs into this in the future.


Ubuntu 18.04 with QEMU (I have 3.1.0, would likely be similar with 2.11 or others). There are a few steps needed for Nvidia cards, not sure what would be needed for AMD. This guide is what I mostly mimicked to get everything working including my steps below. This was another one with similar info on Nvidia card setups.


As a note - when I first physically added the GPU, I could no longer access my machine over my network (headless) because adding the GPU changed the network interface which broke my netplan. Could have connected a monitor, but I have an IPMI port on my MB so connected that way and got the new network interface to update netplan.


Start VM and load Windows 10 - on first startup it dropped me straight to the UEFI shell which I had to exit out of and took me to the BIOS where I could go to the boot menu and choose the Win10 iso I'd attached as a CD over SATA to boot from.


I usually use remote desktop for Windows VM's but I still wanted to try to have the ability to connect from virt-manager, so after it was all working, I did go back and add a VNC display and Virtio video to the VM so I can connect and interact through virt-manager or the like. This only seems to work if the Nvidia monitor is physically disconnected, otherwise I get a "guest has not initialize the display (yet)" which I'm sure there is a solution for, but I don't plan on having a monitor connected anyway so I have not investigated that.


To "install" this version as a non-admin, open a command prompt, issue the command set __COMPAT_LAYER=RunAsInvoker and run qemu-w64-setup-20170131.exe from that prompt. Install in a folder where you have write permissions, like "My Documents" or something.


I added a local portforward : if you ssh/putty to localhost:2222, you will reach the SSH daemon of your VM. Beware that firewalld or iptables might block traffic, depending on the way you installed Linux.


In case other people have the same issue I had to setup the cpu to be a core2duo during the windows 10 installation process. After the windows installation, switching back to host-passthrough with the options kvm ignore_msrs=1 on /etc/modprobe.d/kvm.conf worked fine.


You can remove the msrs stuff from the kvm.conf.

Latest libvirt (4.7.0 as of this moment as I see it on Fedora 29) fixes the problem and the Windows 1803 and 1809 installation works perfectly OK.

So check your version of libvirt* and upgrade it if necessary.


VM is fine , just change you windows os version. some windows os version get this error. Me 27x time try and i found this easy way. Same setting just different Os version And must your cpu configuration host-passthrough


Is it safe to remove the QEMU Guest Agent? Will I lose the ability to send commands to the VM via virsh if I do? Any explicit problems with leaving both intact (it all seems to be working fine right now)?


"QEMU Guest Agent" is one specific component of the 'virtio-win' set of drivers offered by RedHat. For a list of all components, check -docs/en-US/creating-windows-virtual-machines-using-virtio-drivers.html#virtio-win-iso-contents. These components are not installed all at once as part of a package; instead, the user is expected to manually install what is needed for their particular case.


This is different from the SPICE agent: according to the download page you linked ( -space.org/download.html) and also the source repository ( -nsis), this one includes the qxl video driver and the vioserial (VirtIO serial driver). The latter is a dependency, as the agent communicates with the host through a VirtIO serial channel. The former may be just convenience, or may be needed for automatic resolution switching - I don't know for sure.


So, even though the 'SPICE guest tools' installer for Windows includes some of the virtualization drivers for Windows offered by RedHat, the qemu guest agent itself is not part of the package, and is also not related.


Once installed, it runs as a Windows service (you can find it in services.msc) and should start automatically. It enables better integration between guest and the hypervisor through a virtio-serial channel (like SPICE) but for management purposes.


I installed Windows 98 in QEMU. I want to run networking in user mode. I start it with qemu-system-i386 win98.img -m 256 -soundhw sb16 so it should be using default network hardware and probably working. In Network adapters section of Device manager I see only "Telephone adapter" (not sure about translation), no other NIC. I think that's the problem, anyway here are other details: I tried setting the IP address manually to 10.0.2.16, nothing changed in output of ipconfig /all. ping 10.0.2.2 reports destination host unreachable. ipconfig /all reports only one interface, Ethernet adapter, its description is "PPP Adapter".


Windows 98 likely can't detect the Plug&Play BIOS. To work around this, configure your windows for direct hardware access. To do so, go to Device Manager, locate the Plug&Play Bios with the yellow exclamation mark, Properties, Update Driver, Select Location, List all Devices, then select "PCI Bus".


I've installed QEMU/KVM to use Windows 11 in a virtual machine. I specifically followed this guide, and utilized the virt-manager to set it up. The i440fx chipset wouldn't work due to some pci vs pcie issues, so I stuck with the Q35 chipset.


Microsoft announced Windows 11 recently, and it is the cleanest and more polished version of windows out there. On October 5th, 2021, Microsoft announced the Windows 11 iso image to the public. In this blog will look at installing Windows 11 on the...


However, I keep running into this issue where upon starting it up through virt-manager, I run into a BSOD, where it states a system_thread_exception_not_handled had occured. On top of this, I noticed that under the OS information, that:


I usually use the windows vm machine as a jump server inside my labs, that way I can move around the files and stuff quickly, sometimes I install the windows machine on the ESXi host else I would install it on the KVM. For some, they wanted to use...


I'm not sure if it's necessarily a Windows/Microsoft issue, as I feel that there maybe something within Fedora that's preventing the virtual machine from booting up correctly. On top of this, there are videos of Windows working correctly as a guest. Do you know if there's anything wrong with the instructions I initially linked, or if there is a setting that I'm possibly missing in either Windows 10 or 11?


I'm trying to set up a virtualized windows installation with qemu, using VGA passthrough, so I could ditch my dedicated windows partition, and generally have an easier life. I have followed the instructions on the arch wiki:


I have used vfio-pci, instead of the old pci-stub method. I'm not using the intel arbiter patch, because if I understand it correctly, that is supposed to be used when you are passing in the same vga that you are using on the host (which is not the case for me).


I have read in the wiki's troubleshooting section that if this happens, make sure you have a valid boot media. Ok, so I tried getting the arch linux installer, and booting that, but that gives me the exact same result, so I'm assuming the problem lies elsewhere.


No looks good to me. Tho I don't know if it will use the second flash image for efi vars or not, I copied the full uefi image (from ovmf-git from the aur) to the VM dir and have it writeable.

The -boot flags are ignored if you don't use the BIOS.

3a8082e126
Reply all
Reply to author
Forward
0 new messages