Tag Info

Hot answers tagged

10

Virtualbox will be much easier for use in the home. The GUI is great and its very simple to use... not to mention the amount of users and documentation out there. And with the recent hardware 3D acceleration addition its a great choice. Use Virtualbox.


10

Add CDROM: attach-disk guest01 /root/disc1.iso hdc --driver file --type cdrom --mode readonly Change CDROM: attach-disk guest01 /root/disc2.iso hdc --driver file --type cdrom --mode readonly Remove CDROM: attach-disk guest01 " " hdc --driver file --type cdrom --mode readonly


9

Don't know if it's the ideal solution, but on an Ubuntu 12.04 guest I got it to work by adding the 9p modules to the initramfs. Added to /etc/initramfs-tools/modules: 9p 9pnet 9pnet_virtio Then: sudo update-initramfs -u


6

What's wrong with VirtualBox OSE then? I have it running on an LXDE system, and it's possible to run it completely headless. It will run Windows, it's relatively lightweight, great performance, and it's open source. KVM might be better when you have lots of VMs to run, but if you're used to using VMWare Workstation, VirtualBox will be the easiest thing ...


5

How much memory have you allocated to each instance? IIRC, Some VM's allocate exactly the amount you set for each VM, so with only 2GB of ram you are probably swapping a whole lot, causing performance issues. The obvious fix would be to get more than 2GB of ram, because low amounts of ram in addition to a slow CPU cause major performance issues.


5

For testing and virtualized XP for daily use I recommend VirtualBox. It's free and has all the necessary features to run desktop OS's. It is also cross platform which means you can move your virtual machines around. For server type scenarios and always on machines I would use VMWare Server. It makes the management of machines simpler and easier.


4

Use the vmvga Video Card I use virt-manager (as I'm a complete noob to kvm and libvirt). I was able to get higher resolutions on a Windows 7 guest by changing the video card from vga to vmvga in the virtual machine's settings window.


4

KVM images are restricted by selinux. Putting them in /var/lib/libvirt/images should suffice. http://libvirt.org/drvqemu.html#securityselinux goes into more detail.


3

Fast and dirty example for KVM on Centos 63 x86_64. Short ping in background to all possible IP addresses that the VMs may have in this segment for i in {1..249} do ping -c 1 -n -q -r -t 1 -s 1 -W 1 192.168.100.$i > /dev/null & done Extract the names and MAC addresses of the VMs via virsh and extract IP from ARP table for name in `virsh ...


3

virt-install does not appear to support multiple CD ROMs natively. Fortunately, there is a fairly direct way to get it to do so: Use virt-install to create the virtual machine with the first CD-ROM, in your case named xpsp1. Behind the scenes, libvirt will create an XML configuration file. Turn off the machine now (virsh destroy xpsp1); you were only ...


3

Unfortunately I believe you have to buy a fully licensed copy, even for a virtual machine. I know you can install it in a vm though, as said in the EULA: Instead of using the software directly on the licensed device, you may install and use the software within only one virtual (or otherwise emulated) hardware system on the licensed device.


3

If I recall correctly, serial ports don't have a standard means of detecting whether there is a terminal connected to the other side – or if they do, most virtual serial consoles simply don't bother implementing them. Hence the agetty instance for ttyS0 is started when the guest boots, and the login banner is simply sent to nowhere (to a disconnected ...


3

I don't have any experience with KVM myself, but for VirtualBox, VMWare and Parallels this will work. It takes several reboots of the W7 VM to recognize the new (virtual) hardware and you will have to install the Guest Additons/VMWare Tools/device drivers, whatever your virtualization software calls it. Be warned that switching back to using the partition ...


3

This may be what you are looking for. Sounds like it is possible, but bleeding edge.


3

To get out from a "virsh console": With an english keyboard try: # Ctrl+] # Ctrl+5 All those special keys are a great problem when using another keyboards than UK. Please provide with more examples below for different languages and OS. OSX Swedish map: Ctrl+'å'


2

Found the answer myself. I had to change the path from the emulation tag in the xml definition file. Changed it to qemu-system-x86_64 and now all works fine.


2

A VM and a host OS cannot share block devices and file systems natively, it's completely corrupt the file system within minutes. It'll probably make more sense to share a directory in your host file system via NFS and have the VM PXE NetBoot from it. But if you just wanna R/W access to a project tree rather than the whole root file system in the vm, just ...


2

The process of moving VM's in KVM to another disk takes several steps. The first thing you need to do is setup a new storage pool on your second disk. This can be accomplished in virsh or virt-manager. Do do this in virsh you first need to create a XML file that will be referenced during the creation of the storage pool. Here is a sample XML file that you ...


2

I have a fair bit of experience switching between booting a Windows partition natively and running it as a VM. First of all, hardware and driver support were NOT an issue for me, nor was it necessary to uninstall VMware Tools when booting in a physical context. That aside, it sounds like a great idea, but product activation is where it really falls down. ...


2

After long hours of getting my hands dirty, I chanced to stumble upon this Epic link. Get the MAC address of the VM from the config file of the VM(since I'm using KVM, I queried the .xml file for the MAC address). Then use arp -a and get all the the MAC addresses and the Address of the interfaces and store it in a file Query the file for the MAC address ...


2

Also in my case (Fedora 16 32 bits) I've installed everything ...also I've activated bios visualization vt-x... cpu is compatible .. but the same error (KVM is not available. This may mean the KVM package is not installed,or the KVM kernel modules are not loaded. Your virtual machines may perform poorly.) Finaly I've executed manualy modprobe kvm_intel and ...


2

I had had some pci_stub-related lines in my rc.local but this was apparently too late in the boot process to help, running after radeon started fiddling with things. I fixed things by moving the pci_stub kernel module stuff to the initramfs: lspci -nn | grep Cayman to find the vendor:device numbers (at the very end of the line) for the 6950 and its HDMI ...


2

Maybe you can give this a shot Booting an Ubuntu 12.04 virtual machine in an LXC container . At least LXC on Ubuntu provides various distro templates, I believe you can boot different Linux distro from the host.


2

/etc/polkit-1/rules.d/10.virt.rules: polkit.addRule(function(action, subject) { if (action.id == "org.libvirt.unix.manage" && subject.local && subject.active && subject.isInGroup("libvirt")) { return polkit.Result.YES; } }); You'll have to perform common steps including restarting ...


2

I believe all Windows 7 versions can be installed in virtual machines. However, there are many limitations of what you're allowed, many more so on server versions than on workstation. If you don't care about the version, and just want one virtual machine, just search for the cheapest offer. For example, if you have a college email address you may get ...


2

This probably depends on your ISP and what type of connection you have, but if you don't have an IP configured, you are probably pretty safe. If your ISP happens to allow other protocols down the wire (most don't), then you might be vulnerable through one of them, if it were configured. EDIT: To answer the question in the comments, I believe ifconfig will ...


2

Your existing Windows XP partition was installed assuming certain things about your hardware (your particular motherboard, CPU, chipset, etc.). When you boot that partition inside a virtual machine, Windows sees a radically different set of hardware. Windows' installed configuration is unlikely to match the virtual hardware that KVM is presenting it, and ...


2

I have filed the same bug in ubuntu: https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/419182 Short answer: windows7 has no builtin driver for es1370.


2

virsh console DOMAIN will open a terminal connected to serial console of DOMAIN.


2

In libvirt 0.9.12 and maybe earlier, a command change-media exists: change-media <domain> <path> [<source>] [--eject] [--insert] [--update] [--current] [--live] [--config] [--force] Change CD: change-media guest01 hdb /pool/disc.iso Eject CD: change-media guest01 hdb --eject



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