kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #01790
[Bug 1193172] Re: Populating Hyper-V MSR for Ubuntu 13.10
This bug was fixed in the package linux - 3.10.0-5.15
---------------
linux (3.10.0-5.15) saucy; urgency=low
[ Andy Whitcroft ]
* [Config] add iwldvm to nic-modules
- LP: #1204194
[ Tim Gardner ]
* [Debian] Supply PKG_ABI in kmake
- LP: #1193172
* SAUCE: (no-up) hv: Supply vendor ID and package ABI
- LP: #1193172
[ Upstream Kernel Changes ]
* efivars: check for EFI_RUNTIME_SERVICES
- LP: #1200570
* drm/radeon/hdmi: make sure we have an afmt block assigned
* Input: elantech - fix for newer hardware versions (v7)
- LP: #1166442
-- Tim Gardner <tim.gardner@xxxxxxxxxxxxx> Tue, 23 Jul 2013 07:42:49 -0600
** Changed in: linux (Ubuntu Saucy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1193172
Title:
Populating Hyper-V MSR for Ubuntu 13.10
Status in The Linux Kernel:
Unknown
Status in “linux” package in Ubuntu:
Fix Released
Status in “linux” source package in Saucy:
Fix Released
Bug description:
For new distribution releases the Hyper-V team is trying to better
populate the Hyper-V guest ID. Our specific goal is to identify any
given distribution and its release version. With this intent we worked
with SUSE to include a patch in their upcoming SLES 11 SP3 release.
The patch is available in the following issue:
https://bugzilla.novell.com/show_bug.cgi?id=814005
In case you cannot access the bug then the entire patch is as follows:
--- linux-3.9-rc5-master.orig/drivers/hv/hv.c
+++ linux-3.9-rc5-master/drivers/hv/hv.c
@@ -134,6 +134,8 @@ int hv_init(void)
int max_leaf;
union hv_x64_msr_hypercall_contents hypercall_msr;
void *virtaddr = NULL;
+ __u8 d1 = 0x10; /* SuSE */
+ __u16 d2 = 0x0; /* -d of a.b.c-d */
memset(hv_context.synic_event_page, 0, sizeof(void *) * NR_CPUS);
memset(hv_context.synic_message_page, 0,
@@ -148,7 +150,7 @@ int hv_init(void)
/*
* Write our OS ID.
*/
- hv_context.guestid = generate_guest_id(0, LINUX_VERSION_CODE, 0);
+ hv_context.guestid = generate_guest_id(d1, LINUX_VERSION_CODE, d2);
wrmsrl(HV_X64_MSR_GUEST_OS_ID, hv_context.guestid);
/* See if the hypercall page is already set */
We request you to include the same patch for Ubuntu 13.10 with the
below modifications:
1. In place of __u8 d1 = 0x10; /* SuSE */ we would request you to add the following line:
__u8 d1 = 0x80; /* Canonical */
2. In place of __u16 d2 = 0x0; /* -d of a.b.c-d */ we would request you to add the correct ‘-d’ of the Linux kernel version for Ubuntu 13.10
__u16 d2 = 0x0; /* -d of a.b.c-d */
For Ubuntu 13.10, I noticed that uname –r returns “3.9.0-6-generic”.
We would like to populate d2 with 6. It would be best if you guys
could automate the process of populating that string.
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1193172/+subscriptions