From: Peter Dinda Date: Sat, 21 Apr 2012 00:14:59 +0000 (-0500) Subject: Updated pci_front device for new pci interfaces X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=a14428cd3b2c9ad74ab44e624f6263fc8847bebe;p=palacios.git Updated pci_front device for new pci interfaces Note that this device is likely to change significantly in the future --- diff --git a/palacios/src/devices/pci_front.c b/palacios/src/devices/pci_front.c index 70dc980..68428b5 100644 --- a/palacios/src/devices/pci_front.c +++ b/palacios/src/devices/pci_front.c @@ -607,7 +607,7 @@ static int pci_bar_write(int bar_num, uint32_t * src, void * private_data) { } -static int pci_front_config_update(uint_t reg_num, void * src, uint_t length, void * private_data) +static int pci_front_config_update(struct pci_device *pci_dev, uint_t reg_num, void * src, uint_t length, void * private_data) { int i; struct vm_device * dev = (struct vm_device *)private_data; @@ -690,6 +690,7 @@ static int setup_virt_pci_dev(struct v3_vm_info * vm_info, struct vm_device * de bus_num, -1, 0, state->name, bars, pci_front_config_update, + NULL, // no suport for config reads NULL, // no support for command updates NULL, // no support for expansion roms dev);