
# HG changeset patch # User Kaitlin Rupert <karupert@us.ibm.com> # Date 1245432251 25200 # Node ID 8ded9387915f4eb87bab3ba503960a8521e7704f # Parent 468635e4ee759f63dad8a1a12276f26b85fce864 Don't set bootlist for PV and LXC guests Only XenFV and KVM / QEMU guests have the option of specifying a bootlist. This change avoids setting this value for PV guests, which can result in a seg fault. diff -r 468635e4ee75 -r 8ded9387915f libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Mon Jun 15 17:26:12 2009 -0700 +++ b/libxkutil/device_parsing.c Fri Jun 19 10:24:11 2009 -0700 @@ -861,8 +861,10 @@ else dominfo->type = -1; - dominfo->os_info.fv.bootlist = blist; - dominfo->os_info.fv.bootlist_ct = bl_size; + if (STREQC(dominfo->os_info.fv.type, "hvm")) { + dominfo->os_info.fv.bootlist_ct = bl_size; + dominfo->os_info.fv.bootlist = blist; + } return 1; }