n0derunner

    Understanding QEMU devices

    Published: (Updated: ) in Linux Virtualization, , , by . Leave a Comment on Understanding QEMU devices.

    Not sure where I came across this, but it is an excellent description of QEMU (and virtualization in general).  I am very much a fan of this style of technical communication as exemplified in this final summary paragraph (the full article is longer): In summary, even though QEMU was first written as a way of […]

    Effects of CPU topology on sqlserver guests with AHV.

    Published: (Updated: ) in Linux Virtualization, AHV, SQL Server, , , , , by . Leave a Comment on Effects of CPU topology on sqlserver guests with AHV..

    VM CPU Topology The topology (layout) that AHV presents virtual Sockets/CPU to the guest operating system will usually be different than the physical topology. This is expected because we typically present a subset of all cores to the guest VMs. Usually it is the total number of vCPU given to the VM that matters, not […]

    QCOW 3 Ways

    Published: (Updated: ) in Linux Virtualization by . Leave a Comment on QCOW 3 Ways.

    How to mount QCOW images as Linux block devices tl;dr guestmount (requires libguestfs-tools) sudo guestmount -d <vm-name> –ro -i <mountpoint> qemu-nbd (requires the nbd driver) Load the kernel module modprobe nbd max_part=8 Bind the device to the image qemu-nbd –connect=/dev/nbd0 <vmdiskimage.qcow> Assuming partition #1 is the target mount /dev/ndb0p1 /a loopback mount. Requires converting qcow […]

    Create a Linux VM with KVM in 6 easy steps

    Published: (Updated: ) in Linux Virtualization, , , , , by . 5 Comments on Create a Linux VM with KVM in 6 easy steps.

    A Step-by-step guide to creating a Linux virtual machine on a Linux host with KVM,qemu,libvirt and ubuntu cloud images.

    Duplicate IP issues with Linux and virtual machine cloning.

    Published: (Updated: ) in Linux Virtualization, , by .

    TL;DR – Some modern Linux distributions use a newer method of identification which, when combined with DHCP can result in duplicate IP addresses when cloning VMs, even when the VMs have unique MAC addresses. To resolve, do the following ( remove file, run the systemd-machine-id-setup command, reboot): # rm /etc/machine-id # systemd-machine-id-setup # reboot When […]