Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307855
b: refs/heads/master
c: e9bda3b
h: refs/heads/master
i:
  307853: 7f101a0
  307851: 6f2014a
  307847: f255305
  307839: ce8b474
v: v3
  • Loading branch information
Josh Triplett authored and Avi Kivity committed Apr 8, 2012
1 parent c39a13e commit 12fe963
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbcc9c06695243ea23d30de36842df9200c33857
refs/heads/master: e9bda3b3d0ce775afe15eaf71922d342cc74991c
7 changes: 7 additions & 0 deletions trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/highmem.h>
#include <linux/sched.h>
#include <linux/moduleparam.h>
#include <linux/mod_devicetable.h>
#include <linux/ftrace_event.h>
#include <linux/slab.h>
#include <linux/tboot.h>
Expand All @@ -51,6 +52,12 @@
MODULE_AUTHOR("Qumranet");
MODULE_LICENSE("GPL");

static const struct x86_cpu_id vmx_cpu_id[] = {
X86_FEATURE_MATCH(X86_FEATURE_VMX),
{}
};
MODULE_DEVICE_TABLE(x86cpu, vmx_cpu_id);

static bool __read_mostly enable_vpid = 1;
module_param_named(vpid, enable_vpid, bool, 0444);

Expand Down

0 comments on commit 12fe963

Please sign in to comment.