Bug 612308
Summary: | qemu -net / vlan option deprecated. Use -netdev instead. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | dallan, jzheng, llim, mbooth, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.7.17-4.el6 | Doc Type: | Bug Fix |
Doc Text: |
The "-net" and "vlan=..." options in the qemu package have been deprecated for some time. To avoid relying on these deprecated options, libguestfs now uses the "-netdev" option instead.
|
Story Points: | --- |
Clone Of: | 612307 | Environment: | |
Last Closed: | 2011-05-19 11:44:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 612307, 613593 | ||
Bug Blocks: |
Description
Richard W.M. Jones
2010-07-07 20:14:01 UTC
This will be fixed if we rebase (bug 613593). Fixed in the rebase. Just a note: New code is using: -netdev user,id=usernet -device virtio-net-pci,netdev=usernet This is only used if the user enables networking eg. using guestfs_set_network (g, 1) or using an option like --network to virt-rescue: http://libguestfs.org/guestfs.3.html#guestfs_set_network http://libguestfs.org/virt-rescue.1.html#network In the vast majority of cases networking is not used at all. This is VERIFIED by: $ guestfish verbose 1 network 1 run ... [00149ms] /usr/libexec/qemu-kvm \ -drive file=test.qcow2,cache=off,if=virtio \ -nodefconfig \ -enable-kvm \ -nodefaults \ -nographic \ -m 500 \ -no-reboot \ -device virtio-serial \ -serial stdio \ -chardev socket,path=/tmp/libguestfswfSlM5/sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -netdev user,id=usernet,net=169.254.0.0/16 \ -device virtio-net-pci,netdev=usernet \ -kernel /tmp/.guestfs-0/kernel.16293 \ -initrd /tmp/.guestfs-0/initrd.16293 \ -append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ -drive file=/tmp/.guestfs-0/root.16293,snapshot=on,if=virtio,cache=writeback ... no -net args for the qemu. -netdev and -device was used instead. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The "-net" and "vlan=..." options in the qemu package have been deprecated for some time. To avoid relying on these deprecated options, libguestfs now uses the "-netdev" option instead. This is fine, thanks. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0586.html An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0586.html |