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....
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>
rules.mak: cleanup config generation rules
This addresses two issues with config generation1. rule generating timestamp has side effect.Thus cleanup on error does not work.2. rule for handling timestamp is too generic.It can create any missing .h file....
Makefile: clean timestamp generation rule
create timestamp by rule without sideeffects.
rules/mak: make clean should blow away timestamp files
Using a global pattern makes it easier to clean outold generated files.
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 'qemu-kvm/uq/master' into staging
Conflicts: target-i386/kvm.c...
Merge remote-tracking branch 'mdroth/qga-pull-1-28-13' into staging
target-i386: kvm: prevent buffer overflow if -cpu foo, [x]level is too big
Stack corruption may occur if too big 'level' or 'xlevel' values passedon command line with KVM enabled, due to limited size of cpuid_datain kvm_arch_init_vcpu().
reproduces with:...
View all revisions | View revisions
Also available in: Atom