missing chunk of HVM direct kernel boot patch
PATCH 1/1 missing chunk of HVM direct kernel boot patch
Found by Stefano, this chunk of the patch was never applied to xen-unstable (commit 11dffa2359e8a2629490c14c029c7c7c777b3e47), see http://marc.info/?l=qemu-devel&m=140471493425353&w=2.
--- tools/libxl/libxl_dm.c | 9 +++++++++ 1 file changed, 9 insertions(+)
tools/libxl/libxl_dm.c +9 -0
@@ -527,6 +527,15 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,if (b_info->type ==LIBXL_DOMAIN_TYPE_HVM ) {int ioemu_nics =0 ; +if (b_info->kernel) +flexarray_vappend (dm_args,"-kernel" , b_info->kernel,NULL ); + +if (b_info->ramdisk) +flexarray_vappend (dm_args,"-initrd" , b_info->ramdisk,NULL ); + +if (b_info->cmdline) +flexarray_vappend (dm_args,"-append" , b_info->cmdline,NULL ); +if (b_info->u.hvm.serial || b_info->u.hvm.serial_list) {if ( b_info->u.hvm.serial && b_info->u.hvm.serial_list ) {
Signature · 1 line
1.8.4.5
Quoted 5 lines · Chunyan Liu
Found by Stefano, this chunk of the patch was never applied to xen-unstable (commit
11dffa2359e8a2629490c14c029c7c7c777b3e47), see http://marc.info/?l=qemu-devel&m=140471493425353&w=2.Signed-off-by Chunyan Liu <[email protected]>
I think it should be in 4.5: at the moment the feature is broken and only half-applied to the tree.
Quoted 26 lines
tools/libxl/libxl_dm.c | 9 +++++++++ 1 file changed, 9 insertions(+)tools/libxl/libxl_dm.c +9
-0@@ -527,6 +527,15 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,if (b_info->type ==LIBXL_DOMAIN_TYPE_HVM ) {int ioemu_nics =0 ; +if (b_info->kernel) +flexarray_vappend (dm_args,"-kernel" , b_info->kernel,NULL ); + +if (b_info->ramdisk) +flexarray_vappend (dm_args,"-initrd" , b_info->ramdisk,NULL ); + +if (b_info->cmdline) +flexarray_vappend (dm_args,"-append" , b_info->cmdline,NULL ); +if (b_info->u.hvm.serial || b_info->u.hvm.serial_list) {if ( b_info->u.hvm.serial && b_info->u.hvm.serial_list ) {Signature · 1 line
1.8.4.5
Quoted 3 lines · Chunyan Liu
Found by Stefano, this chunk of the patch was never applied to xen-unstable (commit
11dffa2359e8a2629490c14c029c7c7c777b3e47), see http://marc.info/?l=qemu-devel&m=140471493425353&w=2.
How strange, "git am" usually makes it pretty difficult to miss hunks. Sorry about this.
Quoted 1 line
Signed-off-by Chunyan Liu <[email protected]>
I'm afraid that despite the circumstances this still needs a release ack from Konrad. Obviously the upside is fixing a partially implemented feature, but I'm not sure what the downsides are.
Has this been tested with stubdoms, including when this feature is not used? My biggest concern is that because this function is also used to build the command line for the stubdom and the stubdom is PV and hence has at least a ->kernel setting then this new code might break that use case, by adding these options when they are not wanted. This path is all a bit tangled so I'm not 100% sure if those fields are actually set or not.
Quoted 24 lines
--- tools/libxl/libxl_dm.c | 9 +++++++++ 1 file changed, 9 insertions(+)tools/libxl/libxl_dm.c +9
-0@@ -527,6 +527,15 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,if (b_info->type ==LIBXL_DOMAIN_TYPE_HVM ) {int ioemu_nics =0 ; +if (b_info->kernel) +flexarray_vappend (dm_args,"-kernel" , b_info->kernel,NULL ); + +if (b_info->ramdisk) +flexarray_vappend (dm_args,"-initrd" , b_info->ramdisk,NULL ); + +if (b_info->cmdline) +flexarray_vappend (dm_args,"-append" , b_info->cmdline,NULL ); +if (b_info->u.hvm.serial || b_info->u.hvm.serial_list) {if ( b_info->u.hvm.serial && b_info->u.hvm.serial_list ) {
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Ian Campbell <[email protected]> 2014-11-28 下午 20:01 >>>
Quoted 15 lines · Chunyan Liu
Quoted 3 lines
Found by Stefano, this chunk of the patch was never applied to xen-unstable (commit
11dffa2359e8a2629490c14c029c7c7c777b3e47), see http://marc.info/?l=qemu-devel&m=140471493425353&w=2.How strange, "git am" usually makes it pretty difficult to miss hunks. Sorry about this.
Quoted 1 line
Signed-off-by Chunyan Liu <[email protected]>Acked-by Ian Campbell <[email protected]>I'm afraid that despite the circumstances this still needs a release ack from Konrad. Obviously the upside is fixing a partially implemented feature, but I'm not sure what the downsides are.
Quoted 7 lines
Has this been tested with stubdoms, including when this feature is not used? My biggest concern is that because this function is also used to build the command line for the stubdom and the stubdom is PV and hence has at least a ->kernel setting then this new code might break that use case, by adding these options when they are not wanted. This path is all a bit tangled so I'm not 100% sure if those fields are actually set or not.
'-kernel' is only added to qemu command line under HVM case. PV would
not be affected. And only added when device model is upstream qemu, but
not old qemu-xen. About stubdom, tested before, when stubdom is using
old qemu-xen, would not be affected.
Quoted 13 lines
Quoted 13 lines
---
tools/libxl/libxl_dm.c| 9 +++++++++1 file changed, 9 insertions(+)tools/libxl/libxl_dm.c +0
-0@@ -527,6 +527,15 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,if (b_info->type ==LIBXL_DOMAIN_TYPE_HVM ) {int ioemu_nics =0 ;
Quoted 12 lines
tools/libxl/libxl_dm.c static char ** libxl__build_device_model_args_new(libxl__gc *gc, · line 541
Quoted 12 lines
tools/libxl/libxl_dm.c +9
-0+if (b_info->kernel) +flexarray_vappend (dm_args,"-kernel" , b_info->kernel,NULL ); + +if (b_info->ramdisk) +flexarray_vappend (dm_args,"-initrd" , b_info->ramdisk,NULL ); + +if (b_info->cmdline) +flexarray_vappend (dm_args,"-append" , b_info->cmdline,NULL ); +if (b_info->u.hvm.serial || b_info->u.hvm.serial_list) {if ( b_info->u.hvm.serial && b_info->u.hvm.serial_list ) {
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 28 lines · Chun Yan Liu
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Ian Campbell <[email protected]> 2014-11-28 下午 20:01 >>>
Quoted 15 lines · Chunyan Liu
Quoted 3 lines
Found by Stefano, this chunk of the patch was never applied to xen-unstable (commit
11dffa2359e8a2629490c14c029c7c7c777b3e47), see http://marc.info/?l=qemu-devel&m=140471493425353&w=2.How strange, "git am" usually makes it pretty difficult to miss hunks. Sorry about this.
Quoted 1 line
Signed-off-by Chunyan Liu <[email protected]>Acked-by Ian Campbell <[email protected]>I'm afraid that despite the circumstances this still needs a release ack from Konrad. Obviously the upside is fixing a partially implemented feature, but I'm not sure what the downsides are.
Quoted 7 lines
Has this been tested with stubdoms, including when this feature is not used? My biggest concern is that because this function is also used to build the command line for the stubdom and the stubdom is PV and hence has at least a ->kernel setting then this new code might break that use case, by adding these options when they are not wanted. This path is all a bit tangled so I'm not 100% sure if those fields are actually set or not.
Quoted 7 lines
'-kernel' is only added to qemu command line under HVM case. PV would
not be affected. And only added when device model is upstream qemu, but
not old qemu-xen. About stubdom, tested before, when stubdom is using
old qemu-xen, would not be affected.
Ah yes, I'd forgotten we didn't have upstream stubdom yet, obviously any issues here will become apparent whenever that gets implemented.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 31 lines · Ian Campbell
Quoted 30 lines · Chun Yan Liu
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Ian Campbell <[email protected]> 2014-11-28 下午 20:01 >>>
Quoted 15 lines · Chunyan Liu
Quoted 3 lines
Found by Stefano, this chunk of the patch was never applied to xen-unstable (commit
11dffa2359e8a2629490c14c029c7c7c777b3e47), see http://marc.info/?l=qemu-devel&m=140471493425353&w=2.How strange, "git am" usually makes it pretty difficult to miss hunks. Sorry about this.
Quoted 1 line
Signed-off-by Chunyan Liu <[email protected]>Acked-by Ian Campbell <[email protected]>I'm afraid that despite the circumstances this still needs a release ack from Konrad. Obviously the upside is fixing a partially implemented feature, but I'm not sure what the downsides are.
Quoted 7 lines
Has this been tested with stubdoms, including when this feature is not used? My biggest concern is that because this function is also used to build the command line for the stubdom and the stubdom is PV and hence has at least a ->kernel setting then this new code might break that use case, by adding these options when they are not wanted. This path is all a bit tangled so I'm not 100% sure if those fields are actually set or not.
'-kernel' is only added to qemu command line under HVM case. PV would
Quoted 8 lines
Quoted 5 lines
not be affected. And only added when device model is upstream qemu, but
not old qemu-xen. About stubdom, tested before, when stubdom is using
old qemu-xen, would not be affected.
Ah yes, I'd forgotten we didn't have upstream stubdom yet, obviously any issues here will become apparent whenever that gets implemented.
<nods>
Quoted 4 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Ian Campbell
AppliedQuoted 36 lines · Konrad Rzeszutek Wilk
Quoted 35 lines · Ian Campbell
Quoted 33 lines · Chun Yan Liu
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Ian Campbell <[email protected]> 2014-11-28 下午 20:01 >>>
Quoted 15 lines · Chunyan Liu
Quoted 3 lines
Found by Stefano, this chunk of the patch was never applied to xen-unstable (commit
11dffa2359e8a2629490c14c029c7c7c777b3e47), see http://marc.info/?l=qemu-devel&m=140471493425353&w=2.How strange, "git am" usually makes it pretty difficult to miss hunks. Sorry about this.
Quoted 1 line
Signed-off-by Chunyan Liu <[email protected]>Acked-by Ian Campbell <[email protected]>I'm afraid that despite the circumstances this still needs a release ack from Konrad. Obviously the upside is fixing a partially implemented feature, but I'm not sure what the downsides are.
Quoted 7 lines
Has this been tested with stubdoms, including when this feature is not used? My biggest concern is that because this function is also used to build the command line for the stubdom and the stubdom is PV and hence has at least a ->kernel setting then this new code might break that use case, by adding these options when they are not wanted. This path is all a bit tangled so I'm not 100% sure if those fields are actually set or not.
'-kernel' is only added to qemu command line under HVM case. PV would
not be affected. And only added when device model is upstream qemu, but
not old qemu-xen. About stubdom, tested before, when stubdom is using
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
old qemu-xen, would not be affected.
Ah yes, I'd forgotten we didn't have upstream stubdom yet, obviously any issues here will become apparent whenever that gets implemented.
<nods>
Release-Acked-by Konrad Rzeszutek Wilk <[email protected]>
Applied, thanks.
Quoted 9 lines
Quoted 4 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel