Message ID | 1433350681-11504-1-git-send-email-dgilbert@redhat.com |
---|---|
State | New |
Headers | show |
Applied to -trivial, thanks! /mjt
diff --git a/hw/pci/pci.c b/hw/pci/pci.c index 48f19a3..3afab6b 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c @@ -398,6 +398,10 @@ static int get_pci_config_device(QEMUFile *f, void *pv, size_t size) for (i = 0; i < size; ++i) { if ((config[i] ^ s->config[i]) & s->cmask[i] & ~s->wmask[i] & ~s->w1cmask[i]) { + error_report("%s: Bad config data: i=0x%x read: %x device: %x " + "cmask: %x wmask: %x w1cmask:%x", __func__, + i, config[i], s->config[i], + s->cmask[i], s->wmask[i], s->w1cmask[i]); g_free(config); return -EINVAL; }