virt:qemu
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| virt:qemu [2010/08/02 13:35] – created - external edit 127.0.0.1 | virt:qemu [2025/11/18 15:37] (current) – phil | ||
|---|---|---|---|
| Line 37: | Line 37: | ||
| As usual, Windows needs some drivers first. Best get the ISO | As usual, Windows needs some drivers first. Best get the ISO | ||
| - | [[http://blog.famzah.net/2010/01/09/kvm-qemu-virtio-storage-and-network-drivers-for-32-bit64-bit-windows-7-windows-vista-windows-xp-and-windows-2000/ | + | [[https://github.com/virtio-win/kvm-guest-drivers-windows/ |
| or the original ZIP files | or the original ZIP files | ||
| [[http:// | [[http:// | ||
| Line 54: | Line 54: | ||
| -drive file=/ | -drive file=/ | ||
| -net nic, | -net nic, | ||
| + | |||
| + | ===== Hiding the Hypervisor ===== | ||
| + | |||
| + | To avoid " | ||
| + | virtualized host, some extra measures are advisable to make the VM unaware of | ||
| + | itself. Basically found the instructions | ||
| + | [[https:// | ||
| + | |||
| + | * Make sure to not use " | ||
| + | |||
| + | For the remaining two, edit the VM's XML (``virsh edit < | ||
| + | |||
| + | * Inside the ''< | ||
| + | |||
| + | <feature policy=' | ||
| + | |||
| + | * Inside the ''< | ||
| + | |||
| + | <kvm> | ||
| + | <hidden state=' | ||
| + | </ | ||
| + | |||
| + | If everything went well, Task Manager' | ||
| + | '' | ||
| + | |||
| + | ===== Sharing Directories with Windows Guests ===== | ||
| + | |||
| + | Using a network filesystem or hacks like sshfs works but feels clumsy. With | ||
| + | [[https:// | ||
| + | solution. Tested in libvirt only for now: | ||
| + | |||
| + | In virt-manager, | ||
| + | |||
| + | In the Windows VM, install [[https:// | ||
| + | C:\> sc start VirtioFsSvc | ||
| + | The shared directories appear with drive letters Z: and downwards. This might need another call to become persistent upon reboots: | ||
| + | C:\> sc config VirtioFsSvc start=auto | ||
| + | |||
virt/qemu.1280756111.txt.gz · Last modified: by 127.0.0.1
