Bug 682760 - /etc/qemu-ifdown: could not launch network script while script=no
Summary: /etc/qemu-ifdown: could not launch network script while script=no
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: jason wang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-07 14:12 UTC by Lubos Kocman
Modified: 2013-01-09 23:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-22 07:41:50 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lubos Kocman 2011-03-07 14:12:19 UTC
Description of problem:

qemu-kvm is trying to use network script even if it was told to not use any (script=no).

Version-Release number of selected component (if applicable):

qemu-kvm-0.12.1.2-2.149.el6.x86_64


How reproducible:


Steps to Reproduce:
1.sudo QEMU_AUDIO=spice /usr/libexec/qemu-kvm  -vga qxl -spice port=3001,disable-ticketing -soundhw ac97 -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -m 1024 -net nic -net tap,ifname=tap0,script=no /dev/rootvg/gst_win7x32
2. shutdown guest (rhel 6.1 x64 used)
  
Actual results:

do_spice_init: starting 0.7.3
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
Using CPU model "cpu64-rhel6"
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
spice_server_add_interface: SPICE_INTERFACE_RECORD
spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
handle_dev_destroy_surfaces: 
handle_dev_input: start
reds_handle_main_link: 
reds_show_new_channel: channel 1:0, connected successfully, over Non Secure link
reds_main_handle_message: net test: invalid values, latency 0 roundtrip 1503. assuming highbandwidth
reds_show_new_channel: channel 5:0, connected successfully, over Non Secure link
reds_show_new_channel: channel 6:0, connected successfully, over Non Secure link
reds_show_new_channel: channel 4:0, connected successfully, over Non Secure link
red_dispatcher_set_cursor_peer: 
handle_dev_input: cursor connect
reds_show_new_channel: channel 2:0, connected successfully, over Non Secure link
red_dispatcher_set_peer: 
handle_dev_input: connect
handle_new_display_channel: jpeg disabled
handle_new_display_channel: zlib-over-glz disabled
reds_show_new_channel: channel 3:0, connected successfully, over Non Secure link
inputs_link: 
/etc/qemu-ifdown: could not launch network script


Expected results:

this should not appear => /etc/qemu-ifdown: could not launch network script

Additional info:

Comment 2 Mike Cao 2011-03-08 02:01:13 UTC
FYI .
you should use downscript=no instead of script=no


Note You need to log in before you can comment on or make changes to this bug.