From 78c13f9d0bcdbe79eb998b89fd04737389f29069 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 3 Mar 2012 11:03:47 +0000 Subject: [PATCH] - xend configuration tweaks, don't need relocation enabled by default, but need unix socket for cli tools; let admin configure dom0 network; set a bit more memory for dom0 Changed files: xen-configure-xend.patch -> 1.1 xen.spec -> 1.100 --- xen-configure-xend.patch | 37 +++++++++++++++++++++++++++++++++++++ xen.spec | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 xen-configure-xend.patch diff --git a/xen-configure-xend.patch b/xen-configure-xend.patch new file mode 100644 index 0000000..0bdc932 --- /dev/null +++ b/xen-configure-xend.patch @@ -0,0 +1,37 @@ +diff -up xen-3.4.0/tools/examples/xend-config.sxp.config xen-3.4.0/tools/examples/xend-config.sxp +--- xen-3.4.0/tools/examples/xend-config.sxp.config 2009-05-20 17:12:50.000000000 +0200 ++++ xen-3.4.0/tools/examples/xend-config.sxp 2009-05-20 17:15:35.000000000 +0200 +@@ -58,11 +58,11 @@ + + + #(xend-http-server no) +-#(xend-unix-server no) ++(xend-unix-server yes) + #(xend-tcp-xmlrpc-server no) + #(xend-unix-xmlrpc-server yes) +-#(xend-relocation-server no) +-(xend-relocation-server yes) ++(xend-relocation-server no) ++#(xend-relocation-server yes) + #(xend-relocation-ssl-server no) + #(xend-udev-event-server no) + +@@ -154,7 +154,8 @@ + # two fake interfaces per guest domain. To do things like this, write + # yourself a wrapper script, and call network-bridge from it, as appropriate. + # +-(network-script network-bridge) ++#(network-script network-bridge) ++(network-script /bin/true) + + # The script used to control virtual interfaces. This can be overridden on a + # per-vif basis when creating a domain or a configuring a new vif. The +@@ -186,7 +187,7 @@ + # dom0-min-mem is the lowest permissible memory level (in MB) for dom0. + # This is a minimum both for auto-ballooning (as enabled by + # enable-dom0-ballooning below) and for xm mem-set when applied to dom0. +-(dom0-min-mem 196) ++(dom0-min-mem 256) + + # Whether to enable auto-ballooning of dom0 to allow domUs to be created. + # If enable-dom0-ballooning = no, dom0 will never balloon out. diff --git a/xen.spec b/xen.spec index 3b9ad88..970c964 100644 --- a/xen.spec +++ b/xen.spec @@ -58,6 +58,7 @@ Patch9: xend.empty.xml.patch Patch10: xend-pci-loop.patch Patch11: xen-dumpdir.patch Patch12: xen-net-disable-iptables-on-bridge.patch +Patch13: xen-configure-xend.patch # stubdom patch Patch100: grub-ext4-support.patch URL: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html @@ -213,6 +214,7 @@ This package provides bash-completion for xen. %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 %{__rm} -v tools/check/*.orig -- 2.44.0