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.

** Patch added: "Patch FOR COMMENT for Oneiric (and probably Natty)"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/886521/+attachment/2610533/+files/Oneiric-Natty-0001-Make-CONFIG_XEN_PLATFORM_PCI-y-CONFIG_XEN_BLKDEV_FRO.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886521

Title:
  CONFIG_XEN_PLATFORM_PCI should be "y" when building  3.1 kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/886521/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to