Skip to content

Commit

Permalink
KVM: Use own minor number
Browse files Browse the repository at this point in the history
Use the minor number (232) allocated to kvm by lanana.

Signed-off-by: Avi Kivity <avi@qumranet.com>
  • Loading branch information
Avi Kivity committed May 3, 2007
1 parent 510043d commit bbe4432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
1 change: 1 addition & 0 deletions include/linux/miscdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#define TUN_MINOR 200
#define HPET_MINOR 228
#define KVM_MINOR 232

struct device;

Expand Down

0 comments on commit bbe4432

Please sign in to comment.