- Upstream or pending upstream patches from Jan 25587-fix-off-by-one-parsing-error.patch 25616-x86-MCi_CTL-default.patch 25617-vtd-qinval-addr.patch 25688-x86-nr_irqs_gsi.patch - bnc#773393 - VUL-0: CVE-2012-3433: xen: HVM guest destroy p2m teardown host DoS vulnerability CVE-2012-3433-xsa11.patch - bnc#773401 - VUL-1: CVE-2012-3432: xen: HVM guest user mode MMIO emulation DoS 25682-x86-inconsistent-io-state.patch - bnc#762484 - VUL-1: CVE-2012-2625: xen: pv bootloader doesn't check the size of the bzip2 or lzma compressed kernel, leading to denial of service 25589-pygrub-size-limits.patch - Make it build with latest TeXLive 2012 with new package layout OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=196
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
# HG changeset patch
|
|
# User Wei Liu <wei.liu2@citrix.com>
|
|
# Date 1325783613 0
|
|
# Node ID caf9753d4cc100183eeda26d00c8c38f14215651
|
|
# Parent 19ac027a3c311159dc0f3696d6e571314f0bf0c3
|
|
libxl: write vifname in xenstore if set.
|
|
|
|
Simple fix to enable user to specify vif names.
|
|
|
|
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
|
|
Acked-by: Ian Campbell <ian.campbell.com>
|
|
Committed-by: Ian Jackson <ian.jackson.citrix.com>
|
|
|
|
Index: xen-4.1.3-testing/tools/libxl/libxl.c
|
|
===================================================================
|
|
--- xen-4.1.3-testing.orig/tools/libxl/libxl.c
|
|
+++ xen-4.1.3-testing/tools/libxl/libxl.c
|
|
@@ -1239,6 +1239,12 @@ int libxl_device_nic_add(libxl_ctx *ctx,
|
|
flexarray_append(back, libxl__sprintf(&gc, "%02x:%02x:%02x:%02x:%02x:%02x",
|
|
nic->mac[0], nic->mac[1], nic->mac[2],
|
|
nic->mac[3], nic->mac[4], nic->mac[5]));
|
|
+
|
|
+ if (nic->ifname) {
|
|
+ flexarray_append(back, "vifname");
|
|
+ flexarray_append(back, nic->ifname);
|
|
+ }
|
|
+
|
|
if (nic->ip) {
|
|
flexarray_append(back, "ip");
|
|
flexarray_append(back, libxl__strdup(&gc, nic->ip));
|