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.
I encountered an intriguing issue recently after replacing my motherboard. Some block devices underwent a change in their order, causing /dev/sda to appear as /dev/sdy due to a modification in the PCI-e enumeration. This change, though seemingly insignificant, led to an unexpected consequence. Since the disk was subject to a specific mdadm filter, its altered…
I was missing some bleeding-edge packages, and while I was able to find the RPM packages, I was unable to find the repo path. So, thanks to this post, I was able to use it. This will probably break my Linux, so I will use it in a test environment first.The repo file would look…
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…
Following my experience with OracleVM, I am adding my post-install steps for your pleasure. These steps are not mandatory, by design, but will help you get up and running faster and easier. These steps are relevant to Oracle VM 2.2, but might work for older (and newer) versions as well. Define bonding You should read…
Most documentation on the net is about how to run a cluster-in-a-box under Vmware. Very few seem to care about protecting Vmware guests under real RedHat cluster with a shared storage. This article is just about it. While I would not recommend using Vmware in such a setup, it has been the case, and that…
I was required to write a small listener. This listener doesn’t have to do anything fancy – it has to process input from a network source (over TCP) and shove it into a file with random name. The quick and dirty solution is to use netcat (nc). A short command such as this would do…