Fwd: Booting physically installed Windows while in Arch (AHCI support in OVMF?)
Please, any help? I'm currently in such a state I won't be able to sleep well before I make some progress on this. I've already described my situation quite precisly, if one needs even more information, just ask. I've now also tried with a separate img containing DUET, so I can use the default seabios to boot DUET, which can boot Windows in UEFI mode. However, DUET just doesn't see my disk at all, be it in IDE or AHCI mode. If I boot the same img *physically* (from a usb), I can enter DUET and I can see my physical disk (which is running in AHCI mode). So I guess this is an issue with KVM/QEMU. Any ideas would be greatly appreciated. On Sun, Apr 28, 2013 at 6:29 PM, Evert Heylen everthey...@gmail.com wrote: Hi all, My situation is the following: My PC (x64) has an UEFI capable motherboard (ASRock Z77). On my hard drive (which is GPT formatted ofc), I have Windows 7 installed on /dev/sda3 and Arch Linux on /dev/sda2. I can boot both OS'es. However, I would like to boot Windows while in Arch, using KVM. I'm using the OVMF images. I tried it right away with this command: qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -m 4096 -hda /dev/sda -L /path/to/ovmf/ It doesn't work. When booting in safe mode in windows, I can see that windows fails when trying to load CLASSPNP.sys . After some googling I found out that it might be because qemu 'mounts' the drive in IDE mode, while windows expects it to be in AHCI mode (because it was installed in AHCI mode). Then, after some more googling, I tried this command, which should (correct me if I'm wrong) mount the drive in AHCI mode. qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -m 4096 -L /path/to/ovmf -device ahci,id=ahci0 -drive if=none,file=/dev/sda,format=raw,id=drive-sata0-0-0 -device driver=ide-drive,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0 However, with this command OVMF doesn't seem to recognise any drive at all, the 'Boot from file' screen is empty. So, I would like to know if OVMF supports AHCI, and if it doesn't, do you have any other ideas? I know it's generally not a good idea to boot a physically installed OS in a vm, but I want to try it anyway. Thanks, Evert -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Booting physically installed Windows while in Arch (AHCI support in OVMF?)
Bump. I'm currently in such a state I won't be able to sleep well before I make some progress on this. I've already described my situation quite precisly, if one needs even more information, just ask. I've now also tried with a separate img containing DUET, so I can use the default seabios to boot DUET, which can boot Windows in UEFI mode. However, DUET just doesn't see my disk at all, be it in IDE or AHCI mode. If I boot the same img *physically* (from a usb), I can enter DUET and I can see my physical disk (which is running in AHCI mode). So I guess this is an issue with KVM/QEMU. Any ideas would be greatly appreciated. On Sun, Apr 28, 2013 at 6:29 PM, Evert Heylen everthey...@gmail.com wrote: Hi all, My situation is the following: My PC (x64) has an UEFI capable motherboard (ASRock Z77). On my hard drive (which is GPT formatted ofc), I have Windows 7 installed on /dev/sda3 and Arch Linux on /dev/sda2. I can boot both OS'es. However, I would like to boot Windows while in Arch, using KVM. I'm using the OVMF images. I tried it right away with this command: qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -m 4096 -hda /dev/sda -L /path/to/ovmf/ It doesn't work. When booting in safe mode in windows, I can see that windows fails when trying to load CLASSPNP.sys . After some googling I found out that it might be because qemu 'mounts' the drive in IDE mode, while windows expects it to be in AHCI mode (because it was installed in AHCI mode). Then, after some more googling, I tried this command, which should (correct me if I'm wrong) mount the drive in AHCI mode. qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -m 4096 -L /path/to/ovmf -device ahci,id=ahci0 -drive if=none,file=/dev/sda,format=raw,id=drive-sata0-0-0 -device driver=ide-drive,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0 However, with this command OVMF doesn't seem to recognise any drive at all, the 'Boot from file' screen is empty. So, I would like to know if OVMF supports AHCI, and if it doesn't, do you have any other ideas? I know it's generally not a good idea to boot a physically installed OS in a vm, but I want to try it anyway. Thanks, Evert -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Booting physically installed Windows while in Arch (AHCI support in OVMF?)
Hi all, My situation is the following: My PC (x64) has an UEFI capable motherboard (ASRock Z77). On my hard drive (which is GPT formatted ofc), I have Windows 7 installed on /dev/sda3 and Arch Linux on /dev/sda2. I can boot both OS'es. However, I would like to boot Windows while in Arch, using KVM. I'm using the OVMF images. I tried it right away with this command: qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -m 4096 -hda /dev/sda -L /path/to/ovmf/ It doesn't work. When booting in safe mode in windows, I can see that windows fails when trying to load CLASSPNP.sys . After some googling I found out that it might be because qemu 'mounts' the drive in IDE mode, while windows expects it to be in AHCI mode (because it was installed in AHCI mode). Then, after some more googling, I tried this command, which should (correct me if I'm wrong) mount the drive in AHCI mode. qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -m 4096 -L /path/to/ovmf -device ahci,id=ahci0 -drive if=none,file=/dev/sda,format=raw,id=drive-sata0-0-0 -device driver=ide-drive,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0 However, with this command OVMF doesn't seem to recognise any drive at all, the 'Boot from file' screen is empty. So, I would like to know if OVMF supports AHCI, and if it doesn't, do you have any other ideas? I know it's generally not a good idea to boot a physically installed OS in a vm, but I want to try it anyway. Thanks, Evert -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
GUI: convirt or virt-manager?
Hi all, Is any of these 2 better than the other? Or are they both just as good? How do they measure up to the GUI's of VMware/VirtualBox? Greetings, Evert -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Live memory allocation?
Tomasz Chmielewski wrote: Izik Eidus schrieb: Tomasz Chmielewski wrote: Evert schrieb: Hi all, According to the Wikipedia ( http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machines ) both VirtualBox VMware server support something called 'Live memory allocation'. Does KVM support this as well? What does this term mean exactly? Is it the same as ballooning used by KVM? I guess it referring to memory allocation on first time access to the memory areas, Meaning the memory allocation will be made only when it really going to be used. Like, two guests, each with 2 GB memory allocated only use 1 GB of host's memory (as long as they don't have many programs/buffers/cache)? So yes, it's also supported by KVM. I have amended http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machines based on this thread :-) Greetings, Evert -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
KVM + virt-manager: which is the perfect host Linux distro?
Hi all, I am about to install a new host system, which will be hosting various guest systems by means of KVM virt-manager for GUI. What would be the best choice for host OS distro? Red Hat, or will any mature Linux distro do? Personally I am more of a Gentoo guy, but if there is 1 distro which is clearly better as host OS when it comes to KVM+virt-manager, I am willing to use something else... ;-) Regards, Evert -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: KVM + virt-manager: which is the perfect host Linux distro?
Tomasz Chmielewski wrote: Evert schrieb: Hi all, I am about to install a new host system, which will be hosting various guest systems by means of KVM virt-manager for GUI. What would be the best choice for host OS distro? Red Hat, or will any mature Linux distro do? Personally I am more of a Gentoo guy, but if there is 1 distro which is clearly better as host OS when it comes to KVM+virt-manager, I am willing to use something else... ;-) Did you try this one: http://pve.proxmox.com/wiki/Main_Page It's Debian based and have everything you need for virtualisation already prepared. To my knowledge Proxmox does not support software RAID ( http://www.linux-kvm.com/content/kvm-83-released-support-amd-iommu-qemu-svn-merge ), unless you configure that manually... Otherwise Proxmox is promising, yes... Can I conclude from that that Debian is the best host distro to go for? Better than Red Hat Gentoo? Regards, Evert -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Which SCSI controller is emulated in KVM guests?
Hi all, I must be missing it somehow, but I can't find any mention in the KVM man page on which SCSI controller is emulated in its guests...? Regards, Evert -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html