|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] xl: Special case tap/aio for disk validation
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH] xl: Special case tap/aio
for disk validation"):
> - A fix for parse_disk_config.
> The new algorithm should assume format=raw and ignore tap:, tap2:, aio:,
> tapdisk:, ioemu:, until it gets to a real disk format (qcow:, qcow2:,
> vhd:) or the file name.
You can recognise the filename by the fact that it starts with a "/",
since most of our stuff doesn't work with relative pathnames for block
devices and we don't want it to try to make it work now.
So the specification string should always be either
someprefix:[stuff]
in which case you strip off someprefix: (perhaps making a note of its
implications) or
/somepath
in which case you've got to the end and know what to do.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|