[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 636095] [NEW] tap downscript is not executed when exit
From: |
Max |
Subject: |
[Qemu-devel] [Bug 636095] [NEW] tap downscript is not executed when exiting qemu through "quit" monitor command |
Date: |
Sun, 12 Sep 2010 00:17:23 -0000 |
Public bug reported:
When you tell qemu to shutdown using the "quit" monitor command, the
downscript of the tap interface is not executed.
To reproduce:
Create the test script /tmp/qemu-ifdown-test.sh :
==
#!/bin/bash
touch /tmp/is_this_working
==
Run:
==
# chmod +x /tmp/qemu-ifdown-test.sh
# qemu-system-x86_64 -daemonize -net nic -net
tap,script=/etc/qemu-ifup,downscript=/tmp/qemu-ifdown-test.sh -monitor
unix:/tmp/monitor.socket,nowait,server
VNC server running on `127.0.0.1:5900'
# nc -U /tmp/monitor.socket
QEMU 0.12.5 monitor - type 'help' for more information
(qemu) quit
quit
# ls /tmp/is*
ls: cannot access /tmp/is*: No such file or directory
==
If I quit qemu by sending a SIGTERM instead of using the "quit" command,
the downscript does get executed:
==
# qemu-system-x86_64 -daemonize -net nic -net
tap,script=/etc/qemu-ifup,downscript=/tmp/qemu-ifdown-test.sh -monitor
unix:/tmp/monitor.socket,nowait,server
VNC server running on `127.0.0.1:5900'
# killall qemu-system-x86_64
# ls /tmp/is*
/tmp/is_this_working
==
Issue occurs with both 0.12.3 and 0.12.5
** Affects: qemu
Importance: Undecided
Status: New
--
tap downscript is not executed when exiting qemu through "quit" monitor command
https://bugs.launchpad.net/bugs/636095
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:
When you tell qemu to shutdown using the "quit" monitor command, the downscript
of the tap interface is not executed.
To reproduce:
Create the test script /tmp/qemu-ifdown-test.sh :
==
#!/bin/bash
touch /tmp/is_this_working
==
Run:
==
# chmod +x /tmp/qemu-ifdown-test.sh
# qemu-system-x86_64 -daemonize -net nic -net
tap,script=/etc/qemu-ifup,downscript=/tmp/qemu-ifdown-test.sh -monitor
unix:/tmp/monitor.socket,nowait,server
VNC server running on `127.0.0.1:5900'
# nc -U /tmp/monitor.socket
QEMU 0.12.5 monitor - type 'help' for more information
(qemu) quit
quit
# ls /tmp/is*
ls: cannot access /tmp/is*: No such file or directory
==
If I quit qemu by sending a SIGTERM instead of using the "quit" command, the
downscript does get executed:
==
# qemu-system-x86_64 -daemonize -net nic -net
tap,script=/etc/qemu-ifup,downscript=/tmp/qemu-ifdown-test.sh -monitor
unix:/tmp/monitor.socket,nowait,server
VNC server running on `127.0.0.1:5900'
# killall qemu-system-x86_64
# ls /tmp/is*
/tmp/is_this_working
==
Issue occurs with both 0.12.3 and 0.12.5
- [Qemu-devel] [PATCH v2 00/19] Monitor: split HMP and QMP dispatch tables, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 01/19] Monitor: Introduce search_dispatch_table(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 02/19] QMP: handle_qmp_command(): Move 'cmd' sanity check, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 03/19] QMP: Don't use do_info(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 04/19] Monitor: Drop QMP bits from do_info(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 05/19] Monitor: Drop is_async_return(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 06/19] Monitor: Convert do_info() back to HMP, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 07/19] Monitor: Introduce the qmp-commands.hx file, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 09/19] QMP: Introduce command dispatch table, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 08/19] QMP: Introduce qmp_find_cmd(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 10/19] QMP: Introduce query commands dispatch table, Luiz Capitulino, 2010/09/30