projects
/
h-e-n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: kvm_io_device: extend in_range() to manage len and write attribute
[h-e-n]
/
arch
/
x86
/
kvm
/
i8259.c
diff --git
a/arch/x86/kvm/i8259.c
b/arch/x86/kvm/i8259.c
index
ab29cf2
..
5857f59
100644
(file)
--- a/
arch/x86/kvm/i8259.c
+++ b/
arch/x86/kvm/i8259.c
@@
-346,7
+346,8
@@
static u32 elcr_ioport_read(void *opaque, u32 addr1)
return s->elcr;
}
-static int picdev_in_range(struct kvm_io_device *this, gpa_t addr)
+static int picdev_in_range(struct kvm_io_device *this, gpa_t addr,
+ int len, int is_write)
{
switch (addr) {
case 0x20: