fe31f9be81
do not understand the new PV driver protocol. - Upstream Xen version renamed to 4.0.0 in changeset 20624 & 20625. - fate#307594: HP-MCBS: XEN: support NR_CPUS=256 This is a spec file change (xen.spec) - bnc#555152 - "NAME" column in xentop (SLES11) output limited to 10 characters unlike SLES10 The update to c/s 20572 includes this fix (at c/s 20567). - Modify xen-paths.diff - Merge xend-tap-fix.patch to xen-domUloader.diff remove part of it which accepted by upstream - Load gntdev module in xend init script similar to blkbk, netbk, etc. - Backport dmmd from sles11/xen block-dmmd xen-qemu-iscsi-fix.patch xen.spec - Fix regression when create_vbd for tap xend-tap-fix.patch - Temporarily disable libxl because of libconfig dependency. - fate#302864 domUloader support lvm in disk domUloader.py Note: for test in Beta1, if not good, remove it - fate#302864 domUloader support fs on whole disk domUloader.py - Turn KMPs back on now that kernel side fix is checked in. - fate#304415 VMM: ability to switch networking mode Add vif-route-ifup to handle routed configurations using sysconfig scripts. vif-route-ifup.patch - fate#307540 USB for Xen VMs usb-add.patch - fate#305545 XEN extra descriptive field within xenstore add_des.patch - Update to Xen version 3.5.0 for the following features. fate#304226 XEN: FlexMigration feature of VT-x2 support fate#305004 Add SR-IOV PF and VF drivers to Vt-d enabled Xen fate#306830 T states in Xen controlling by MSR fate#306832 Fix for xen panic on new processors fate#306833 Westmere and Nehalem-EX: Add support for Pause Loop exiting feature for Xen fate#306835 Xen: server virtual power management enhacement fate#306837 VT-d2 - PCI SIG ATS support fate#306872 Xen: Node manager support P/T-states change when Vt-d enable fate#306873 Xen: SMP guest live migration may fail with hap=1 on NHM fate#306875 Westmere: LT-SX (Xen) fate#306891 RAS features for Xen: Add support for Machine Check and CPU/Memory online/offline features fate#307322 1GB page support in Xen fate#307324 Xen IOMMU support OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=26
179 lines
6.2 KiB
Diff
179 lines
6.2 KiB
Diff
Change various example paths in the config files to match SUSE.
|
|
|
|
Index: xen-4.0.0-testing/tools/examples/xmexample1
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/tools/examples/xmexample1
|
|
+++ xen-4.0.0-testing/tools/examples/xmexample1
|
|
@@ -7,11 +7,13 @@
|
|
#============================================================================
|
|
|
|
#----------------------------------------------------------------------------
|
|
-# Kernel image file.
|
|
-kernel = "/boot/vmlinuz-2.6.10-xenU"
|
|
-
|
|
-# Optional ramdisk.
|
|
-#ramdisk = "/boot/initrd.gz"
|
|
+# Kernel image file and (optional) ramdisk (initrd).
|
|
+kernel = "/boot/vmlinuz-xen"
|
|
+ramdisk = "/boot/initrd-xen"
|
|
+
|
|
+# Or use domUloader instead of kernel/ramdisk to get kernel from domU FS
|
|
+#bootloader = "/usr/lib/xen/boot/domUloader.py"
|
|
+#bootentry = "hda2:/vmlinuz-xen,/initrd-xen"
|
|
|
|
# The domain build function. Default is 'linux'.
|
|
#builder='linux'
|
|
@@ -131,7 +133,7 @@ disk = [ 'phy:hda1,hda1,w' ]
|
|
#hostname= "vm%d" % vmid
|
|
|
|
# Set root device.
|
|
-root = "/dev/hda1 ro"
|
|
+root = "/dev/hda1"
|
|
|
|
# Root device for nfs.
|
|
#root = "/dev/nfs"
|
|
@@ -140,8 +142,8 @@ root = "/dev/hda1 ro"
|
|
# Root directory on the nfs server.
|
|
#nfs_root = '/full/path/to/root/directory'
|
|
|
|
-# Sets runlevel 4.
|
|
-extra = "4"
|
|
+# Extra arguments to pass to the kernel.
|
|
+extra = ""
|
|
|
|
#----------------------------------------------------------------------------
|
|
# Configure the behaviour when a domain exits. There are three 'reasons'
|
|
Index: xen-4.0.0-testing/tools/examples/xmexample2
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/tools/examples/xmexample2
|
|
+++ xen-4.0.0-testing/tools/examples/xmexample2
|
|
@@ -35,11 +35,13 @@ xm_vars.var('vmid',
|
|
xm_vars.check()
|
|
|
|
#----------------------------------------------------------------------------
|
|
-# Kernel image file.
|
|
-kernel = "/boot/vmlinuz-2.6.10-xenU"
|
|
-
|
|
-# Optional ramdisk.
|
|
-#ramdisk = "/boot/initrd.gz"
|
|
+# Kernel image file and (optional) ramdisk (initrd).
|
|
+kernel = "/boot/vmlinuz-xen"
|
|
+ramdisk = "/boot/initrd-xen"
|
|
+
|
|
+# Or use domUloader instead of kernel/ramdisk to get kernel from domU FS
|
|
+#bootloader = "/usr/lib/xen/boot/domUloader.py"
|
|
+#bootentry = "hda2:/vmlinuz-xen,/initrd-xen"
|
|
|
|
# The domain build function. Default is 'linux'.
|
|
#builder='linux'
|
|
@@ -167,7 +169,7 @@ disk = [ 'phy:sda%d,sda1,w' % (7+vmid),
|
|
#hostname= "vm%d" % vmid
|
|
|
|
# Set root device.
|
|
-root = "/dev/sda1 ro"
|
|
+root = "/dev/sda1"
|
|
|
|
# Root device for nfs.
|
|
#root = "/dev/nfs"
|
|
@@ -176,8 +178,8 @@ root = "/dev/sda1 ro"
|
|
# Root directory on the nfs server.
|
|
#nfs_root = '/full/path/to/root/directory'
|
|
|
|
-# Sets runlevel 4 and the device for /usr.
|
|
-extra = "4 VMID=%d usr=/dev/sda6" % vmid
|
|
+# Sets the device for /usr.
|
|
+extra = "VMID=%d usr=/dev/sda6" % vmid
|
|
|
|
#----------------------------------------------------------------------------
|
|
# Configure the behaviour when a domain exits. There are three 'reasons'
|
|
Index: xen-4.0.0-testing/tools/examples/xmexample3
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/tools/examples/xmexample3
|
|
+++ xen-4.0.0-testing/tools/examples/xmexample3
|
|
@@ -35,11 +35,13 @@ xm_vars.var('vmid',
|
|
xm_vars.check()
|
|
|
|
#----------------------------------------------------------------------------
|
|
-# Kernel image file.
|
|
-kernel = "/path/to/domU/kernel"
|
|
-
|
|
-# Optional ramdisk.
|
|
-#ramdisk = "/boot/initrd.gz"
|
|
+# Kernel image file and (optional) ramdisk (initrd).
|
|
+kernel = "/boot/vmlinuz-xen"
|
|
+ramdisk = "/boot/initrd-xen"
|
|
+
|
|
+# Or use domUloader instead of kernel/ramdisk to get kernel from domU FS
|
|
+#bootloader = "/usr/lib/xen/boot/domUloader.py"
|
|
+#bootentry = "hda2:/vmlinuz-xen,/initrd-xen"
|
|
|
|
# The domain build function. Default is 'linux'.
|
|
#builder='linux'
|
|
Index: xen-4.0.0-testing/tools/examples/xmexample.hvm
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/tools/examples/xmexample.hvm
|
|
+++ xen-4.0.0-testing/tools/examples/xmexample.hvm
|
|
@@ -78,7 +78,7 @@ vif = [ 'type=ioemu, bridge=xenbr0' ]
|
|
# and MODE is r for read-only, w for read-write.
|
|
|
|
#disk = [ 'phy:hda1,hda1,r' ]
|
|
-disk = [ 'file:/var/images/min-el3-i386.img,hda,w', ',hdc:cdrom,r' ]
|
|
+disk = [ 'file:/var/lib/xen/images/disk.img,ioemu:hda,w', ',hdc:cdrom,r' ]
|
|
|
|
#----------------------------------------------------------------------------
|
|
# Configure the behaviour when a domain exits. There are three 'reasons'
|
|
Index: xen-4.0.0-testing/docs/man/xmdomain.cfg.pod.5
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/docs/man/xmdomain.cfg.pod.5
|
|
+++ xen-4.0.0-testing/docs/man/xmdomain.cfg.pod.5
|
|
@@ -38,13 +38,13 @@ file.
|
|
|
|
The kernel image for the domain. The format of the parameter is the
|
|
fully qualified path to the kernel image file,
|
|
-i.e. I</boot/vmlinuz-2.6.12-xenU>.
|
|
+i.e. I</boot/vmlinuz-xen>.
|
|
|
|
|
|
=item B<ramdisk>
|
|
|
|
The initial ramdisk for the domain. The format of the parameter is
|
|
-the fully qualified path to the initrd, i.e. I</boot/initrd.gz>. On
|
|
+the fully qualified path to the initrd, i.e. I</boot/initrd-xen>. On
|
|
many Linux distros you will not need a ramdisk if using the default
|
|
xen kernel.
|
|
|
|
@@ -323,14 +323,14 @@ configured. They should not be consider
|
|
|
|
=item I<A Loopback File as Root>
|
|
|
|
- kernel = "/boot/vmlinuz-2.6-xenU"
|
|
+ kernel = "/boot/vmlinuz-xen"
|
|
memory = 128
|
|
name = "MyLinux"
|
|
- root = "/dev/hda1 ro"
|
|
- disk = [ "file:/var/xen/mylinux.img,hda1,w" ]
|
|
+ root = "/dev/hda1"
|
|
+ disk = [ "file:/var/lib/xen/images/MyLinux/hda1,hda1,w" ]
|
|
|
|
This creates a domain called MyLinux with 128 MB of memory using a
|
|
-default xen kernel, and the file /var/xen/mylinux.img loopback mounted
|
|
+default xen kernel, and the file hda1 loopback mounted
|
|
at hda1, which is the root filesystem.
|
|
|
|
=item I<NFS Root>
|
|
Index: xen-4.0.0-testing/docs/man/xm.pod.1
|
|
===================================================================
|
|
--- xen-4.0.0-testing.orig/docs/man/xm.pod.1
|
|
+++ xen-4.0.0-testing/docs/man/xm.pod.1
|
|
@@ -163,8 +163,8 @@ soon as it is run.
|
|
|
|
=item I<without config file>
|
|
|
|
- xm create /dev/null ramdisk=initrd.img \
|
|
- kernel=/boot/vmlinuz-2.6.12.6-xenU \
|
|
+ xm create /dev/null ramdisk=initrd-xen \
|
|
+ kernel=/boot/vmlinuz-xen \
|
|
name=ramdisk vif='' vcpus=1 \
|
|
memory=64 root=/dev/ram0
|
|
|