Bug 1685445
| Summary: | The Win2019 guest doesn't work well without -nodefaults parameter in qemu command. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Lei Yang <leiyang> |
| Component: | qemu-kvm | Assignee: | Yvugenfi <yvugenfi> |
| qemu-kvm sub component: | General | QA Contact: | Lei Yang <leiyang> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | chayang, juzhang, marcandre.lureau, pezhang, rbalakri, virt-maint, vrozenfe, ybendito, yvugenfi |
| Version: | 8.0 | ||
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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
Lei Yang
2019-03-05 09:08:12 UTC
1.full qemu command line /usr/libexec/qemu-kvm -name Win2019 \ -M q35,kernel-irqchip=split -m 1G \ -cpu Haswell-noTSX,hv_stimer,hv_synic,hv_time,hv_relaxed,hv_vpindex,hv_spinlocks=0xfff,hv_vapic,hv_reset,hv_crash \ -device intel-iommu,intremap=true,caching-mode=true \ -smp 2,sockets=1,cores=2,threads=1 \ -device pcie-root-port,id=root.1,chassis=1 \ -device pcie-root-port,id=root.2,chassis=2 \ -device pcie-root-port,id=root.3,chassis=3 \ -device pcie-root-port,id=root.4,chassis=4 \ -device pcie-root-port,id=root.5,chassis=5 \ -device pcie-root-port,id=root.6,chassis=6 \ -blockdev driver=file,cache.direct=off,cache.no-flush=on,filename=/home/win2019.qcow2,node-name=my_file \ -blockdev driver=qcow2,node-name=my,file=my_file \ -device virtio-blk-pci,drive=my,id=virtio-blk0,bus=root.1 \ -drive id=drive_cd1,if=none,snapshot=off,aio=native,cache=none,media=cdrom,file=/home/en_windows_server_2019_x64_dvd_4cb967d8.iso \ -device ide-cd,id=cd1,drive=drive_cd1,bus=ide.0,unit=0 \ -drive id=drive_winutils,if=none,snapshot=off,aio=native,cache=none,media=cdrom,file=/usr/share/virtio-win/virtio-win-1.9.7.iso \ -device ide-cd,id=winutils,drive=drive_winutils,bus=ide.1,unit=0 \ -vnc :0 \ -vga qxl \ -monitor stdio \ -usb -device usb-tablet \ -boot menu=on \ -qmp tcp:0:5555,server,nowait \ -device vfio-pci,host=04:00.0,bus=root.3,id=pf-1 \ 2.rhel guest works well If boot qemu with "-nodefaults" (other cmd line keep same as above), everything works well. So this should not be VFIO issue. QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. Thanks I suggest testing with the QEMU package mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1685775#c28 (In reply to Yan Vugenfirer from comment #4) > I suggest testing with the QEMU package mentioned in > https://bugzilla.redhat.com/show_bug.cgi?id=1685775#c28 Hi,Yan The status of QENU package link in bug 1685775 has been closed.Could you provide again? Best regards LeiYang https://bugzilla.redhat.com/show_bug.cgi?id=1685775#c27 - Marc-Andre, can you please provide this package again to test this bug as well? Thanks. (In reply to Yan Vugenfirer from comment #6) > https://bugzilla.redhat.com/show_bug.cgi?id=1685775#c27 - Marc-Andre, can > you please provide this package again to test this bug as well? > Thanks. that should be it: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=27199544 Hi,Yan Using the qemu package(qemu-kvm-2.12.0-99.el8_1.elmarco202003041527.x86_64) test.Hot plug/unplug 3 PFs guest works well. Test Version: kernel-4.18.0-147.8.1.el8_1.x86_64 qemu-kvm-2.12.0-99.el8_1.elmarco202003111136.x86_64 virtio-win-1.9.8-7.el8.noarch ==steps 1.Boot win2019 guest. /usr/libexec/qemu-kvm -name Win2019 \ -M q35,kernel-irqchip=split -m 4G \ -cpu Haswell-noTSX,hv_stimer,hv_synic,hv_time,hv_relaxed,hv_vpindex,hv_spinlocks=0xfff,hv_vapic,hv_reset,hv_crash \ -smp 2,sockets=1,cores=2,threads=1 \ -device pcie-root-port,id=root.1,chassis=1 \ -device pcie-root-port,id=root.2,chassis=2 \ -device pcie-root-port,id=root.3,chassis=3 \ -device pcie-root-port,id=root.4,chassis=4 \ -device pcie-root-port,id=root.5,chassis=5 \ -device pcie-root-port,id=root.6,chassis=6 \ -blockdev driver=file,cache.direct=off,cache.no-flush=on,filename=/home/win2019.qcow2,node-name=my_file \ -blockdev driver=qcow2,node-name=my,file=my_file \ -device virtio-blk-pci,drive=my,id=virtio-blk0,bus=root.1 \ -drive id=drive_cd1,if=none,snapshot=off,aio=native,cache=none,media=cdrom,file=/home/en_windows_server_2019_updated_march_2019_x64_dvd_2ae967ab.iso \ -device ide-cd,id=cd1,drive=drive_cd1,bus=ide.0,unit=0 \ -drive id=drive_winutils,if=none,snapshot=off,aio=native,cache=none,media=cdrom,file=/usr/share/virtio-win/virtio-win-1.9.8.iso \ -device ide-cd,id=winutils,drive=drive_winutils,bus=ide.1,unit=0 \ -vnc :0 \ -vga qxl \ -monitor stdio \ -usb -device usb-tablet \ -boot menu=on \ -qmp tcp:0:5555,server,nowait \ 2.Hot plug/hot unplug nics to guest (qemu) device_add vfio-pci,host=06:00.0,bus=root.4,id=pf-2 (qemu) device_add vfio-pci,host=06:00.1,bus=root.5,id=pf-3 (qemu) device_add vfio-pci,host=08:00.0,bus=root.6,id=pf-4 (qemu) device_del pf-2 (qemu) device_del pf-3 (qemu) device_del pf-4 (qemu) Closing based on comment #8 *** This bug has been marked as a duplicate of bug 1685775 *** Closing based on comment #8 *** This bug has been marked as a duplicate of bug 1685775 *** |