History | View | Annotate | Download (8.3 kB)
error: Strip trailing '\n' from error string arguments (again)
Commit 6daf194d and be62a2eb got rid of a bunch, but they keep comingback. Tracked down with this Coccinelle semantic patch:
r expression err, eno, cls, fmt; position p; @@ (...
r
vhost: multiqueue support
This patch lets vhost support multiqueue. The idea is simple, just launchingmultiple threads of vhost and let each of vhost thread processing a subset ofthe virtqueues of the device. After this change each emulated device can have...
vhost: backend masking support
Support backend guest notifier masking in vhost-net:create eventfd at device init, when masked,make vhost use that as eventfd instead ofsending an interrupt.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
misc: move include files to include/qemu/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
net: reorganize headers
Move public headers to include/net, and leave private headers in net/.Put the virtio headers in include/net/tap.h, removing the multiple copiesthat existed. Leave include/net/tap.h as the interface for NICs, andnet/tap_int.h as the interface for OS-specific parts of the tap backend....
virtio-net: enable mrg buf header in tap on linux
Modern linux supports arbitrary header size,which makes it possible to pass mrg buf headerto tap directly without iovec mangling.Use this capability when it is there.
This removes the need to deal with it in...
vhost: Pass device path to vhost_dev_init()
The path to /dev/vhost-net is currently hardcoded in vhost_dev_init().This needs to be changed so that /dev/vhost-scsi can be used. Pass inthe device path instead of hardcoding it.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>...
net: Rename VLANClientState to NetClientState
The vlan feature is no longer part of net core. Rename VLANClientStateto NetClientState because net clients are not explicitly associated witha vlan at all, instead they have a peer net client to which they are...
net: Rename vc local variables to nc
Now that VLANClientState has been renamed to NetClientState all 'vc'local variables should be 'nc'. Much of the code already used 'nc' butthere are places where 'vc' needs to be renamed.
hw, net: "net_client_type" -> "NetClientOptionsKind" (qapi-generated)
NET_CLIENT_TYPE_ -> NET_CLIENT_OPTIONS_KIND_
Signed-off-by: Laszlo Ersek <lersek@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
prepare for future GPLv2+ relicensing
All files under GPLv2 will get GPLv2+ changes starting tomorrow.event_notifier.c and exec-obsolete.h were only ever touched by Red Hatemployees and can be relicensed now.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
vhost-net: cleanup host notifiers at last step
When the vhost notifier is disabled, the userspace handler runsimmediately: virtio_pci_set_host_notifier_internal mightcall virtio_queue_notify_vq.Since the VQ state and the tap backend state aren'trecovered yet, this causes...
Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
print meaningful error message in case of --disable-vhost-net
When qemu gets compiled without support of vhost-net, any attemptto use it fails with a very clear error message:
qemu-system-x86_64: -netdev ...,vhost=on: vhost-net requested but could not be initialized...
virtio: event index support
Add support for event_idx feature, and utilize it toreduce the number of interrupts and exits for the guest.
vhost: force vhost off for non-MSI guests
When MSI is off, each interrupt needs to be bounced through the iothread when it's set/cleared, so vhost-net causes more context switches andhigher CPU utilization than userspace virtio which handles networking in...
vhost: fix infinite loop on error path
file.index is unsigned, hence 'while (--file.index >= 0)'will loop > forever. Change to while (file.index-- > 0).
Reported-by: Jes Sorensen <Jes.Sorensen@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
vhost_net: mergeable buffers support
use the new tap APIs to set header length
Remove unused eventfd.h
This header is not present on my system and causes a buildfailure, but is also not used in these files, so remove it.
Signed-off-by: Mike McCormack <mikem@ring3k.org>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
vhost_net.c: v2 Fix build failure introduced by 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2
Fix build failure introduced by 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2
The format statement expects unsigned long on x86_64, but receivesunsigned long long, so gcc exits with an error....
Fix %lld or %llx printf format use
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
vhost-net: disable mergeable buffers
vhost in current kernels doesn't support mergeable buffers.Disable this feature if vhost is enabled, until suchsupport is implemented.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
vhost: vhost net support
This adds vhost net device support in qemu. Will be tied to tap deviceand virtio by following patches. Raw backend is currently missing,will be worked on/submitted separately.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>...