提交 bbe4432e 编写于 作者: A Avi Kivity

KVM: Use own minor number

Use the minor number (232) allocated to kvm by lanana.
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 510043da
......@@ -2299,7 +2299,7 @@ static struct file_operations kvm_chardev_ops = {
};
static struct miscdevice kvm_dev = {
MISC_DYNAMIC_MINOR,
KVM_MINOR,
"kvm",
&kvm_chardev_ops,
};
......
......@@ -29,6 +29,7 @@
#define TUN_MINOR 200
#define HPET_MINOR 228
#define KVM_MINOR 232
struct device;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册