Comment 20 for bug 886521

Revision history for this message
Alex Bligh (ubuntu-alex-org) wrote :

On Oneiric (and I think Natty), the problem is that CONFIG_XEN_PVHM is defined as 'y' in the common config, but CONFIG_XEN_PLATFORM_PCI is defined as 'm' in the common config. In various flavours, CONFIG_XEN_NETDEV_FRONTEND and CONFIG_XEN_BLKDEV_FRONTEND are either defined as 'm' or 'y'. However, these will not work, as at boot time, we need CONFIG_XEN_PLATFORM_PCI to be 'y'. As this will cause the emulated devices to be unplugged, then we will always also need CONFIG_XEN_BLKDEV_FRONTEND=y and CONFIG_XEN_NETDEV_FRONTEND=y (or there will be no block dev or net dev to boot from).

So this patch takes the easy approach, and makes CONFIG_XEN_PLATFORM_PCI=y, CONFIG_XEN_NETDEV_FRONTEND=y and CONFIG_XEN_BLKDEV_FRONTEND=y in the common config. This may result in Xen stuff being compiled into certain flavours where it is not welcome (in which case those flavours should override the common config and set these to 'no'). I do not have the compile & test resources to test that.

This was developed against Oneiric, but visual inspection suggests the same needs to be done on Natty (but not Lucid or Maverick - see next comment).

THIS PATCH IS FOR COMMENT AND REVIEW ONLY. IT IS NOT EVEN COMPILE TESTED. DO NOT APPLY WITHOUT TESTING.