diff --git a/19154-snoop-control.patch b/19154-snoop-control.patch new file mode 100644 index 0000000..f03d099 --- /dev/null +++ b/19154-snoop-control.patch @@ -0,0 +1,68 @@ +# HG changeset patch +# User Keir Fraser +# Date 1233748806 0 +# Node ID 6058887e55d7096f8b32c1f0576c601b080dc879 +# Parent 7e15ccb7bbd88e550ada6a6b86196cc4e5d880b6 +vtd: Add a boot parameter option for snoop control capability for VT-d. +The default is to use snoop control. + +Signed-off-by: Xin, Xiaohui + +Index: xen-3.3.1-testing/xen/drivers/passthrough/iommu.c +=================================================================== +--- xen-3.3.1-testing.orig/xen/drivers/passthrough/iommu.c ++++ xen-3.3.1-testing/xen/drivers/passthrough/iommu.c +@@ -34,6 +34,8 @@ int amd_iov_detect(void); + * no-pv Disable IOMMU for PV domains (default) + * force|required Don't boot unless IOMMU is enabled + * passthrough Bypass VT-d translation for Dom0 ++ * snoop Utilize the snoop control for IOMMU (default) ++ * no-snoop Dont utilize the snoop control for IOMMU + */ + custom_param("iommu", parse_iommu_param); + int iommu_enabled = 0; +@@ -46,6 +48,7 @@ static void __init parse_iommu_param(cha + { + char *ss; + iommu_enabled = 1; ++ iommu_snoop = 1; + + do { + ss = strchr(s, ','); +@@ -63,6 +66,10 @@ static void __init parse_iommu_param(cha + force_iommu = 1; + else if ( !strcmp(s, "passthrough") ) + iommu_passthrough = 1; ++ else if ( !strcmp(s, "snoop") ) ++ iommu_snoop = 1; ++ else if ( !strcmp(s, "no-snoop") ) ++ iommu_snoop = 0; + + s = ss + 1; + } while ( ss ); +Index: xen-3.3.1-testing/xen/drivers/passthrough/vtd/dmar.c +=================================================================== +--- xen-3.3.1-testing.orig/xen/drivers/passthrough/vtd/dmar.c ++++ xen-3.3.1-testing/xen/drivers/passthrough/vtd/dmar.c +@@ -530,13 +530,15 @@ int acpi_dmar_init(void) + /* Giving that all devices within guest use same io page table, + * enable snoop control only if all VT-d engines support it. + */ +- iommu_snoop = 1; +- for_each_drhd_unit ( drhd ) ++ if ( iommu_snoop ) + { +- iommu = drhd->iommu; +- if ( !ecap_snp_ctl(iommu->ecap) ) { +- iommu_snoop = 0; +- break; ++ for_each_drhd_unit ( drhd ) ++ { ++ iommu = drhd->iommu; ++ if ( !ecap_snp_ctl(iommu->ecap) ) { ++ iommu_snoop = 0; ++ break; ++ } + } + } + diff --git a/19198-fix-snoop.patch b/19198-fix-snoop.patch new file mode 100644 index 0000000..a1374a9 --- /dev/null +++ b/19198-fix-snoop.patch @@ -0,0 +1,85 @@ +# HG changeset patch +# User Keir Fraser +# Date 1234436057 0 +# Node ID 32b15413749255e0cd518f25d9202759586dcb27 +# Parent 94e12fa57816c26f8b76061f17c33928be202c85 +vtd: move the snoop control detection out of acpi_dmar_init() +where the capability value is not initialized thus we may +get random value. + +Signed-off-by: Xin, Xiaohui + +Index: xen-3.3.1-testing/xen/drivers/passthrough/vtd/dmar.c +=================================================================== +--- xen-3.3.1-testing.orig/xen/drivers/passthrough/vtd/dmar.c ++++ xen-3.3.1-testing/xen/drivers/passthrough/vtd/dmar.c +@@ -509,8 +509,6 @@ static int __init acpi_parse_dmar(struct + int acpi_dmar_init(void) + { + int rc; +- struct acpi_drhd_unit *drhd; +- struct iommu *iommu; + + rc = -ENODEV; + if ( force_iommu ) +@@ -527,22 +525,7 @@ int acpi_dmar_init(void) + if ( list_empty(&acpi_drhd_units) ) + goto fail; + +- /* Giving that all devices within guest use same io page table, +- * enable snoop control only if all VT-d engines support it. +- */ +- if ( iommu_snoop ) +- { +- for_each_drhd_unit ( drhd ) +- { +- iommu = drhd->iommu; +- if ( !ecap_snp_ctl(iommu->ecap) ) { +- iommu_snoop = 0; +- break; +- } +- } +- } +- +- printk("Intel VT-d has been enabled, snoop_control=%d.\n", iommu_snoop); ++ printk("Intel VT-d has been enabled\n"); + + return 0; + +Index: xen-3.3.1-testing/xen/drivers/passthrough/vtd/iommu.c +=================================================================== +--- xen-3.3.1-testing.orig/xen/drivers/passthrough/vtd/iommu.c ++++ xen-3.3.1-testing/xen/drivers/passthrough/vtd/iommu.c +@@ -1813,6 +1813,24 @@ int intel_vtd_setup(void) + if ( init_vtd_hw() ) + goto error; + ++ /* Giving that all devices within guest use same io page table, ++ * enable snoop control only if all VT-d engines support it. ++ */ ++ ++ if ( iommu_snoop ) ++ { ++ for_each_drhd_unit ( drhd ) ++ { ++ iommu = drhd->iommu; ++ if ( !ecap_snp_ctl(iommu->ecap) ) { ++ iommu_snoop = 0; ++ break; ++ } ++ } ++ } ++ ++ printk("Intel VT-d snoop control %sabled\n", iommu_snoop ? "en" : "dis"); ++ + register_keyhandler('V', dump_iommu_info, "dump iommu info"); + + return 0; +@@ -1821,6 +1839,7 @@ int intel_vtd_setup(void) + for_each_drhd_unit ( drhd ) + iommu_free(drhd); + vtd_enabled = 0; ++ iommu_snoop = 0; + return -ENOMEM; + } + diff --git a/blktap-error-handling.patch b/blktap-error-handling.patch index 50f11f6..e7b1e89 100644 --- a/blktap-error-handling.patch +++ b/blktap-error-handling.patch @@ -55,7 +55,7 @@ Index: xen-3.3.1-testing/tools/blktap/lib/xenbus.c #include "blktaplib.h" #include "list.h" #include "xs_api.h" -@@ -149,6 +150,125 @@ static int backend_remove(struct xs_hand +@@ -149,6 +150,130 @@ static int backend_remove(struct xs_hand return 0; } @@ -88,6 +88,9 @@ Index: xen-3.3.1-testing/tools/blktap/lib/xenbus.c + + /* Iterate through the devices of all VMs */ + domains = xs_directory(h, XBT_NULL, "backend/tap", &num_dom); ++ if (domains == NULL) ++ num_dom = 0; ++ + for (i = 0; !ret && (i < num_dom); i++) { + + /* If it's the same VM, no action needed */ @@ -110,6 +113,8 @@ Index: xen-3.3.1-testing/tools/blktap/lib/xenbus.c + break; + } + devices = xs_directory(h, XBT_NULL, path, &num_dev); ++ if (devices == NULL) ++ num_dev = 0; + free(path); + + for (j = 0; !ret && (j < num_dev); j++) { @@ -181,7 +186,7 @@ Index: xen-3.3.1-testing/tools/blktap/lib/xenbus.c static void ueblktap_setup(struct xs_handle *h, char *bepath) { struct backend_info *be; -@@ -156,6 +276,7 @@ static void ueblktap_setup(struct xs_han +@@ -156,6 +281,7 @@ static void ueblktap_setup(struct xs_han int len, er, deverr; long int pdev = 0, handle; blkif_info_t *blk; @@ -189,7 +194,7 @@ Index: xen-3.3.1-testing/tools/blktap/lib/xenbus.c be = be_lookup_be(bepath); if (be == NULL) -@@ -211,6 +332,9 @@ static void ueblktap_setup(struct xs_han +@@ -211,6 +337,9 @@ static void ueblktap_setup(struct xs_han be->pdev = pdev; } @@ -199,7 +204,7 @@ Index: xen-3.3.1-testing/tools/blktap/lib/xenbus.c er = blkif_init(be->blkif, handle, be->pdev, be->readonly); if (er != 0) { DPRINTF("Unable to open device %s\n",blk->params); -@@ -246,12 +370,21 @@ static void ueblktap_setup(struct xs_han +@@ -246,12 +375,21 @@ static void ueblktap_setup(struct xs_han } be->blkif->state = CONNECTED; @@ -222,7 +227,7 @@ Index: xen-3.3.1-testing/tools/blktap/lib/xenbus.c close: if (path) free(path); -@@ -286,7 +419,8 @@ static void ueblktap_probe(struct xs_han +@@ -286,7 +424,8 @@ static void ueblktap_probe(struct xs_han len = strsep_len(bepath, '/', 7); if (len < 0) goto free_be; diff --git a/hv_xen_base.patch b/hv_xen_base.patch index 7f1d50f..3202c72 100644 --- a/hv_xen_base.patch +++ b/hv_xen_base.patch @@ -2,7 +2,7 @@ Index: xen-3.3.1-testing/xen/include/asm-x86/hvm/domain.h =================================================================== --- xen-3.3.1-testing.orig/xen/include/asm-x86/hvm/domain.h 2009-01-05 13:27:58.000000000 -0700 -+++ xen-3.3.1-testing/xen/include/asm-x86/hvm/domain.h 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/include/asm-x86/hvm/domain.h 2009-02-12 10:18:31.000000000 -0700 @@ -82,6 +82,7 @@ struct vmx_domain vmx; struct svm_domain svm; @@ -14,7 +14,7 @@ Index: xen-3.3.1-testing/xen/include/asm-x86/hvm/domain.h Index: xen-3.3.1-testing/xen/arch/x86/hvm/Makefile =================================================================== --- xen-3.3.1-testing.orig/xen/arch/x86/hvm/Makefile 2009-01-05 13:27:57.000000000 -0700 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/Makefile 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/Makefile 2009-02-12 10:18:31.000000000 -0700 @@ -1,5 +1,6 @@ subdir-y += svm subdir-y += vmx @@ -24,8 +24,8 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/Makefile obj-y += hvm.o Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c =================================================================== ---- xen-3.3.1-testing.orig/xen/arch/x86/hvm/hvm.c 2009-01-05 13:27:57.000000000 -0700 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c 2009-01-22 13:23:44.000000000 -0700 +--- xen-3.3.1-testing.orig/xen/arch/x86/hvm/hvm.c 2009-02-12 10:18:30.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c 2009-02-12 10:18:31.000000000 -0700 @@ -44,6 +44,7 @@ #include #include @@ -42,7 +42,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c hvm_funcs.domain_destroy(d); rtc_deinit(d); stdvga_deinit(d); -@@ -644,8 +646,14 @@ +@@ -662,8 +664,14 @@ { int rc; @@ -57,7 +57,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c if ( (rc = hvm_funcs.vcpu_initialise(v)) != 0 ) goto fail2; -@@ -692,12 +700,14 @@ +@@ -710,12 +718,14 @@ hvm_funcs.vcpu_destroy(v); fail2: vlapic_destroy(v); @@ -72,7 +72,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c hvm_vcpu_cacheattr_destroy(v); vlapic_destroy(v); hvm_funcs.vcpu_destroy(v); -@@ -1645,7 +1655,7 @@ +@@ -1663,7 +1673,7 @@ struct vcpu *v = current; if ( cpuid_hypervisor_leaves(input, eax, ebx, ecx, edx) ) @@ -81,7 +81,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c domain_cpuid(v->domain, input, *ecx, eax, ebx, ecx, edx); -@@ -1657,6 +1667,8 @@ +@@ -1675,6 +1685,8 @@ if ( vlapic_hw_disabled(vcpu_vlapic(v)) ) __clear_bit(X86_FEATURE_APIC & 31, edx); } @@ -90,7 +90,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c } void hvm_rdtsc_intercept(struct cpu_user_regs *regs) -@@ -1747,6 +1759,8 @@ +@@ -1765,6 +1777,8 @@ break; default: @@ -99,7 +99,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c return hvm_funcs.msr_read_intercept(regs); } -@@ -1835,6 +1849,8 @@ +@@ -1853,6 +1867,8 @@ break; default: @@ -108,7 +108,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c return hvm_funcs.msr_write_intercept(regs); } -@@ -2002,6 +2018,10 @@ +@@ -2020,6 +2036,10 @@ case 0: break; } @@ -119,7 +119,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c if ( (eax >= NR_hypercalls) || !hvm_hypercall32_table[eax] ) { -@@ -2503,6 +2523,15 @@ +@@ -2521,6 +2541,15 @@ rc = -EINVAL; break; @@ -138,7 +138,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c Index: xen-3.3.1-testing/xen/include/public/arch-x86/hvm/save.h =================================================================== --- xen-3.3.1-testing.orig/xen/include/public/arch-x86/hvm/save.h 2009-01-05 13:27:58.000000000 -0700 -+++ xen-3.3.1-testing/xen/include/public/arch-x86/hvm/save.h 2009-01-23 08:35:50.000000000 -0700 ++++ xen-3.3.1-testing/xen/include/public/arch-x86/hvm/save.h 2009-02-12 10:18:31.000000000 -0700 @@ -38,7 +38,7 @@ uint32_t version; /* File format version */ uint64_t changeset; /* Version of Xen that saved this file */ @@ -175,8 +175,8 @@ Index: xen-3.3.1-testing/xen/include/public/arch-x86/hvm/save.h #endif /* __XEN_PUBLIC_HVM_SAVE_X86_H__ */ Index: xen-3.3.1-testing/xen/arch/x86/hvm/vlapic.c =================================================================== ---- xen-3.3.1-testing.orig/xen/arch/x86/hvm/vlapic.c 2009-01-22 13:23:43.000000000 -0700 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/vlapic.c 2009-01-22 13:23:44.000000000 -0700 +--- xen-3.3.1-testing.orig/xen/arch/x86/hvm/vlapic.c 2009-02-12 10:18:30.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/vlapic.c 2009-02-12 10:18:31.000000000 -0700 @@ -34,6 +34,7 @@ #include #include @@ -196,7 +196,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/vlapic.c Index: xen-3.3.1-testing/xen/include/public/hvm/params.h =================================================================== --- xen-3.3.1-testing.orig/xen/include/public/hvm/params.h 2009-01-05 13:27:58.000000000 -0700 -+++ xen-3.3.1-testing/xen/include/public/hvm/params.h 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/include/public/hvm/params.h 2009-02-12 10:18:31.000000000 -0700 @@ -93,6 +93,8 @@ /* ACPI S state: currently support S0 and S3 on x86. */ #define HVM_PARAM_ACPI_S_STATE 14 diff --git a/hv_xen_extension.patch b/hv_xen_extension.patch index d3a7755..750c016 100644 --- a/hv_xen_extension.patch +++ b/hv_xen_extension.patch @@ -2,7 +2,7 @@ Index: xen-3.3.1-testing/xen/include/asm-x86/hvm/hvm_extensions.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xen-3.3.1-testing/xen/include/asm-x86/hvm/hvm_extensions.h 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/include/asm-x86/hvm/hvm_extensions.h 2009-02-12 10:18:31.000000000 -0700 @@ -0,0 +1,165 @@ +/**************************************************************************** + | @@ -172,14 +172,14 @@ Index: xen-3.3.1-testing/xen/include/asm-x86/hvm/hvm_extensions.h Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/Makefile =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/Makefile 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/Makefile 2009-02-12 10:18:31.000000000 -0700 @@ -0,0 +1,2 @@ +obj-y += hv_intercept.o +obj-y += hv_hypercall.o Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_errno.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_errno.h 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_errno.h 2009-02-12 10:18:31.000000000 -0700 @@ -0,0 +1,62 @@ +/**************************************************************************** + | @@ -246,7 +246,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_errno.h Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_hypercall.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_hypercall.c 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_hypercall.c 2009-02-12 10:18:31.000000000 -0700 @@ -0,0 +1,153 @@ +/**************************************************************************** + | @@ -404,7 +404,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_hypercall.c Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_hypercall.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_hypercall.h 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_hypercall.h 2009-02-12 10:18:31.000000000 -0700 @@ -0,0 +1,46 @@ +/**************************************************************************** + | @@ -455,7 +455,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_hypercall.h Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_intercept.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_intercept.c 2009-01-26 12:33:27.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_intercept.c 2009-02-12 10:18:31.000000000 -0700 @@ -0,0 +1,1008 @@ +/**************************************************************************** + | @@ -1468,7 +1468,7 @@ Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_intercept.c Index: xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_shim.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_shim.h 2009-01-22 13:23:44.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/hyperv/hv_shim.h 2009-02-12 10:18:31.000000000 -0700 @@ -0,0 +1,285 @@ +/**************************************************************************** + | diff --git a/ioemu-debuginfo.patch b/ioemu-debuginfo.patch new file mode 100644 index 0000000..5de47e2 --- /dev/null +++ b/ioemu-debuginfo.patch @@ -0,0 +1,26 @@ +Index: xen-3.3.1-testing/tools/ioemu-remote/Makefile +=================================================================== +--- xen-3.3.1-testing.orig/tools/ioemu-remote/Makefile ++++ xen-3.3.1-testing/tools/ioemu-remote/Makefile +@@ -205,7 +205,7 @@ endif + install: all $(if $(BUILD_DOCS),install-doc) + mkdir -p "$(DESTDIR)$(bindir)" + ifneq ($(TOOLS),) +- $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)" ++ $(INSTALL) -m 755 $(TOOLS) "$(DESTDIR)$(bindir)" + endif + mkdir -p "$(DESTDIR)$(datadir)" + set -e; for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \ +Index: xen-3.3.1-testing/tools/ioemu-remote/Makefile.target +=================================================================== +--- xen-3.3.1-testing.orig/tools/ioemu-remote/Makefile.target ++++ xen-3.3.1-testing/tools/ioemu-remote/Makefile.target +@@ -707,7 +707,7 @@ clean: + + install: all install-hook + ifneq ($(PROGS),) +- $(INSTALL) -m 755 -s $(PROGS) "$(DESTDIR)$(bindir)" ++ $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)" + endif + + # Include automatically generated dependency files diff --git a/ioemu-vpc-4gb-fix.patch b/ioemu-vpc-4gb-fix.patch new file mode 100644 index 0000000..034b300 --- /dev/null +++ b/ioemu-vpc-4gb-fix.patch @@ -0,0 +1,13 @@ +Index: xen-3.3.1-testing/tools/ioemu-remote/block-vpc.c +=================================================================== +--- xen-3.3.1-testing.orig/tools/ioemu-remote/block-vpc.c ++++ xen-3.3.1-testing/tools/ioemu-remote/block-vpc.c +@@ -156,7 +156,7 @@ static inline int seek_to_sector(BlockDr + if (pagetable_index > s->pagetable_entries || s->pagetable[pagetable_index] == 0xffffffff) + return -1; // not allocated + +- bitmap_offset = 512 * s->pagetable[pagetable_index]; ++ bitmap_offset = 512 * (uint64_t) s->pagetable[pagetable_index]; + block_offset = bitmap_offset + 512 + (512 * pageentry_index); + + // printf("sector: %" PRIx64 ", index: %x, offset: %x, bioff: %" PRIx64 ", bloff: %" PRIx64 "\n", diff --git a/network-nat.patch b/network-nat.patch new file mode 100644 index 0000000..cb87e55 --- /dev/null +++ b/network-nat.patch @@ -0,0 +1,10 @@ +Index: xen-3.3.1-testing/tools/examples/network-nat +=================================================================== +--- xen-3.3.1-testing.orig/tools/examples/network-nat ++++ xen-3.3.1-testing/tools/examples/network-nat +@@ -1,4 +1,4 @@ +-#!/bin/bash -x ++#!/bin/bash + #============================================================================ + # Default Xen network start/stop script when using NAT. + # Xend calls a network script when it starts. diff --git a/old-arbytes.patch b/old-arbytes.patch new file mode 100644 index 0000000..88639da --- /dev/null +++ b/old-arbytes.patch @@ -0,0 +1,30 @@ +Index: xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c +=================================================================== +--- xen-3.3.1-testing.orig/xen/arch/x86/hvm/hvm.c 2009-02-12 09:23:34.000000000 -0700 ++++ xen-3.3.1-testing/xen/arch/x86/hvm/hvm.c 2009-02-12 09:29:19.000000000 -0700 +@@ -544,7 +544,25 @@ + if ( hvm_funcs.load_cpu_ctxt(v, &ctxt) < 0 ) + return -EINVAL; + ++ ++ /* Older Xen versions used to save the segment arbytes directly ++ * from the VMCS on Intel hosts. Detect this and rearrange them ++ * into the struct segment_register format. */ ++ ++#define UNFOLD_ARBYTES(_r) \ ++ if ( (_r & 0xf000) && !(_r & 0x0f00) ) \ ++ _r = ((_r & 0xff) | ((_r >> 4) & 0xf00)) ++ UNFOLD_ARBYTES(ctxt.cs_arbytes); ++ UNFOLD_ARBYTES(ctxt.ds_arbytes); ++ UNFOLD_ARBYTES(ctxt.es_arbytes); ++ UNFOLD_ARBYTES(ctxt.fs_arbytes); ++ UNFOLD_ARBYTES(ctxt.gs_arbytes); ++ UNFOLD_ARBYTES(ctxt.ss_arbytes); ++ UNFOLD_ARBYTES(ctxt.tr_arbytes); ++ UNFOLD_ARBYTES(ctxt.ldtr_arbytes); ++#undef UNFOLD_ARBYTES + seg.limit = ctxt.idtr_limit; ++ + seg.base = ctxt.idtr_base; + hvm_set_segment_register(v, x86_seg_idtr, &seg); + diff --git a/qemu-dm-segfault.patch b/qemu-dm-segfault.patch new file mode 100644 index 0000000..e1b7a4d --- /dev/null +++ b/qemu-dm-segfault.patch @@ -0,0 +1,86 @@ +Index: xen-3.3.1-testing/tools/ioemu-remote/hw/ide.c +=================================================================== +--- xen-3.3.1-testing.orig/tools/ioemu-remote/hw/ide.c ++++ xen-3.3.1-testing/tools/ioemu-remote/hw/ide.c +@@ -908,8 +908,12 @@ static inline void ide_dma_submit_check( + + static inline void ide_set_irq(IDEState *s) + { +- BMDMAState *bm = s->bmdma; +- if (!s->bs) return; /* yikes */ ++ BMDMAState *bm; ++ ++ if (!s || !s->bs) return; /* yikes */ ++ ++ bm = s->bmdma; ++ + if (!(s->cmd & IDE_CMD_DISABLE_IRQ)) { + if (bm) { + bm->status |= BM_STATUS_INT; +@@ -1094,15 +1098,13 @@ static void ide_read_dma_cb(void *opaque + int n; + int64_t sector_num; + ++ if (!s || !s->bs) return; /* yikes */ ++ + if (ret < 0) { + ide_dma_error(s); + return; + } + +- if (!s->bs) return; /* yikes */ +- +- if (!s->bs) return; /* yikes */ +- + n = s->io_buffer_size >> 9; + sector_num = ide_get_sector(s); + if (n > 0) { +@@ -1222,15 +1224,13 @@ static void ide_write_dma_cb(void *opaqu + int n; + int64_t sector_num; + ++ if (!s || !s->bs) return; /* yikes */ ++ + if (ret < 0) { + ide_dma_error(s); + return; + } + +- if (!s->bs) return; /* yikes */ +- +- if (!s->bs) return; /* yikes */ +- + n = s->io_buffer_size >> 9; + sector_num = ide_get_sector(s); + if (n > 0) { +@@ -1290,7 +1290,7 @@ static void ide_flush_cb(void *opaque, i + { + IDEState *s = opaque; + +- if (!s->bs) return; /* yikes */ ++ if (!s || !s->bs) return; /* yikes */ + + if (ret) { + /* We are completely doomed. The IDE spec does not permit us +@@ -1536,9 +1536,7 @@ static void ide_atapi_cmd_read_dma_cb(vo + IDEState *s = bm->ide_if; + int data_offset, n; + +- if (!s->bs) return; /* yikes */ +- +- if (!s->bs) return; /* yikes */ ++ if (!s || !s->bs) return; /* yikes */ + + if (ret < 0) { + ide_atapi_io_error(s, ret); +@@ -2119,9 +2117,7 @@ static void cdrom_change_cb(void *opaque + IDEState *s = opaque; + uint64_t nb_sectors; + +- if (!s->bs) return; /* yikes */ +- +- if (!s->bs) return; /* yikes */ ++ if (!s || !s->bs) return; /* yikes */ + + /* XXX: send interrupt too */ + bdrv_get_geometry(s->bs, &nb_sectors); diff --git a/snapshot-xend.patch b/snapshot-xend.patch index 4a70630..6dea38f 100644 --- a/snapshot-xend.patch +++ b/snapshot-xend.patch @@ -514,7 +514,7 @@ Index: xen-3.3.1-testing/tools/python/xen/xm/main.py =================================================================== --- xen-3.3.1-testing.orig/tools/python/xen/xm/main.py +++ xen-3.3.1-testing/tools/python/xen/xm/main.py -@@ -122,6 +122,14 @@ SUBCOMMAND_HELP = { +@@ -126,6 +126,14 @@ SUBCOMMAND_HELP = { 'Restore a domain from a saved state.'), 'save' : ('[-c] ', 'Save a domain state to restore later.'), @@ -529,7 +529,7 @@ Index: xen-3.3.1-testing/tools/python/xen/xm/main.py 'shutdown' : (' [-waRH]', 'Shutdown a domain.'), 'top' : ('', 'Monitor a host and the domains in real time.'), 'unpause' : ('', 'Unpause a paused domain.'), -@@ -278,6 +286,9 @@ SUBCOMMAND_OPTIONS = { +@@ -282,6 +290,9 @@ SUBCOMMAND_OPTIONS = { 'save': ( ('-c', '--checkpoint', 'Leave domain running after creating snapshot'), ), @@ -539,7 +539,7 @@ Index: xen-3.3.1-testing/tools/python/xen/xm/main.py 'restore': ( ('-p', '--paused', 'Do not unpause domain after restoring it'), ), -@@ -304,6 +315,10 @@ common_commands = [ +@@ -308,6 +319,10 @@ common_commands = [ "restore", "resume", "save", @@ -550,7 +550,7 @@ Index: xen-3.3.1-testing/tools/python/xen/xm/main.py "shell", "shutdown", "start", -@@ -335,6 +350,10 @@ domain_commands = [ +@@ -339,6 +354,10 @@ domain_commands = [ "restore", "resume", "save", @@ -561,7 +561,7 @@ Index: xen-3.3.1-testing/tools/python/xen/xm/main.py "shutdown", "start", "suspend", -@@ -726,6 +745,62 @@ def xm_event_monitor(args): +@@ -730,6 +749,62 @@ def xm_event_monitor(args): # ######################################################################### @@ -624,7 +624,7 @@ Index: xen-3.3.1-testing/tools/python/xen/xm/main.py def xm_save(args): arg_check(args, "save", 2, 3) -@@ -2758,6 +2833,10 @@ commands = { +@@ -2762,6 +2837,10 @@ commands = { "restore": xm_restore, "resume": xm_resume, "save": xm_save, diff --git a/xen-fixme-doc.diff b/xen-fixme-doc.diff index 6996fa9..510d3ec 100644 --- a/xen-fixme-doc.diff +++ b/xen-fixme-doc.diff @@ -23,7 +23,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =================================================================== --- xen-3.3.1-testing.orig/docs/man/xm.pod.1 +++ xen-3.3.1-testing/docs/man/xm.pod.1 -@@ -295,7 +295,8 @@ scheduling by the Xen hypervisor. +@@ -297,7 +297,8 @@ scheduling by the Xen hypervisor. =item B @@ -33,7 +33,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =item B -@@ -308,8 +309,6 @@ restart on crash. See L f +@@ -310,8 +311,6 @@ restart on crash. See L f The domain is in process of dying, but hasn't completely shutdown or crashed. @@ -42,7 +42,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =back B -@@ -733,8 +732,6 @@ Xen ships with a number of domain schedu +@@ -735,8 +734,6 @@ Xen ships with a number of domain schedu time with the B parameter on the Xen command line. By default B is used for scheduling. @@ -51,7 +51,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =over 4 =item B [ B<-d> I [ B<-w>[B<=>I] | B<-c>[B<=>I] ] ] -@@ -784,8 +781,6 @@ The normal EDF scheduling usage in nanos +@@ -786,8 +783,6 @@ The normal EDF scheduling usage in nanos The normal EDF scheduling usage in nanoseconds @@ -60,7 +60,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =item I Scaled period if domain is doing heavy I/O. -@@ -935,9 +930,6 @@ the default setting in xend-config.sxp f +@@ -937,9 +932,6 @@ the default setting in xend-config.sxp f Passes the specified IP Address to the adapter on creation. @@ -70,7 +70,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =item BI The MAC address that the domain will see on its Ethernet device. If -@@ -963,9 +955,6 @@ Removes the network device from the doma +@@ -965,9 +957,6 @@ Removes the network device from the doma I is the virtual interface device number within the domain (i.e. the 3 in vif22.3). @@ -80,7 +80,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =item B [B<-l>|B<--long>]> I List virtual network interfaces for a domain. The returned output is -@@ -988,9 +977,6 @@ formatted as a list or as an S-Expressio +@@ -990,9 +979,6 @@ formatted as a list or as an S-Expressio The Virtual Network interfaces for Xen. diff --git a/xen-ioemu-hvm-pv-support.diff b/xen-ioemu-hvm-pv-support.diff index 8abe897..757fccd 100644 --- a/xen-ioemu-hvm-pv-support.diff +++ b/xen-ioemu-hvm-pv-support.diff @@ -12,7 +12,7 @@ Index: xen-3.3.1-testing/tools/ioemu-remote/hw/ide.c #if defined(__ia64__) #include -@@ -2778,6 +2781,27 @@ static void ide_reset(IDEState *s) +@@ -2770,6 +2773,27 @@ static void ide_reset(IDEState *s) s->media_changed = 0; } @@ -40,7 +40,7 @@ Index: xen-3.3.1-testing/tools/ioemu-remote/hw/ide.c struct partition { uint8_t boot_ind; /* 0x80 - active */ uint8_t head; /* starting head */ -@@ -3290,6 +3314,10 @@ void pci_cmd646_ide_init(PCIBus *bus, Bl +@@ -3282,6 +3306,10 @@ void pci_cmd646_ide_init(PCIBus *bus, Bl sizeof(PCIIDEState), -1, NULL, NULL); @@ -51,7 +51,7 @@ Index: xen-3.3.1-testing/tools/ioemu-remote/hw/ide.c d->type = IDE_TYPE_CMD646; pci_conf = d->dev.config; pci_conf[0x00] = 0x95; // CMD646 -@@ -3421,6 +3449,10 @@ void pci_piix3_ide_init(PCIBus *bus, Blo +@@ -3413,6 +3441,10 @@ void pci_piix3_ide_init(PCIBus *bus, Blo NULL, NULL); d->type = IDE_TYPE_PIIX3; diff --git a/xen-paths.diff b/xen-paths.diff index bffa0a3..297cb79 100644 --- a/xen-paths.diff +++ b/xen-paths.diff @@ -15,7 +15,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =================================================================== --- xen-3.3.1-testing.orig/docs/man/xm.pod.1 +++ xen-3.3.1-testing/docs/man/xm.pod.1 -@@ -75,7 +75,7 @@ in the config file. See L +@@ -77,7 +77,7 @@ in the config file. See L format, and possible options used in either the configfile or for I. I can either be an absolute path to a file, or a relative @@ -24,7 +24,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 Create will return B as the domain is started. This B mean the guest OS in the domain has actually booted, or is -@@ -156,7 +156,7 @@ B +@@ -158,7 +158,7 @@ B xm create Fedora4 diff --git a/xen-xm-top-needs-root.diff b/xen-xm-top-needs-root.diff index 1a88747..a8551a0 100644 --- a/xen-xm-top-needs-root.diff +++ b/xen-xm-top-needs-root.diff @@ -5,7 +5,7 @@ Index: xen-3.3.1-testing/tools/python/xen/xm/main.py =================================================================== --- xen-3.3.1-testing.orig/tools/python/xen/xm/main.py +++ xen-3.3.1-testing/tools/python/xen/xm/main.py -@@ -1934,6 +1934,10 @@ def xm_debug_keys(args): +@@ -1938,6 +1938,10 @@ def xm_debug_keys(args): def xm_top(args): arg_check(args, "top", 0) diff --git a/xen-xmexample.diff b/xen-xmexample.diff index f432641..4f0a230 100644 --- a/xen-xmexample.diff +++ b/xen-xmexample.diff @@ -165,7 +165,7 @@ Index: xen-3.3.1-testing/docs/man/xm.pod.1 =================================================================== --- xen-3.3.1-testing.orig/docs/man/xm.pod.1 +++ xen-3.3.1-testing/docs/man/xm.pod.1 -@@ -161,8 +161,8 @@ soon as it is run. +@@ -163,8 +163,8 @@ soon as it is run. =item I diff --git a/xen.changes b/xen.changes index e9c5439..b94d681 100644 --- a/xen.changes +++ b/xen.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Fri Feb 20 11:46:12 CET 2009 - kwolf@suse.de + +- bnc#472390 - Enable debuginfo for ioemu + ioemu-debuginfo.patch + +------------------------------------------------------------------- +Thu Feb 19 08:40:07 MST 2009 - carnold@novell.com + +- bnc#473883 - Xen: 64 bit guest crashes with qemu-dm segfault + qemu-dm-segfault.patch + +------------------------------------------------------------------- +Wed Feb 18 15:33:17 MST 2009 - jfehlig@novell.com + +- bnc#437776 - Remove tracing (bash -x) from network-nat script + network-nat.patch + +------------------------------------------------------------------- +Wed Feb 18 15:19:21 MST 2009 - jfehlig@novell.com + +- bnc#473815 - Handle NULL return when reading a xenstore path. + Updated blktap-error-handling.patch + +------------------------------------------------------------------- +Wed Feb 18 20:52:23 CET 2009 - kwolf@suse.de + +- Fix VHD image support for > 4 GB (offsets truncated to 32 bits) + ioemu-vpc-4gb-fix.patch + +------------------------------------------------------------------- +Thu Feb 12 12:03:44 EST 2009 - ksrinivasan@novell.com + +- bnc#468660 - Fix migration from sles10 to sles11 on Intel. + old-arbytes.patch + +------------------------------------------------------------------- +Thu Feb 12 08:17:31 MST 2009 - carnold@novell.com + +- bnc#473800 - If VT-d is enabled, Dom0 fails to boot up on + Nehalem-HEDT platform. + 19198-fix-snoop.patch + 19154-snoop-control.patch + ------------------------------------------------------------------- Thu Feb 5 12:03:44 MST 2009 - jfehlig@novell.com diff --git a/xen.spec b/xen.spec index f3a96c8..e63c96d 100644 --- a/xen.spec +++ b/xen.spec @@ -1,5 +1,5 @@ # -# spec file for package xen (Version 3.3.1_18546_06) +# spec file for package xen (Version 3.3.1_18546_08) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -37,8 +37,8 @@ BuildRequires: glibc-32bit glibc-devel-32bit %if %{?with_kmp}0 BuildRequires: kernel-source kernel-syms module-init-tools xorg-x11 %endif -Version: 3.3.1_18546_06 -Release: 1 +Version: 3.3.1_18546_08 +Release: 2 License: GPL v2 only Group: System/Kernel AutoReqProv: on @@ -152,6 +152,9 @@ Patch82: 19103-x86_64-fold-page-lock.patch Patch83: 19151-xend-class-dereg.patch Patch84: 19152-xm-man-page.patch Patch85: 19153-xm-noxen-error.patch +Patch86: 19154-snoop-control.patch +Patch87: 19198-fix-snoop.patch +Patch88: old-arbytes.patch # Our patches Patch100: xen-config.diff Patch101: xend-config.diff @@ -202,6 +205,8 @@ Patch163: ioemu-vnc-resize.patch # Needs to go upstream Patch164: checkpoint-rename.patch Patch165: reenable-block-protocols.patch +Patch166: network-nat.patch +Patch167: ioemu-debuginfo.patch # Patches for snapshot support Patch170: qemu-img-snapshot.patch Patch171: ioemu-blktap-fix-open.patch @@ -219,6 +224,8 @@ Patch186: blktap-ioemu-close-fix.patch Patch187: ioemu-blktap-zero-size.patch Patch188: blktap-error-handling.patch Patch189: ioemu-blktap-fv-init.patch +Patch190: ioemu-vpc-4gb-fix.patch +Patch191: qemu-dm-segfault.patch # Jim's domain lock patch Patch200: xend-domain-lock.patch # Patches from Jan @@ -659,6 +666,9 @@ Authors: %patch83 -p1 %patch84 -p1 %patch85 -p1 +%patch86 -p1 +%patch87 -p1 +%patch88 -p1 %patch100 -p1 %patch101 -p1 %patch102 -p1 @@ -706,6 +716,8 @@ Authors: %patch163 -p1 %patch164 -p1 %patch165 -p1 +%patch166 -p1 +%patch167 -p1 %patch170 -p1 %patch171 -p1 %patch172 -p1 @@ -722,6 +734,8 @@ Authors: %patch187 -p1 %patch188 -p1 %patch189 -p1 +%patch190 -p1 +%patch191 -p1 %patch200 -p1 %patch240 -p1 %patch241 -p1 @@ -1086,6 +1100,29 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug /sbin/ldconfig %changelog +* Fri Feb 20 2009 kwolf@suse.de +- bnc#472390 - Enable debuginfo for ioemu + ioemu-debuginfo.patch +* Thu Feb 19 2009 carnold@novell.com +- bnc#473883 - Xen: 64 bit guest crashes with qemu-dm segfault + qemu-dm-segfault.patch +* Wed Feb 18 2009 jfehlig@novell.com +- bnc#437776 - Remove tracing (bash -x) from network-nat script + network-nat.patch +* Wed Feb 18 2009 jfehlig@novell.com +- bnc#473815 - Handle NULL return when reading a xenstore path. + Updated blktap-error-handling.patch +* Wed Feb 18 2009 kwolf@suse.de +- Fix VHD image support for > 4 GB (offsets truncated to 32 bits) + ioemu-vpc-4gb-fix.patch +* Thu Feb 12 2009 ksrinivasan@novell.com +- bnc#468660 - Fix migration from sles10 to sles11 on Intel. + old-arbytes.patch +* Thu Feb 12 2009 carnold@novell.com +- bnc#473800 - If VT-d is enabled, Dom0 fails to boot up on + Nehalem-HEDT platform. + 19198-fix-snoop.patch + 19154-snoop-control.patch * Thu Feb 05 2009 jfehlig@novell.com - bnc#470133 - Better error handling in xm when not booted Xen 19153-xm-noxen-error.patch @@ -1121,7 +1158,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Thu Jan 22 2009 jbeulich@novell.com - Fix unmaskable MSI handling. 18778-msi-irq-fix.patch -* Wed Jan 21 2009 jfehlig@novell.com +* Thu Jan 22 2009 jfehlig@novell.com - bnc#467883 - Squelch output of xen-updown.sh sysconfig hook script and don't save state of tap devices not belonging to Xen. * Wed Jan 21 2009 carnold@novell.com @@ -1218,7 +1255,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug persistent across dom0 reboot * Wed Oct 29 2008 carnold@novell.com - bnc#436926 - Xen hypervisor crash -* Tue Oct 28 2008 jfehlig@novell.com +* Wed Oct 29 2008 jfehlig@novell.com - bnc#438927 - Fix migration bug in xend * Tue Oct 28 2008 carnold@suse.de - disable KMP, does not build with current kernel @@ -1234,7 +1271,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug vcpus > VCPUs_max on running domain. * Tue Oct 21 2008 carnold@novell.com - Update to changeset 18455. -* Thu Oct 16 2008 olh@suse.de +* Fri Oct 17 2008 olh@suse.de - add ExclusiveArch x86 x86_64 * Wed Oct 15 2008 jfehlig@novell.com - bnc#433722 - Fix handling of default bridge in qemu-ifup. @@ -1273,7 +1310,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug fate#302942 * Thu Sep 11 2008 jfehlig@novell.com - Added ocfs2 to Should-Start in xendomains init script -* Wed Sep 10 2008 plc@novell.com +* Thu Sep 11 2008 plc@novell.com - Added pv cdrom support to blktap fate#300964 * Wed Sep 10 2008 jfehlig@novell.com @@ -1311,7 +1348,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Mon Aug 18 2008 carnold@suse.de - Removed git dependency. Instead use a static version of ioemu-remote. -* Thu Aug 14 2008 jfehlig@novell.com +* Fri Aug 15 2008 jfehlig@novell.com - Added patch to prevent starting same domU from multiple hosts. Feature is disabled by default - see /etc/xen/xend-config.sxp. fate#305062 @@ -1384,7 +1421,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Update to Xen 3.2.1 FCS changeset 16881. * Fri Apr 11 2008 carnold@novell.com - Update to Xen 3.2.1 RC5 changeset 16864. -* Thu Apr 10 2008 jfehlig@novell.com +* Fri Apr 11 2008 jfehlig@novell.com - bnc#378595 - Do not use ifup/ifdown in network-bridge for now. * Mon Mar 24 2008 carnold@novell.com - bnc#373194 - The xen module and the kernel for Dom0 don't match. @@ -1417,7 +1454,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Fri Feb 29 2008 plc@novell.com - Send UNIT_ATTENTION when CD drive has newly inserted media and becomes ready. bnc#365386 -* Thu Feb 28 2008 jfehlig@novell.com +* Fri Feb 29 2008 jfehlig@novell.com - Updated block-iscsi script and xen-domUloader patch, bnc #365385 * Thu Feb 28 2008 carnold@novell.com - Add support for Intel EPT / VPID. @@ -1433,7 +1470,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Tranlate colors from 32 bit to 16 bit when viewing a 32 bit PV VM from a 16 bit client. bnc#351470 Also includes upstream mouse queue patch. -* Fri Feb 22 2008 jfehlig@novell.com +* Sat Feb 23 2008 jfehlig@novell.com - Added PAM configuration files for remote authentication via Xen API. bnc #353464 * Tue Feb 19 2008 carnold@novell.com @@ -1444,7 +1481,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Thu Feb 14 2008 carnold@novell.com - Added upstream changesets that fix various bugs. 16859 16929 16930 16945 16947 16962 16976 16980 16995 16998 17036 -* Wed Feb 13 2008 jfehlig@novell.com +* Thu Feb 14 2008 jfehlig@novell.com - Updated network-multinet - Simplify bridge creation - Create traditional bridge and hostonly networks by default @@ -1455,10 +1492,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Mon Feb 04 2008 plc@novell.com - Replaced xen-blktab-subtype-strip.patch with official upstream changeset for bnc#353065. -* Fri Feb 01 2008 carnold@novell.com +* Sat Feb 02 2008 carnold@novell.com - Update to xen 3.2 FCS. Changeset 16718 - Merge xen-tools and xen-tools-ioemu into xen-tools. -* Wed Dec 19 2007 carnold@novell.com +* Thu Dec 20 2007 carnold@novell.com - Update to xen 3.2 RC2. Changeset 16646 * Thu Dec 13 2007 carnold@novell.com - Added agent support for HP Proliant hardware. @@ -1475,11 +1512,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - #334445: xenbaked: Fix security vulnerability CVE-2007-3919. * Thu Nov 01 2007 carnold@novell.com - #310279: Kernel Panic while booting Xen -* Tue Oct 02 2007 ccoffing@novell.com +* Wed Oct 03 2007 ccoffing@novell.com - #286859: Fix booting from SAN * Thu Sep 13 2007 ccoffing@novell.com - #310338: Fix "No such file or directory" in network-multinet -* Wed Sep 12 2007 jfehlig@novell.com +* Thu Sep 13 2007 jfehlig@novell.com - #309940: Fix 'xm reboot' - Moved hvm_vnc.diff and xend_mem_leak.diff to 'Upstream patches' section of spec file since both have been accepted upstream now. @@ -1497,7 +1534,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - #289275 - domu will not reboot if pci= is passed in at boot time. * Fri Aug 24 2007 carnold@novell.com - #297345: Added several upstream patches for hvm migration. -* Fri Aug 17 2007 jfehlig@novell.com +* Sat Aug 18 2007 jfehlig@novell.com - Added upstream c/s 15128, 15153, 15477, and 15716. These patches provide foundation for bug #238986 - Renamed xend_dev_destroy_cleanup.patch to reflect the upstream @@ -1511,7 +1548,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - #298176: Do not enable NX if CPU/BIOS does not support it - #289569: Modify network-bridge to handle vlan - #297295: Fix bridge setup: stop using getcfg -* Mon Aug 06 2007 olh@suse.de +* Tue Aug 07 2007 olh@suse.de - remove inclusion of linux/compiler.h and linux/string.h remove ExclusiveArch and fix prep section for quilt setup *.spec * Thu Aug 02 2007 jfehlig@novell.com @@ -1558,7 +1595,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - #285929: Bad "xendomains status" output w/ empty XENDOMAINS_SAVE * Tue Jul 03 2007 carnold@novell.com - Changes necessary to support EDD and EDID from Jan. -* Wed Jun 20 2007 jfehlig@novell.com +* Thu Jun 21 2007 jfehlig@novell.com - Added upstream changesets 15273, 15274, and 15275. - Removed the modified 15157 patch. This patch was actually a consolidation of changesets 15157 and 15250. These changesets @@ -1632,7 +1669,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Thu May 03 2007 ccoffing@novell.com - Update to xen-3.1-testing rc7 (changeset 15020). - Fix identification of virt-manager windows. (#264162) -* Tue May 01 2007 jfehlig@novell.com +* Wed May 02 2007 jfehlig@novell.com - Integrated domUloader with 3.0.5. Updated xen-domUloader.diff. * Mon Apr 30 2007 ccoffing@novell.com - Update to xen-3.0.5-testing rc4 (changeset 14993). @@ -1659,18 +1696,18 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug responsive and less likely to time out or lock up. Partial fix for #237406. - If disk is read-only, pass -r to losetup. (#264158) -* Thu Apr 05 2007 ccoffing@novell.com +* Fri Apr 06 2007 ccoffing@novell.com - Update vm-install: + #260510: do not delete xml settings file + #260579: write correct vif line for PV NIC in FV VM + #261288: re-enable add disk buttons after deleting a disk + #192272, #222765, #250618: Update OS list and their defaults -* Tue Apr 03 2007 ccoffing@novell.com +* Wed Apr 04 2007 ccoffing@novell.com - Could not do simultaneous installs via virt-manager. (#259917) -* Mon Apr 02 2007 jfehlig@novell.com +* Tue Apr 03 2007 jfehlig@novell.com - Fix improper handling of guest kernel arguments in domUloader. Bug #259810 -* Mon Apr 02 2007 ccoffing@novell.com +* Tue Apr 03 2007 ccoffing@novell.com - Update vm-install: + #259420: refresh available memory more often + #259972: cannot enter autoyast url @@ -1693,11 +1730,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Mon Mar 19 2007 ccoffing@novell.com - Update to xen-unstable changeset 14444. - Include Ron Terry's network-multi_bridge -* Fri Mar 09 2007 jfehlig@novell.com +* Sat Mar 10 2007 jfehlig@novell.com - Added lame patch to handle showing suspended state via Xen API. The patch only affects Xen API and is thus low risk. Bug #237859 -* Fri Mar 09 2007 carnold@novell.com +* Sat Mar 10 2007 carnold@novell.com - Added AMD support for Vista 64 installation and boot. * Fri Mar 09 2007 ccoffing@novell.com - Make vm-install support NFS for SUSE (#241251). @@ -1714,7 +1751,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug PV installation disk) + #252437: Allow virtual CDROM to be added (via ISO) even if physical CDROM doesn't exist -* Wed Mar 07 2007 jfehlig@novell.com +* Thu Mar 08 2007 jfehlig@novell.com - Fixed bug #252396 + Added upstream c/s 14021. Applies to Xen API c-bindings - low risk. @@ -1726,7 +1763,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Tue Mar 06 2007 carnold@novell.com - Remove a debug message which is spamming the logs during live migration. -* Mon Mar 05 2007 jfehlig@novell.com +* Tue Mar 06 2007 jfehlig@novell.com - Fixed handling of vbd type in Xen API <-> sexpr integration. Bug #250351 + Updated an existing patch (xend_disk_decorate_rm.patch) and @@ -1734,7 +1771,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug purpose of patch. * Mon Mar 05 2007 ccoffing@novell.com - Default apic=0 for SLES 8 and 9, for performance. (#228133) -* Fri Mar 02 2007 carnold@novell.com +* Sat Mar 03 2007 carnold@novell.com - Xen kernel crashes at domain creation time. Bug #248183. Fix mouse for win2k hvm guest. * Fri Mar 02 2007 jfehlig@novell.com @@ -1749,11 +1786,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Fri Mar 02 2007 jfehlig@novell.com - Add check for HVM domain in domain_save. The check is performed in domain_suspend and should be included here as well. -* Thu Mar 01 2007 ccoffing@novell.com +* Fri Mar 02 2007 ccoffing@novell.com - Update vm-install: + #250201: for linux PVFB, pass xencons=tty if graphics=none + #250016: honor non-sparse flag -* Thu Mar 01 2007 jfehlig@novell.com +* Fri Mar 02 2007 jfehlig@novell.com - Fix exception caused by incorrect method name in xen-messages.diff. This is one of perhaps several problems with save/restore, bug #237859 @@ -1765,7 +1802,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug + Updated domUloader to accept '--args' parameter. The args provided as an option to --args are simply added to the sexpr returned by domUloader. pygrub has similar behavior. -* Wed Feb 28 2007 ccoffing@novell.com +* Thu Mar 01 2007 ccoffing@novell.com - Update vm-install: + #249013, #228113: default to realtek instead of pcnet + #249124: write os-type to config files @@ -1796,7 +1833,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Tue Feb 20 2007 ccoffing@novell.com - Fix typo in xendomains. (#246107) - Fix order in which vm-install processes command-line arguments. -* Fri Feb 16 2007 jfehlig@novell.com +* Sat Feb 17 2007 jfehlig@novell.com - Added changeset 13775 from xen-unstable. This patch fixes the last known issue with the Xen API patchset backported from xen-unstable. @@ -1804,7 +1841,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Added c/s 13226 from xen-unstable. It affects Xen API only. - Added patch to remove ':disk' and 'tap:qcow' from stored domain config. Fixes bug #237414 and helps with bug #242953. -* Thu Feb 15 2007 jfehlig@novell.com +* Fri Feb 16 2007 jfehlig@novell.com - Backported Xen API functionality from xen-unstable to support hosting CIM providers. This functionality is required for FATE feature 110320. ECO has been approved. @@ -1819,7 +1856,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug Dom0. (#244055) Patches 13630-domctl.patch, 13903-domctl.patch and 13908-domctl.patch - Updated patch pae-guest-linear-pgtable.patch -* Mon Feb 12 2007 ccoffing@novell.com +* Tue Feb 13 2007 ccoffing@novell.com - Load xenblk at dom0 start to support bootstrapping from non-loopback devices. (#242963, #186696) - Update vm-install: @@ -1829,9 +1866,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug + #240984: properly detach vncviewer + #240387: default to absolute coordinate mouse for Windows - Drop logging patch. (#245150) -* Sun Feb 11 2007 ro@suse.de +* Mon Feb 12 2007 ro@suse.de - remove -fstack-protector from RPM_OPT_FLAGS for now -* Thu Feb 08 2007 ccoffing@novell.com +* Fri Feb 09 2007 ccoffing@novell.com - Update vm-install: + Allow specifing disk (and disk size) vs. cdrom from CLI + Add missing -M/--max-memory parameter to CLI to match GUI @@ -1888,12 +1925,12 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Wed Jan 17 2007 ccoffing@novell.com - Update xen-vm-install (more disk UI work; support NetWare response files and licenses) -* Tue Jan 16 2007 ccoffing@novell.com +* Wed Jan 17 2007 ccoffing@novell.com - Major fixes to xen-vm-install (adding disks in the UI now works, and fixed several CLI exceptions) - Microcode does not need to be exactly 2048 bytes (changeset 13079; Kurt) -* Fri Jan 12 2007 ccoffing@novell.com +* Sat Jan 13 2007 ccoffing@novell.com - Include script to clone SLES 10 domU, from coolsolutions (fate [#301742]) - Updated patches from Gerd and Jan, including PAE > 4 gig fix, @@ -1903,7 +1940,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Include xen-unstable patches for HVM save/restore and 32-on-64 HVM. - Update to xen-3.0.4-1 (changeset 13132). -* Wed Jan 10 2007 ccoffing@novell.com +* Thu Jan 11 2007 ccoffing@novell.com - Update xen-vm-install and domUloader to support NetWare. - Include AMD's nested page table patches. * Mon Jan 08 2007 ccoffing@novell.com @@ -1938,7 +1975,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Update to xen-unstable (changeset 12734; feature freeze for 3.0.4) - Make /etc/xen mode 0700 to protect vnc passwords. -* Mon Nov 27 2006 ccoffing@novell.com +* Tue Nov 28 2006 ccoffing@novell.com - Fix how bootloader is called by the xend during restarts. (#223850) * Wed Nov 22 2006 ccoffing@novell.com @@ -1952,7 +1989,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Fix some problems in the xen-hvm-default-bridge patch. (#219092) - xmlrpc isn't 64-bit clean, causing xend to get exceptions when PFN is > 2 GB. (#220418) -* Mon Nov 13 2006 kallan@novell.com +* Tue Nov 14 2006 kallan@novell.com - Backport changesets 11847, 11888, 1189[6-9], 119[00-18], 11974, 1203[0-2], and 12205 from xen-unstable so that the PV drivers can compile on older kernels such as sles9 and rhel4 @@ -2034,7 +2071,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Tue Aug 29 2006 ccoffing@novell.com - xendomains does not actually save domains. (#201349) - Update to xen-unstable changeset 11299. -* Mon Aug 28 2006 ccoffing@novell.com +* Tue Aug 29 2006 ccoffing@novell.com - Fix incorrect path on x86_64 for vncfb and sdlfb. * Thu Aug 17 2006 ccoffing@novell.com - Improve xendomains init script, to handle unset sysconfig vars. @@ -2323,12 +2360,12 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug + 9666: Fix HVM hang; was broken due to previous "hda lost interrupt" patch. (#169146) + 9667: Do not set GP fault in VMCS for VMX (no bug#; from Intel) -* Thu May 04 2006 cgriffin@novell.com +* Fri May 05 2006 cgriffin@novell.com - Update xen-3.0-testing tree, changeset 9664: + Changesets 9663 and 9664 fix AMD fully virtualized guests causing the system to reboot when first starting up. (#169855) -* Thu May 04 2006 cgriffin@novell.com +* Fri May 05 2006 cgriffin@novell.com - With a Xen domain set up with a loop-mountable file as rootfs, the "xm start " invocation fails. The cause is a bug domUloader.py (#172586) @@ -2437,7 +2474,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Fix default localtime for full (Bruce Rogers). - Fix path in mk-xen-resue-img.sh (#163622). - Update README (pathnames, yast2-vm descriptions, terminology). -* Mon Apr 03 2006 garloff@suse.de +* Tue Apr 04 2006 garloff@suse.de - init script: Test for control_d in capabilities to determine dom0 rather than privcmd. - init script: Try loading netloop and backend modules. @@ -2481,7 +2518,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Removed the intermediate sym-link between xen.gz and xen--.gz. Grub 0.97 XFS can not handle a double indirect to a file. (#151792) -* Mon Mar 13 2006 garloff@suse.de +* Tue Mar 14 2006 garloff@suse.de - Update README.SuSE: Document limits (mem, cpu hotplug, max_loop), more network troubleshooting, update security info. - Be more tolerant against errors in ifdown/ifup to better coexist @@ -2512,7 +2549,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Fix build of hvmloader and vmxassist by removing external CFLAGS (XS changeset #9110). - Fix build by forcing --prefix during installation of *.py. -* Wed Mar 01 2006 ccoffing@novell.com +* Thu Mar 02 2006 ccoffing@novell.com - Update to hg 9029 (xen-unstable tree). Adds support for HVM on 64 bit hardware. - Update vncmouse diff to 20060301 from Intel; compensates for lack @@ -2547,7 +2584,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Update to hg 8870 (xen-unstable tree). More HVM fixes. - Remove duplicate balloon.free call. - Add patch from Intel to fix dom0 crash on 64 bit SMP HVM. -* Thu Feb 16 2006 carnold@novell.com +* Fri Feb 17 2006 carnold@novell.com - Update to hg 8858 (xen-unstable tree). * Wed Feb 15 2006 ccoffing@novell.com - Update to hg 8857 (xen-unstable tree). Syncs hypervisor core @@ -2611,7 +2648,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Fix gcc 4.1 warnings. * Wed Dec 07 2005 ccoffing@novell.com - Update to hg 8241 (xen-3.0-testing). -* Mon Nov 28 2005 ccoffing@novell.com +* Tue Nov 29 2005 ccoffing@novell.com - Update to hg 8073. - Rationalize command names (eg, setsize -> xentrace-setsize). - Fix gcc 4.1 warnings. @@ -2621,7 +2658,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Include a few simple, obvious fixes from upstream. - Build xm-test package. - Update udev scripts. -* Mon Nov 14 2005 ccoffing@novell.com +* Tue Nov 15 2005 ccoffing@novell.com - Includes upstream fixes to fix i586 save/restore. * Thu Nov 10 2005 ccoffing@novell.com - Include a few simple, obvious fixes: 7609, 7618, 7636, 7689, @@ -2678,7 +2715,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Sat Sep 10 2005 garloff@suse.de - Update to hg 6715. - Fix network-bridge down. -* Wed Sep 07 2005 garloff@suse.de +* Thu Sep 08 2005 garloff@suse.de - Build PAE version along non-PAE version of Hypervisor. * Tue Sep 06 2005 garloff@suse.de - Try to fix network bridge down issue. @@ -2709,12 +2746,12 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Include linux-public headers in xen-devel package. * Sun Aug 21 2005 garloff@suse.de - Update to hg 6305. -* Sat Aug 20 2005 garloff@suse.de +* Sun Aug 21 2005 garloff@suse.de - Update to hg 6299. - Enable VNC support (depending on LibVNCServer). -* Sat Aug 20 2005 garloff@suse.de +* Sun Aug 21 2005 garloff@suse.de - Split off xen-tools-ioemu for supporting unmodified guests. -* Fri Aug 19 2005 garloff@suse.de +* Sat Aug 20 2005 garloff@suse.de - Enable pygrub (at the cost of depending on e2fsprogs-devel) - Enable VMX ioemu SDL support (at the cost of many dependencies) * Fri Aug 19 2005 garloff@suse.de @@ -2747,7 +2784,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug * Fri Jun 10 2005 garloff@suse.de - Update to latest 2.0-testing snapshot. - Use RPM version and release no as xen version. -* Tue Jun 07 2005 garloff@suse.de +* Wed Jun 08 2005 garloff@suse.de - Update mk-xen-rescue-img.sh script: Handle SLES9 better. - Export PYTHONOPTIMIZE in xend start script. * Mon Jun 06 2005 garloff@suse.de @@ -2790,7 +2827,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - tgif not needed any more. * Tue Mar 01 2005 garloff@suse.de - Include serial-split from Charles Coffing. -* Mon Feb 28 2005 garloff@suse.de +* Tue Mar 01 2005 garloff@suse.de - Update xen to latest snapshot. * Mon Feb 21 2005 garloff@suse.de - Update README.SuSE. @@ -2800,16 +2837,16 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Add bridge-utils dependency. - Update config file and README. - Activate xend init script on installation. -* Wed Feb 09 2005 ro@suse.de +* Thu Feb 10 2005 ro@suse.de - remove te_etex and te_pdf from neededforbuild. -* Wed Feb 09 2005 garloff@suse.de +* Thu Feb 10 2005 garloff@suse.de - Update README about IDE dma. - Default to dhcp. * Wed Feb 09 2005 garloff@suse.de - Update to xen post-2.0.4. - Little bugfix for xen rescue install script. - Update README.SUSE: Better explanation of root FS creation. -* Sun Jan 23 2005 garloff@suse.de +* Mon Jan 24 2005 garloff@suse.de - Change some defaults to be more secure (xend only binds to localhost, ip spoof protection on). - Avoid ipv6 issue with xend network script. @@ -2819,7 +2856,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug - Put boot.local script in root img to parse ip boot par. * Thu Jan 20 2005 garloff@suse.de - Update to newer snapshot. -* Wed Jan 19 2005 garloff@suse.de +* Thu Jan 20 2005 garloff@suse.de - Update to xen-2.0-unstable (post 2.0.3). * Thu Dec 09 2004 garloff@suse.de - Initial creation of package xen, xen-doc-*.