hw/9pfs: use migration blockers to prevent live migration when virtfs export path is mounted
Now when you try to migrate with VirtFS export path mounted, you get a proper QMP error:
(qemu) migrate tcp:localhost:4444Migration is disabled when VirtFS export path '/tmp/' is mounted in the guest using mount_tag 'v_tmp'...
hw/9pfs: Reset server state during TVERSION
As per the 9p rfc, during TVERSION its necessary to clean all the activefids, so that we start the session from a clean state. Its also needed inscenarios where the guest is booting off 9p, and boot fails, and client...
hw/9pfs: Improve portability to older systems
handle fs driver require a set of newly added syscalls. Don'tCompile handle FS driver if those syscalls are not available.Instead of adding #ifdef for all those syscalls we check foropen by handle syscall. If that is available then rest of the...
ccid: Fix buffer overrun in handling of VSC_ATR message
ATR size exceeding the limit is diagnosed, but then we merrily use itanyway, overrunning card->atr[].
The message is read from a character device. Obvious securityimplications unless the other end of the character device is trusted....
9pfs: improve portability to older systems
I guess we can also make sure we don't call local_ioc_getversion atall.
Reported-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
eepro100: Fix alignment requirement for statistical counters
According to Intel's Open Source Software Developer Manual,the dump counters address must be Dword aligned.
The new code enforces this alignment, so s->statsaddr may nowbe used with stw_le_pci_dma() and stl_le_pci_dma()....
virtio: add and use virtio_set_features
vdev->guest_features is not masking features that are not supported bythe guest. Fix this by introducing a common wrapper to be used by allvirtio bus implementations.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
Small requirements on "new" features have percolated to virtio-9p-local.c.In particular, the utimensat wrapper actually only supports dirfd = AT_FDCWDand flags = AT_SYMLINK_NOFOLLOW in the fallback code. Remove the arguments...
Merge remote-tracking branch 'kwolf/block-stable' into staging
Merge remote-tracking branch 'kraxel/usb.32' into staging
View revisions
Also available in: Atom