Populating Hyper-V MSR for Ubuntu 13.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Unknown
|
Unknown
|
|||
linux (Ubuntu) |
Fix Released
|
High
|
Tim Gardner | ||
Saucy |
Fix Released
|
High
|
Tim Gardner | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
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:/
In case you cannot access the bug then the entire patch is as follows:
--- linux-3.
+++ linux-3.
@@ -134,6 +134,8 @@ int hv_init(void)
int max_leaf;
union hv_x64_
void *virtaddr = NULL;
+ __u8 d1 = 0x10; /* SuSE */
+ __u16 d2 = 0x0; /* -d of a.b.c-d */
@@ -148,7 +150,7 @@ int hv_init(void)
/*
* Write our OS ID.
*/
- hv_context.guestid = generate_
+ hv_context.guestid = generate_
/* 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.
CVE References
summary: |
- Populating Hyper-V MSR + Populating Hyper-V MSR for Ubuntu 13.10 |
no longer affects: | git-review |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: bot-stop-nagging |
tags: | added: kernel-da-key |
tags: | added: patch |
Changed in linux (Ubuntu Saucy): | |
assignee: | nobody → Tim Gardner (timg-tpi) |
status: | Confirmed → In Progress |
tags: | added: verification-done-yakkety |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1193172
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.