ia64/xen-unstable
changeset 15507:7ac7f1472414
hvm: Allow blktap to be able to be booted as system volume for PV-on-HVM
When blktap was booting system volume, PV-on-HVM domain was not able
to be started.
The configuration file is specified as follows.
disk = [ 'tap:aio:/xen/test/rhel5ga_full.img,hda,w' ]
The error occurred by the initialization of system volume in qemu-dm.
qemu: could not open hard disk image 'aio:/xen/test/rhel5ga_full.img'
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
When blktap was booting system volume, PV-on-HVM domain was not able
to be started.
The configuration file is specified as follows.
disk = [ 'tap:aio:/xen/test/rhel5ga_full.img,hda,w' ]
The error occurred by the initialization of system volume in qemu-dm.
qemu: could not open hard disk image 'aio:/xen/test/rhel5ga_full.img'
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Fri Jul 06 14:22:59 2007 +0100 (2007-07-06) |
parents | b01225c94f83 |
children | d6078c942355 |
files | tools/ioemu/xenstore.c |
line diff
1.1 --- a/tools/ioemu/xenstore.c Fri Jul 06 11:17:01 2007 +0100 1.2 +++ b/tools/ioemu/xenstore.c Fri Jul 06 14:22:59 2007 +0100 1.3 @@ -173,10 +173,12 @@ void xenstore_parse_domain_config(int do 1.4 } 1.5 /* open device now if media present */ 1.6 if (params[0]) { 1.7 + char *p = strchr(params, ':'); 1.8 + p = p ? p+1 : params; /* skip colon separator if present */ 1.9 if (bdrv_open(bs_table[hd_index + (is_scsi ? MAX_DISKS : 0)], 1.10 - params, 0 /* snapshot */) < 0) 1.11 + p, 0 /* snapshot */) < 0) 1.12 fprintf(stderr, "qemu: could not open hard disk image '%s'\n", 1.13 - params); 1.14 + p); 1.15 } 1.16 } 1.17