virtio-net: remove layout assumptions for ctrl vq
Virtio-net code makes assumption about virtqueue descriptor layout(e.g. sg0 is the header, sg1 is the data buffer).
This patch makes code not rely on the layout of descriptors.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>...
virtio-net: introduce a new macaddr control
In virtio-net guest driver, currently we write MAC address topci config space byte by byte, this means that we have anintermediate step where mac is wrong. This patch introduceda new control command to set MAC address, it's atomic....
virtio-net: rename ctrl rx commands
This patch makes rx commands consistent with specification.
Signed-off-by: Amos Kong <akong@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
ich9: add support for pci assignment
Fills out support for the pci assignment API. Added:
PCIINTxRoute ich9_route_intx_pin_to_irq(void *opaque, int pirq_pin)
Add calls to pci_bus_fire_intx_routing_notifier() when routing changesare made.
Signed-off-by: Jason Baron <jbaron@redhat.com>...
PIIX3: reset the VM when the Reset Control Register's RCPU bit gets set
Traditional PCI config space access is achieved by writing a 32 bit value to io port 0xcf8 to identify the bus, device, function and config register. Port 0xcfc then contains the register in question. But if you...
vfio-pci: Enable PCIe extended config space
We don't know pre-init time whether the device we're exposing is PCIeor legacy PCI. We could ask for it to be specified via a deviceoption, but that seems like too much to ask of the user. Instead wecan assume everything will be PCIe, which makes PCI-core allocate...
e1000: document ICS read behaviour
Add code comment to clarify the reason we set ICS with ICR:the reason was previously undocumented and gitlog confused rather than clarified the comments.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
virtio-net: revert mac on reset
Once guest overrides virtio net primary mac,it retains the value set until qemu exit.This is inconsistent with standard nic behaviour.To fix, revert the mac to the original value on reset.
Merge remote-tracking branch 'afaerber/qom-cpu' into staging
Merge remote-tracking branch 'kwolf/for-anthony' into staging
View revisions
Also available in: Atom