struct page *guest_pages[2];
unsigned guest_page_offset;
int in;
+ int port;
int size;
int string;
int down;
static inline void kvm_iodevice_destructor(struct kvm_io_device *dev)
{
- dev->destructor(dev);
+ if (dev->destructor)
+ dev->destructor(dev);
}
/*
struct list_head vm_list;
struct file *filp;
struct kvm_io_bus mmio_bus;
+ struct kvm_io_bus pio_bus;
};
struct descriptor_table {