Hello List,

I was planning to introduce kvm in our server farm to give customers the
possibility to load their OS into kvm in case they did something wrong and
want to fix that.

We have several 100 servers with different Linux distros, but always the
same hardware and kernel. Our hard drives are SATA who use the AHCI driver.
These disks are named /dev/sdXX in the OS and this is where kvm is failing
on me. It seems that our disks are recognized as IDE drives and named
/dev/hdXX while booting the OS into KVM thus giving me some classic kernel
panics.

My initial line is quite straightforward:

kvm -hda /dev/sda -boot c -net nic,model=rtl8139 -vnc :1

I was told to try SCSI emulation, but this didn't help either, as no disk
was found at all:

kvm -drive file=/dev/sda,if=scsi,boot=on -boot c -net nic,model=rtl8139 -vnc
:1


With /dev/hdaX I cannot really boot into kvm without changing a significant
amount of files per server, and changing almost 1000 servers is not a very
sane option :-)


Has SATA support, especially the generic AHCI devices, ever been considered
to be included into kvm? Would it be a lot of work to add this emulation
into kvm? I certainly don't want to ask for impossible things, but I would
just like to know if in the near future I will be able to boot my images
without changing them. Maybe there is a "hidden" solution that I did not
find, if so, please let me know.

Thanks for your time.


Andy


--
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

Reply via email to