[Qemu-devel] Measure virtio-vsock speed

2016-12-15 Thread Zhang Shuaiyi
I used kernel 4.8 and qemu v2.8.0-rc3. Qemu command line: -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=3 I try to use nc-vsock to test vsock speed. 1. In host: # modprobe vhost-vsock # ./nc-vsock -l 1234 > /dev/null 2. In guest: a. use pv and nc-vsock, speed is about 62MB/s.

[Qemu-devel] [PATCH] nec-usb-xhci: set the device state to USB_STATE_DEFAULT

2016-06-30 Thread Zhang Shuaiyi
et device state to USB_STATE_DEFAULT in xhci_address_slot wether bsr is zero. Signed-off-by: Zhang Shuaiyi --- hw/usb/hcd-xhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 43ba615..e93b64e 100644 --- a/hw/usb/hcd-xhci.c +++ b