* [Qemu-devel] [Bug 676029] [NEW] Silently fail with wrong vde socket dir
@ 2010-11-16 13:47 Étienne BERSAC
2010-11-18 9:56 ` [Qemu-devel] [Bug 676029] " Jes Sorensen
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Étienne BERSAC @ 2010-11-16 13:47 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
Hi,
Using qemu 0.12.5, kvm silently fail with exit code 1 when using -net
vde and a wrong path for sock. Actually, the sock option is mean to be
the socket dir of the vde_switch, not the socket itself.
With -net vde,sock=/var/run/vde/vde0/ctl , strace ends with the
following messages :
connect(7, {sa_family=AF_FILE, path="/var/run/vde/vde0/ctl/ctl"}, 110) = -1 ENOTDIR (Not a directory)
close(7) = 0
close(8) = 0
exit_group(1) = ?
root ~#
Please add a meaningful message.
Regards,
Étienne
** Affects: qemu
Importance: Undecided
Status: New
--
Silently fail with wrong vde socket dir
https://bugs.launchpad.net/bugs/676029
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Bug description:
Hi,
Using qemu 0.12.5, kvm silently fail with exit code 1 when using -net vde and a wrong path for sock. Actually, the sock option is mean to be the socket dir of the vde_switch, not the socket itself.
With -net vde,sock=/var/run/vde/vde0/ctl , strace ends with the following messages :
connect(7, {sa_family=AF_FILE, path="/var/run/vde/vde0/ctl/ctl"}, 110) = -1 ENOTDIR (Not a directory)
close(7) = 0
close(8) = 0
exit_group(1) = ?
root ~#
Please add a meaningful message.
Regards,
Étienne
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 676029] Re: Silently fail with wrong vde socket dir
2010-11-16 13:47 [Qemu-devel] [Bug 676029] [NEW] Silently fail with wrong vde socket dir Étienne BERSAC
@ 2010-11-18 9:56 ` Jes Sorensen
2010-11-18 11:41 ` Michael Tokarev
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Jes Sorensen @ 2010-11-18 9:56 UTC (permalink / raw)
To: qemu-devel
Hello,
Could you please provide more data, what kinda of system and version are
you running on?
Jes
--
Silently fail with wrong vde socket dir
https://bugs.launchpad.net/bugs/676029
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Bug description:
Hi,
Using qemu 0.12.5, kvm silently fail with exit code 1 when using -net vde and a wrong path for sock. Actually, the sock option is mean to be the socket dir of the vde_switch, not the socket itself.
With -net vde,sock=/var/run/vde/vde0/ctl , strace ends with the following messages :
connect(7, {sa_family=AF_FILE, path="/var/run/vde/vde0/ctl/ctl"}, 110) = -1 ENOTDIR (Not a directory)
close(7) = 0
close(8) = 0
exit_group(1) = ?
root ~#
Please add a meaningful message.
Regards,
Étienne
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 676029] Re: Silently fail with wrong vde socket dir
2010-11-16 13:47 [Qemu-devel] [Bug 676029] [NEW] Silently fail with wrong vde socket dir Étienne BERSAC
2010-11-18 9:56 ` [Qemu-devel] [Bug 676029] " Jes Sorensen
@ 2010-11-18 11:41 ` Michael Tokarev
2010-11-18 13:41 ` Jes Sorensen
2018-04-26 5:54 ` Thomas Huth
3 siblings, 0 replies; 5+ messages in thread
From: Michael Tokarev @ 2010-11-18 11:41 UTC (permalink / raw)
To: qemu-devel
There's no need to add any more specific information. The bug's in the
code in qemu.
net/vde.c:
static int net_vde_init(VLANState *vlan, const char *model,
const char *name, const char *sock,
int port, const char *group, int mode)
{
...
vde = vde_open(init_sock, (char *)"QEMU", &args);
if (!vde){
return -1;
}
...
}
There's no message generated there. Callers merely pass the failure up
the road, where it's finally handled as exit(1). If _anything_ is wrong
in vde_open() (which can fail due to variety of reasons, including wrong
path to the listening socket and what not), nothing will indicate that,
just a trivial, silent exit.
** Changed in: qemu
Status: New => Confirmed
--
Silently fail with wrong vde socket dir
https://bugs.launchpad.net/bugs/676029
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Confirmed
Bug description:
Hi,
Using qemu 0.12.5, kvm silently fail with exit code 1 when using -net vde and a wrong path for sock. Actually, the sock option is mean to be the socket dir of the vde_switch, not the socket itself.
With -net vde,sock=/var/run/vde/vde0/ctl , strace ends with the following messages :
connect(7, {sa_family=AF_FILE, path="/var/run/vde/vde0/ctl/ctl"}, 110) = -1 ENOTDIR (Not a directory)
close(7) = 0
close(8) = 0
exit_group(1) = ?
root ~#
Please add a meaningful message.
Regards,
Étienne
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 676029] Re: Silently fail with wrong vde socket dir
2010-11-16 13:47 [Qemu-devel] [Bug 676029] [NEW] Silently fail with wrong vde socket dir Étienne BERSAC
2010-11-18 9:56 ` [Qemu-devel] [Bug 676029] " Jes Sorensen
2010-11-18 11:41 ` Michael Tokarev
@ 2010-11-18 13:41 ` Jes Sorensen
2018-04-26 5:54 ` Thomas Huth
3 siblings, 0 replies; 5+ messages in thread
From: Jes Sorensen @ 2010-11-18 13:41 UTC (permalink / raw)
To: qemu-devel
Given that you know what the problem is, it would probably have been
faster to post a patch than just updating the bug and marking it
confirmed....
--
Silently fail with wrong vde socket dir
https://bugs.launchpad.net/bugs/676029
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Confirmed
Bug description:
Hi,
Using qemu 0.12.5, kvm silently fail with exit code 1 when using -net vde and a wrong path for sock. Actually, the sock option is mean to be the socket dir of the vde_switch, not the socket itself.
With -net vde,sock=/var/run/vde/vde0/ctl , strace ends with the following messages :
connect(7, {sa_family=AF_FILE, path="/var/run/vde/vde0/ctl/ctl"}, 110) = -1 ENOTDIR (Not a directory)
close(7) = 0
close(8) = 0
exit_group(1) = ?
root ~#
Please add a meaningful message.
Regards,
Étienne
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [Bug 676029] Re: Silently fail with wrong vde socket dir
2010-11-16 13:47 [Qemu-devel] [Bug 676029] [NEW] Silently fail with wrong vde socket dir Étienne BERSAC
` (2 preceding siblings ...)
2010-11-18 13:41 ` Jes Sorensen
@ 2018-04-26 5:54 ` Thomas Huth
3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2018-04-26 5:54 UTC (permalink / raw)
To: qemu-devel
A fix for this problem has finally been contributed here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=7587855cd23755a7a6bd
** Changed in: qemu
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/676029
Title:
Silently fail with wrong vde socket dir
Status in QEMU:
Fix Released
Bug description:
Hi,
Using qemu 0.12.5, kvm silently fail with exit code 1 when using -net
vde and a wrong path for sock. Actually, the sock option is mean to be
the socket dir of the vde_switch, not the socket itself.
With -net vde,sock=/var/run/vde/vde0/ctl , strace ends with the
following messages :
connect(7, {sa_family=AF_FILE, path="/var/run/vde/vde0/ctl/ctl"}, 110) = -1 ENOTDIR (Not a directory)
close(7) = 0
close(8) = 0
exit_group(1) = ?
root ~#
Please add a meaningful message.
Regards,
Étienne
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/676029/+subscriptions
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-04-26 6:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 13:47 [Qemu-devel] [Bug 676029] [NEW] Silently fail with wrong vde socket dir Étienne BERSAC
2010-11-18 9:56 ` [Qemu-devel] [Bug 676029] " Jes Sorensen
2010-11-18 11:41 ` Michael Tokarev
2010-11-18 13:41 ` Jes Sorensen
2018-04-26 5:54 ` Thomas Huth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.