[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: Getting VBD working with xenstore, again

On Thu, Jan 12, 2006 at 03:42:12PM +0100, Jacob Gorm Hansen wrote:

> On 1/12/06, Jacob Gorm Hansen <jacobg@xxxxxxx> wrote:
> > hi,
> >
> > I have the code below, a version of which used to (just before xen3
> > release) work fine for giving my domain access to a block device. I
> > have tried to adjust this based on the python source, but my block
> > device no longer registers in domU :-(
> Got it working, main points was that I had to reverse the order of
> writing to frontend and backend stores (probably not new actually),

You ought to be writing these entries in one transaction, so that they appear
atomically.  This will guarantee that you avoid any race conditions on

> that the physical-device string is now in "%x:%x" format (but the
> virtual-device is not...)

My intention was to change virtual-device so that it was the name rather than
the device number -- there's no reason for dom0's device numbers to be the
same as domU's, as they may be different operating systems -- but it didn't
make it into 3.0, due to lack of time ;-(


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.