Bug 1920400
Summary: | virt-qemu-run can not parse root dir containing space char | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | yafu <yafu> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
Status: | CLOSED ERRATA | QA Contact: | yafu <yafu> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.4 | CC: | jdenemar, lmen, mprivozn, smitterl, virt-maint, xuzhang, yalzhang |
Target Milestone: | rc | Keywords: | Triaged, Upstream |
Target Release: | 8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-7.3.0-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-16 07:51:32 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: | 7.1.0 |
Embargoed: |
Description
yafu
2021-01-26 09:06:57 UTC
Patch proposed upstream: https://listman.redhat.com/archives/libvir-list/2021-February/msg00772.html Merged upstream as: 859f7e2072 qemu_shim: URI escape root directory v7.0.0-448-g859f7e2072 Verified with libvirt-daemon-7.3.0-1.module+el8.5.0+11004+f4810536.x86_64. Test steps: 1.Start a guest by 'vrit-qemu-run' with a root dir containing space char: # virt-qemu-run -v /root/vm1.xml -r /tmp/test\ test/ virt-qemu-run: 79: initializing libvirt 8910 virt-qemu-run: 2668: initializing signal handlers virt-qemu-run: 2783: preparing event loop thread virt-qemu-run: 2873: opening qemu:///embed?root=%2Ftmp%2Ftest%20test%2F virt-qemu-run: 39346: fetching guest config /root/vm1.xml virt-qemu-run: 39457: starting guest /root/vm1.xml virt-qemu-run: 1086625: guest running, Ctrl-C to stop now 2.Check the qemu process and could see the qemu process started by step 1: # ps aux | grep -i qemu-kvm qemu 8935 95.0 1.2 5397352 797228 ? SLl 04:19 0:36 /usr/libexec/qemu-kvm -name guest=vm1,debug-threads=on -S -object {"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/test test//lib/qemu/domain-1-vm1/master-key.aes"} -machine pc-q35-rhel8.4.0,accel=kvm,usb=off,smm=on,dump-guest-core=off,... 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 (virt:av bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2021:4684 |