Tag Info

Hot answers tagged

2

Prepare a template VM, modify it with a tool like snf-image-creator to install the virtio drivers and sysprep, and clone it: sudo snf-mkimage -f --print-metadata --disable-sysprep=shrink --print-syspreps --install-virtio=/mnt/loop/win8/amd64 -o win2012-out.img win2012-template.img If you want to create each image from scratch, you can slipstream the ...


2

To grant permanent access to the raw USB device nodes to the user the hypervisor runs as, you need to create an udev rule; the chown-based answer will only work until the next reboot. In /lib/udev/rules.d, create a file like 51-usb_passthrough.rules : SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{busnum}=="2" ATTRS{devpath}=="1" GROUP="kvm" Here I ...


2

It's probably a problem with access rights. Your QEMU deamon is not allewed to access the USB devices. Try: chown libvirt-qemu /dev/bus/usb/ -R or whichever user your KVM is running as. This should do the trick.


1

Your guest has the same IP address than your host's bridge. This is wrong: guest should have a different IP address than host interface. As a side note, this is the very reason why pinging your guest address from your host cause a reply coming from the host itself: you are pinging an host IP! Try to configure your guest with a free IP address inside your ...


1

You have to set up DNAT on the Host to forward ports from the outside IP address to the VMs in the private VM network you have set up. You cannot share the IP on the layer 3.


1

Most likely this is UFW, Ubuntu's own firewall control software.


1

Here is a more detailed walkthrough of bridging: Follow these steps on the kvm server: sudo stop network-manager echo "manual" | sudo tee /etc/init/network-manager.override That will disable your network-manager and prevent it from restarting. next we work on the interface config, starting by taking the interface down: ifdown eth0 edit ...


1

I've been meaning to do this anyway so I did some installs. The default for IDE style devices in this setup does seem to run at PIO mode speed thought haparm is claiming DMA ... doing this inside the VM makes it about 70 times faster on my machine. hdparm -d1 /dev/hda echo hdparm -d1 /dev/hda > /etc/rcS.d/S00hdparm.sh chmod +x /etc/rcS.d/S00hdparm.sh ...


1

help site includes info for using ipmitool and asmc4 both of which I cannot find on my machine Why not install them? With ipmitool(1) installed you could reset your BMC by typing $ sudo ipmitool mc reset cold — it often helps me when I deal with freezed IPMI/BMC.


1

I just had the same problem and came up with this solution: Check: Is kvm really enabled in your bios?? Run this: dmesg | grep kvm If it says kvm: disabled by bios go to the bios and enable it! in virt-manager you can now select kvm as emulator for new machines. I just recreated my machine without modifying the image and now virtio is available for disks. ...


1

ARP requires routing to work also. A common problem is that you have both an IP address assigned to both interfaces in the same subnet, on the host system's kernel. If you do this ARP replies will break - b/c only one interface will get replies. Make sure that you have a clean, single route back to the subnet. In the example above, if the tap1 and tap2 ...



Only top voted, non community-wiki answers of a minimum length are eligible