[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] tap-win32: don't abort in tap_enable(); enables -ne
From: |
Andrew Baumann |
Subject: |
[Qemu-devel] [PATCH] tap-win32: don't abort in tap_enable(); enables -netdev tap |
Date: |
Fri, 24 Mar 2017 16:46:46 -0700 |
The docs generally steer users away from using the legacy -net
parameter, however on win32 attempting to enable a tap device using
-netdev tap fails at an abort() in tap_enable(). Removing the abort()s
seems to be enough to get everything working, so do that.
Signed-off-by: Andrew Baumann <address@hidden>
---
net/tap-win32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/tap-win32.c b/net/tap-win32.c
index 662f9b6..3620843 100644
--- a/net/tap-win32.c
+++ b/net/tap-win32.c
@@ -811,10 +811,10 @@ int net_init_tap(const Netdev *netdev, const char *name,
int tap_enable(NetClientState *nc)
{
- abort();
+ return 0;
}
int tap_disable(NetClientState *nc)
{
- abort();
+ return 0;
}
--
2.8.3
- [Qemu-devel] [PATCH] tap-win32: don't abort in tap_enable(); enables -netdev tap,
Andrew Baumann <=