diff options
| author | Anthony Liguori | 2013-02-02 01:02:50 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2013-02-02 01:05:30 +0100 |
| commit | 02cd809099322d6bdbd3fb232e9dd1018b125866 (patch) | |
| tree | 1f01e1651f916fca5796578b5818277af9143d24 /net | |
| parent | qom: remove object_delete (diff) | |
| download | qemu-02cd809099322d6bdbd3fb232e9dd1018b125866.tar.gz qemu-02cd809099322d6bdbd3fb232e9dd1018b125866.tar.xz qemu-02cd809099322d6bdbd3fb232e9dd1018b125866.zip | |
tap: unbreak -netdev tap,fd=X
The multiqueue patch series broke -netdev tap,fd=X which manifests
as libvirt not being able to start a guest. This was because it
passed NULL for the netdev name which results in an anonymous netdev
device regardless of what the user specified.
Cc: Jason Wang <jasowang@redhat.com>
Cc: Bruce Rogers <brogers@suse.com>
Reported-by: Bruce Rogers <brogers@suse.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net')
| -rw-r--r-- | net/tap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -711,7 +711,7 @@ int net_init_tap(const NetClientOptions *opts, const char *name, vnet_hdr = tap_probe_vnet_hdr(fd); - if (net_init_tap_one(tap, peer, "tap", NULL, NULL, + if (net_init_tap_one(tap, peer, "tap", name, NULL, script, downscript, vhostfdname, vnet_hdr, fd)) { return -1; |
