All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Disk naming (Was Re: [PATCH] Guest boot loadersupport [1/2])
@ 2005-04-14 20:43 Ian Pratt
  2005-04-14 20:52 ` Jeremy Katz
                   ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: Ian Pratt @ 2005-04-14 20:43 UTC (permalink / raw)
  To: Jeremy Katz, Philip R Auld; +Cc: xen-devel

> On Thu, 2005-04-14 at 14:22 -0400, Philip R Auld wrote:
> > As a slight but related digression, has any thought been given to 
> > using something other than /dev/[hs]d* names for specifying block 
> > devices? The name /dev/sdb only has meaning for the current 
> state of 
> > the running dom0 OS. It may not mean the same device on a different 
> > dom0. This can lead to problems in say migration.
> > In fact, it may not be the same when the domain is restored locally.
> 
> To be even slightly more radical, I don't think that for the 
> guests, the vbds should be being exposed as SCSI or IDE since 
> they're not.  By being presented as such, there's a set of 
> assumptions about ioctls and behaviors which aren't the case 
> for disks on blkfront.  Even with all of the pain using your 
> own major/minor for a disk device is, I think it probably is 
> the right thing to do.  And I've added the code to 
> parted/lvm2/.../etc enough to be able to do it in my sleep 
> this point if this route is taken :)

I don't think there's a huge problem with exposing vbd's as sdX/hdX
within a guest. We used to have our own xdX device, but it just broke
too much stuff, hence we hijacked had/sda. I haven't seen too many
problems with ioctls.

I think the key issue is that in domain configs, you want to specify the
source of the vbd in some high-level name and have the control tools do
the necessary to map it to a local device and then export it. This
already happens with file: disk paths. We just need something similar
for iscsi.

Ian

 

^ permalink raw reply	[flat|nested] 30+ messages in thread
* RE: Disk naming (Was Re: [PATCH] Guest boot loadersupport[1/2])
@ 2005-04-15 21:44 Ian Pratt
  0 siblings, 0 replies; 30+ messages in thread
From: Ian Pratt @ 2005-04-15 21:44 UTC (permalink / raw)
  To: Anthony Liguori, Mark Williamson; +Cc: xen-devel, Adam Heath

 

I think I'd prefer not to complicate blkback, unless something's
fundamentally wrong with the design of the loopback device. Anyone know
about this? The trick with this kind of thing is avoiding deadlock under
low memory situations... 
> This brings up a really interesting point.  Is there a good 
> story yet for how more complex devices can be created on 
> driver domains?  For instance, how would you create an iSCSI 
> device that existed on a driver domain (or is this something 
> that wouldn't be all that useful)?
> 
> Can we assume an rexec capability between dom0 and a driver domain?

I was anticipating a scheme whereby we use a second console connection
to drive a tiny initrd in a driver domain.

Ian

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

end of thread, other threads:[~2005-04-15 21:44 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-14 20:43 Disk naming (Was Re: [PATCH] Guest boot loadersupport [1/2]) Ian Pratt
2005-04-14 20:52 ` Jeremy Katz
2005-04-14 21:59 ` Gerd Knorr
2005-04-14 22:10   ` Adam Heath
2005-04-15  1:51     ` Andrew Theurer
2005-04-15 13:32       ` Philip R Auld
2005-04-14 23:24 ` Mark Williamson
2005-04-14 23:42   ` Adam Heath
2005-04-14 23:43     ` Mark Williamson
2005-04-15 16:18       ` Adam Heath
2005-04-15 16:43         ` Mark Williamson
2005-04-15 17:33           ` Adam Heath
2005-04-15 17:33             ` Mark Williamson
2005-04-15 17:55               ` Adam Heath
2005-04-15 17:56                 ` Mark Williamson
2005-04-15 20:08                   ` Adam Heath
2005-04-15 20:14                     ` Mark Williamson
2005-04-15 20:45                       ` Anthony Liguori
2005-04-15 18:02               ` Andrew Warfield
2005-04-15 17:57             ` Anthony Liguori
2005-04-15 20:07               ` Adam Heath
2005-04-15 20:16                 ` Mark Williamson
2005-04-15 20:46                   ` Adam Heath
2005-04-15 20:29                     ` Mark Williamson
2005-04-15 21:05                       ` Anthony Liguori
2005-04-15 20:40                 ` Anthony Liguori
2005-04-15 20:48                   ` Adam Heath
2005-04-15 20:47                     ` Anthony Liguori
2005-04-15 13:58   ` Philip R Auld
  -- strict thread matches above, loose matches on Subject: below --
2005-04-15 21:44 Disk naming (Was Re: [PATCH] Guest boot loadersupport[1/2]) Ian Pratt

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.