Bug 790745
Summary: | [Regression]libvirtd dead when create a guest with "--channel pty,target_type=virtio" by virt-install. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Daisy Wu <jwu> | ||||
Component: | libvirt | Assignee: | Alex Jia <ajia> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.2 | CC: | acathrow, ajia, dallan, dyuan, mzhan, rwu, whuang, zpeng | ||||
Target Milestone: | rc | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | libvirt-0.9.10-2.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-06-20 06:48:25 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: | |||||||
Attachments: |
|
Description
Daisy Wu
2012-02-15 10:10:02 UTC
Created attachment 562181 [details]
debug info
Patch for upstream: https://www.redhat.com/archives/libvir-list/2012-February/msg00676.html v2 patch for upstream: https://www.redhat.com/archives/libvir-list/2012-February/msg00729.html In POST: commit 18942b9bea8a5a8a4d52c0cdde253ae91be338a6 Author: Alex Jia <ajia> Date: Thu Feb 16 10:32:03 2012 +0800 qemu: Prevent crash of libvirtd without guest agent * src/qemu/qemu_process.c (qemuFindAgentConfig): avoid crash libvirtd due to deref a NULL pointer. * How to reproduce? 1. virsh edit the following xml into guest configuration: <channel type='pty'> <target type='virtio'/> </channel> 2. virsh start <domain> or % virt-install -n foo -r 1024 --disk path=/var/lib/libvirt/images/foo.img,size=1 \ --channel pty,target_type=virtio -l <installation tree> Signed-off-by: Alex Jia <ajia> Verify this bug with libvirt-0.9.10-2.el6.x86_64 # virt-install -n demo7 -r 1024 --disk path=/var/lib/libvirt/images/demo7.img,size=5 --channel pty,target_type=virtio -l http://fileshare.englab.nay.redhat.com/pub/redhat/rhel/rel-eng/RHEL-6.2/RHEL6.2-20111117.0/x86_64/os/ Starting install... Retrieving file vmlinuz... | 7.5 MB 00:00 ... Retrieving file initrd.img... | 56 MB 00:00 ... Allocating 'demo7.img' | 5.0 GB 00:00 Creating domain... ------------------- guest's xml ... <channel type='pty'> <source path='/dev/pts/3'/> <target type='virtio'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> ... Wenlong 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. http://rhn.redhat.com/errata/RHSA-2012-0748.html |