Let me first say, that it does work for Linux guest. It doesn’t work on Windows guest because there is a know bug (/issue) with the default hardware layout – made of i440FX BIOS. VirtManager would not allow us to replace the settings, so we need to create the VM ourselves using XML. You can export your XML settings (of an existing VM) using the command
virsh dumpxml > /tmp/VM_NAME.xml
There are relevant fields there which you might want to save for later, like MAC addresses, network settings, and so on.
You can use this XML file to build your VM anew. Note that you will want to modify the network settings, the name and the UUID. Also – you will need a newer QEMU command (through the package qemu-system-x86), you can find in the Centos updates repository, . It has been providing me with /usr/bin/qemu-system-x86_64 command, which I am using, instead of the default qemu command used by default by VirtManager.
My Windows VM XML file (as a reference you can copy and use) is provided below. Major modifications are required to the hardware settings of the Windows VM – moving from PCI to PCIE, changing from IDE to SATA or VirtIO – and the provided XML gives a good reference of how this file should look like. This was taken from a machine tested to allow USB hot-add/remove via the method provided in my previous post.
This sounds weird, but I have witnessed it today, and had to work rather hard to figure the cause of the problem. When using ” Intel Corporation 82575EB Gigabit Network Connection (rev 02)” (as lspci reports), TCP offload causes problems. Symptoms: The host can communicate with the guest flawlessly (including HTTP get for larger than…
I have had a stressed time, and had no time to actually write down anything here. This is pity, since I have been doing so many things worth sharing. I will start with a small one now – how to convert a physical machine into Xen-based VM. I assume you know the drill of how…
In particular – Oracle UEK, which “claims” to be 2.6.39-xxx, but is actually 3.0.x with a lower version number. Several misbehaviors (or differences) of version 3 can be found. One of them is related to BackupExec. The service would not start on OEL6 with UEK kernels. The cause of it is an incorrect use of…
GRUB2 password protection, secure Ubuntu boot loader, prevent unauthorised boot menu changes, enhance system security. In previous posts in this blog I have explained how to protect the system by disk encryption with a password retrial from the TPM. In another post, I have given some wider overview of system security and protection, but there…
AutoFS is a powerful tool that allows for mount-on-demand functionality in Linux, reducing the chances of any negative effects when rebooting Windows running file services. In this article, we will focus on how to correctly connect AutoFS to a Windows share, without covering advanced features such as dynamic maps or special cases with different mappings….
YUM is a nice (and useful, when used correctly) tool to manage packages, using RPM as its engine. APT, the Debian alternative, has this ability, and so does YUM. YUM does not pin a specific version of a package, but rather avoids upgrading it as soon as it was marked. It remains installed, but never…