[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Enable amd64 Xen on trunk



Since trunk is now at 2.6.27 which supports amd64 Xen guest's I thought
we could enable CONFIG_XEN for that kernel. I also added some options to
the 32 bit config, they are enabled anyway this just makes them that
explicit.

any opinions?

diff --git a/linux-2.6/debian/config/amd64/config b/linux-2.6/debian/config/amd64/config
index 81ece14..a7258aa 100644
--- a/linux-2.6/debian/config/amd64/config
+++ b/linux-2.6/debian/config/amd64/config
@@ -93,6 +93,13 @@ CONFIG_KVM_INTEL=m
 CONFIG_KVM_AMD=m
 
 ##
+## file: arch/x86/xen/Kconfig
+##
+CONFIG_XEN=y
+CONFIG_XEN_MAX_DOMAIN_MEMORY=32
+CONFIG_XEN_SAVE_RESTORE=y
+
+##
 ## file: crypto/Kconfig
 ##
 CONFIG_CRYPTO_AES_X86_64=m
@@ -176,6 +183,7 @@ CONFIG_BLK_DEV_RAM_SIZE=65536
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_CDROM_PKTCDVD_BUFFERS=8
 # CONFIG_CDROM_PKTCDVD_WCACHE is not set
+CONFIG_XEN_BLKDEV_FRONTEND=m
 CONFIG_VIRTIO_BLK=m
 
 ##
@@ -242,6 +250,7 @@ CONFIG_STALDRV=y
 CONFIG_PRINTER=m
 # CONFIG_LP_CONSOLE is not set
 CONFIG_PPDEV=m
+CONFIG_HVC_XEN=y
 CONFIG_NVRAM=m
 CONFIG_RTC=y
 CONFIG_GEN_RTC=m
@@ -506,6 +515,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
 CONFIG_INPUT_JOYDEV=m
 CONFIG_INPUT_EVDEV=m
+CONFIG_XEN_KBDDEV_FRONTEND=y
 
 ##
 ## file: drivers/input/gameport/Kconfig
@@ -931,6 +941,7 @@ CONFIG_R8169=m
 CONFIG_VIA_VELOCITY=m
 CONFIG_TIGON3=m
 CONFIG_BNX2=m
+CONFIG_XEN_NETDEV_FRONTEND=m
 CONFIG_FDDI=y
 CONFIG_DEFXX=m
 # CONFIG_DEFXX_MMIO is not set
@@ -1341,6 +1352,7 @@ CONFIG_FB_VOODOO1=m
 CONFIG_FB_TRIDENT=m
 # CONFIG_FB_TRIDENT_ACCEL is not set
 CONFIG_FB_VIRTUAL=m
+CONFIG_XEN_FBDEV_FRONTEND=y
 
 ##
 ## file: drivers/video/backlight/Kconfig
@@ -1404,6 +1416,12 @@ CONFIG_WDT_501_PCI=y
 CONFIG_USBPCWATCHDOG=m
 
 ##
+## file: drivers/xen/Kconfig
+##
+CONFIG_XEN_BALLOON=y
+CONFIG_XEN_SCRUB_PAGES=y
+
+##
 ## file: fs/partitions/Kconfig
 ##
 CONFIG_ACORN_PARTITION=y
diff --git a/linux-2.6/debian/config/i386/config b/linux-2.6/debian/config/i386/config
index ed13748..fb8f5d1 100644
--- a/linux-2.6/debian/config/i386/config
+++ b/linux-2.6/debian/config/i386/config
@@ -158,6 +158,8 @@ CONFIG_LGUEST_GUEST=y
 ## file: arch/x86/xen/Kconfig
 ##
 CONFIG_XEN=y
+CONFIG_XEN_MAX_DOMAIN_MEMORY=8
+CONFIG_XEN_SAVE_RESTORE=y
 
 ##
 ## file: crypto/Kconfig
@@ -610,6 +612,7 @@ CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
 CONFIG_INPUT_JOYDEV=m
 CONFIG_INPUT_EVDEV=m
+CONFIG_XEN_KBDDEV_FRONTEND=y
 
 ##
 ## file: drivers/input/gameport/Kconfig
@@ -1667,6 +1670,12 @@ CONFIG_USBPCWATCHDOG=m
 CONFIG_BINFMT_AOUT=m
 
 ##
+## file: drivers/xen/Kconfig
+##
+CONFIG_XEN_BALLOON=y
+CONFIG_XEN_SCRUB_PAGES=y
+
+##
 ## file: fs/partitions/Kconfig
 ##
 CONFIG_ACORN_PARTITION=y




-- 
Ian Campbell

It may or may not be worthwhile, but it still has to be done.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: