* Exporting "SD" device.
@ 2006-06-13 19:04 P M, Priya
2006-06-13 19:34 ` Leeman Strout
2006-06-13 21:29 ` Anthony Liguori
0 siblings, 2 replies; 3+ messages in thread
From: P M, Priya @ 2006-06-13 19:04 UTC (permalink / raw)
To: xen-devel, xen-users
[-- Attachment #1.1: Type: text/plain, Size: 969 bytes --]
Hi,
We have Intel VT enabled system loaded with Xen 3.0.2 and qemu based
FC5+linux 2.6.16 as a guest operating system. We want to export the disk
to the domain 1 (FC5_linux 2.6.16) as "SD" device. But we are not able
to export the SCSI disk as a SD device, we could export as a "HD"
device.
In the Configuration file,
disk = [
'file:/home/adteam/linux_fc5_2.6.16,ioemu:hda,w','phy:/dev/sdd,ioemu:hdb
,w' ]
if we use ioemu:hdb, then the device is exported to the domain 1 and we
could see the device.
If we use
disk = [
'file:/home/adteam/linux_fc5_2.6.16,ioemu:hda,w','phy:/dev/sdd,/dev/sdb,
w' ]
/dev/sdb, then the device is not seen on domain 1.
Are we missing something. Is it not possible to export an SD device to
domain 1? Is there any limitiation in qemu based domain 1, because our
domain 0 is qemu based operating system.
Is there any performance difference between "hda" and "sda" exported
devices???
Thanks.
[-- Attachment #1.2: Type: text/html, Size: 2412 bytes --]
[-- 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] 3+ messages in thread
* Re: Exporting "SD" device.
2006-06-13 19:04 Exporting "SD" device P M, Priya
@ 2006-06-13 19:34 ` Leeman Strout
2006-06-13 21:29 ` Anthony Liguori
1 sibling, 0 replies; 3+ messages in thread
From: Leeman Strout @ 2006-06-13 19:34 UTC (permalink / raw)
To: P M, Priya; +Cc: xen-devel, xen-users
[-- Attachment #1.1: Type: text/plain, Size: 651 bytes --]
On 6/13/06, P M, Priya <pm.priya@hp.com> wrote:
>
> Hi,
>
>
> If we use
>
> disk = [ 'file:/home/adteam/linux_fc5_2.6.16,ioemu:hda,w',*'phy:/dev/sdd
> ,/dev/sdb,w'* ]
>
> /dev/sdb, then the device is not seen on domain 1.
>
This is just a guess, but you might try using the sda device instead. Last
I used SCSI the Linux kernel squashed all SCSI id's to the beginning. This
means that even if you had 1 device marked with SCSI ID 3, it showed up as
/dev/sda. You are presenting the kernel with a virtual SCSI device and it
is likely presenting it as the first SCSI device available: /dev/sda while
you are telling xen to mount /dev/sdb.
Leeman
[-- Attachment #1.2: Type: text/html, Size: 1297 bytes --]
[-- Attachment #2: Type: text/plain, Size: 137 bytes --]
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Exporting "SD" device.
2006-06-13 19:04 Exporting "SD" device P M, Priya
2006-06-13 19:34 ` Leeman Strout
@ 2006-06-13 21:29 ` Anthony Liguori
1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2006-06-13 21:29 UTC (permalink / raw)
To: P M, Priya; +Cc: xen-devel, xen-users
P M, Priya wrote:
> Hi,
>
> We have Intel VT enabled system loaded with Xen 3.0.2 and qemu based
> FC5+linux 2.6.16 as a guest operating system. We want to export the
> disk to the domain 1 (FC5_linux 2.6.16) as "SD" device. But we are not
> able to export the SCSI disk as a SD device, we could export as a "HD"
> device.
>
> In the Configuration file,
>
> disk = [
> 'file:/home/adteam/linux_fc5_2.6.16,ioemu:hda,w',*'phy:/dev/sdd,ioemu:hdb,w'*
> ]
>
> if we use ioemu:hdb, then the device is exported to the domain 1 and
> we could see the device.
>
ioemu:hdb is the syntax for FV devices. For FV, we only currently
support exposing as IDE devices.
> If we use
>
> disk = [
> 'file:/home/adteam/linux_fc5_2.6.16,ioemu:hda,w',*'phy:/dev/sdd,/dev/sdb,w'*
> ]
>
This is only valid syntax for PV domains.
> /dev/sdb, then the device is not seen on domain 1.
>
> Are we missing something. Is it not possible to export an SD device to
> domain 1? Is there any limitiation in qemu based domain 1, because our
> domain 0 is qemu based operating system.
>
> Is there any performance difference between "hda" and "sda" exported
> devices???
>
There is no support for SCSI emulator ATM. It is on the Roadmap though
and it ought to have a pretty significant performance impact. It's
going to take a fair bit of time to realize that though.
Regards,
Anthony Liguori
> Thanks.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-13 21:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 19:04 Exporting "SD" device P M, Priya
2006-06-13 19:34 ` Leeman Strout
2006-06-13 21:29 ` 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.