All of lore.kernel.org
 help / color / mirror / Atom feed
* How HVM domain distingush ioemu disk and VBD disk
@ 2006-09-12  4:50 Yu, Ke
  2006-09-12 14:05 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Yu, Ke @ 2006-09-12  4:50 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

Hi, 

From cset 10921, ioemu: prefix is removed from disk config in /etc/xen/xmexample.hvm. Now HVM VBD driver is available, this thus raises a question: how would HVM domain know if one disk is a qemu-dm disk or a VBD disk?

From current implementation, qemu-dm will recognize disk had, hdb, hdc, hdd, and VBD drive can recognize all disk (had~hdd, hde, hdf ...) . So the result is: qemu-dm will mount /dev/hda-hdd, and VBD driver will mount the rest (/dev/hde,...). Actually, VBD will also try to mount /dev/hda..., but failed with error message "register_blkdev: cannot get major 3 for ide", since the /hda is already mounted as qemu-dm disk.

This looks a litt bit confusing. So I just wonder: is this the expected behavor? Do we intend having some explicit mechanism to indentify ioemu disk and VBD disk? 

Best Regards
Ke

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2006-09-12 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-12  4:50 How HVM domain distingush ioemu disk and VBD disk Yu, Ke
2006-09-12 14:05 ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.