public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Serial ATA Support - will it come?
@ 2008-12-28 13:18 Andy B.
  2008-12-29 18:16 ` Charles Duffy
  0 siblings, 1 reply; 2+ messages in thread
From: Andy B. @ 2008-12-28 13:18 UTC (permalink / raw)
  To: kvm

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-29 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-28 13:18 Serial ATA Support - will it come? Andy B.
2008-12-29 18:16 ` Charles Duffy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox