X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fpci_front.c;h=487ab5c1f1430b2656ce07f1a51f067e30c1438a;hb=b7bbef74c3a699b51ca342c35fc8d083389568f6;hp=eb73076f96299371f28ee632f1d87f4ceea42a3a;hpb=0dc44b36f3d1f95efe8fe96484e76e65aeebd197;p=palacios-OLD.git diff --git a/palacios/src/devices/pci_front.c b/palacios/src/devices/pci_front.c index eb73076..487ab5c 100644 --- a/palacios/src/devices/pci_front.c +++ b/palacios/src/devices/pci_front.c @@ -151,7 +151,7 @@ static int push_config(struct pci_front_internal *state, uint8_t *config) static int pull_config(struct pci_front_internal *state, uint8_t *config) { - if (v3_host_dev_config_read(state->host_dev, 0, config, 256) != 256) { + if (v3_host_dev_read_config(state->host_dev, 0, config, 256) != 256) { return -1; } else { return 0; @@ -625,7 +625,7 @@ static int pci_front_config_update(uint_t reg_num, void * src, uint_t length, vo PrintDebug("\n"); - if (v3_host_dev_config_write(state->host_dev, + if (v3_host_dev_write_config(state->host_dev, pci_addr.value, src, length) != length) {