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

Re: [Xen-devel] [PATCH] Only call stat() when adding a disk if we expect a device to exist.



On 23/04/13 10:44, Ian Campbell wrote:
On Tue, 2013-04-23 at 10:36 +0100, David Scott wrote:
>We consider calling stat() a helpful error check in the following
>circumstances only:
>  1. the disk backend type must be PHYsical
>  2. the disk backend domain must be the same as the running libxl
>     code (assumed to be 0)
AKA LIBXL_TOOLSTACK_DOMID. That line could also do with wrapping but I
can do that as I commit if you like.

Ah, I grepped around for stuff like "DOMID_SELF" but missed that one :-)

I'll resend...

Cheers,
Dave

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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