Bug 1172526
Summary: | libvirt should forbid add a address for guestfwd type channel | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Luyao Huang <lhuang> |
Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.1 | CC: | dyuan, mkletzan, mzhan, rbalakri |
Target Milestone: | rc | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.13-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 05:57:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Luyao Huang
2014-12-10 10:04:48 UTC
Fixed upstream by v1.2.11-rc1-27-g47a3dd4: commit 47a3dd46ead20e6fdc30bcdc1b8e707e250d33da Author: Martin Kletzander <mkletzan> Date: Wed Dec 10 10:56:09 2014 +0100 conf: Ignore device address for guestfwd channel Verified as below: [root@localhost ~]# rpm -q libvirt qemu-kvm-rhev libvirt-1.2.15-1.el7.x86_64 qemu-kvm-rhev-2.3.0-1.el7.x86_64 Add below lines to domain: <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/guestfwd'/> <target type='guestfwd' address='0.0.0.0' port='4600'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> After "virsh edit" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ From libvirtd.log 2015-05-07 07:33:40.180+0000: 7093: debug : virFileFindResourceFull:1666 : Resolved 'domain.rng' to '/usr/share/libvirt/schemas/domain.rng' 2015-05-07 07:33:40.187+0000: 7093: debug : virDomainChrDefParseXML:9196 : Ignoring device address for gustfwd channel ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@localhost ~]# virsh dumpxml r71 | grep "</channel" -B4 ... <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/guestfwd'/> <target type='guestfwd' address='0.0.0.0' port='4600'/> </channel> [root@localhost ~]# virsh start r71 Domain r71 started [root@localhost ~]# virsh dumpxml r71 | grep "</channel" -B4 ... <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/guestfwd'/> <target type='guestfwd' address='0.0.0.0' port='4600'/> <alias name='channel3'/> </channel> Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2202.html |