diff options
| author | Michael S. Tsirkin | 2014-08-04 14:12:39 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-09-02 16:28:25 +0200 |
| commit | 2d2507ef23d2a28eaeea5507ff4ec68657f1792f (patch) | |
| tree | 8c13bbba7aedce771968fd1d27dd27b31a469173 /include/exec/exec-all.h | |
| parent | intel-iommu: add IOTLB using hash table (diff) | |
| download | qemu-2d2507ef23d2a28eaeea5507ff4ec68657f1792f.tar.gz qemu-2d2507ef23d2a28eaeea5507ff4ec68657f1792f.tar.xz qemu-2d2507ef23d2a28eaeea5507ff4ec68657f1792f.zip | |
vhost_net: cleanup start/stop condition
Checking vhost device internal state in vhost_net looks like
a layering violation since vhost_net does not
set this flag: it is set and tested by vhost.c.
There seems to be no reason to check this:
caller in virtio net uses its own flag,
vhost_started, to ensure vhost is started/stopped
as appropriate.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
