Activity log for bug #1828288

Date Who What changed Old value New value Message
2019-05-08 19:10:17 Rafael David Tinoco bug added bug
2019-05-08 19:10:22 Rafael David Tinoco qemu (Ubuntu): assignee Rafael David Tinoco (inaddy)
2019-05-08 19:10:24 Rafael David Tinoco qemu (Ubuntu): status New Incomplete
2019-05-08 19:10:27 Rafael David Tinoco qemu (Ubuntu): status Incomplete In Progress
2019-05-08 19:10:50 Rafael David Tinoco bug added subscriber Christian Ehrhardt 
2019-05-08 19:43:25 Rafael David Tinoco attachment added qemu_2.5+dfsg-5ubuntu10.38.debdiff https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1828288/+attachment/5262436/+files/qemu_2.5+dfsg-5ubuntu10.38.debdiff
2019-05-08 20:24:40 Ubuntu Foundations Team Bug Bot tags amd64 amd64 patch
2019-05-08 20:24:46 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2019-05-13 00:59:53 Rafael David Tinoco description When using latest QEMU (-proposed) in Xenial you might encounter the following problem when trying to initialize your guests: ---- (c)inaddy@qemubug:~$ apt-cache policy qemu-system-x86 qemu-system-x86: Installed: 1:2.5+dfsg-5ubuntu10.37 Candidate: 1:2.5+dfsg-5ubuntu10.37 Version table: *** 1:2.5+dfsg-5ubuntu10.37 500 500 http://ubuntu.c3sl.ufpr.br//ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1:2.5+dfsg-5ubuntu10.36 500 500 http://ubuntu.c3sl.ufpr.br//ubuntu xenial-updates/main amd64 Packages 1:2.5+dfsg-5ubuntu10 500 500 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main amd64 Packages ---- (c)inaddy@qemubug:~$ virsh list --all Id Name State ---------------------------------------------------- - kdebian shut off - kguest shut off (c)inaddy@qemubug:~$ virsh start --console kguest error: Failed to start domain kguest error: internal error: process exited while connecting to monitor: warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 0] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 1] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 2] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 3] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 4] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 5] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 6] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 7] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 8] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 9] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 12] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 13] warning: host doesn't support requested feature: CPU ---- This happens because x86_cpu_get_migratable_flags() does not support CPUID_EXT2_AMD_ALIASES. After cherry-picking upstream patch 9997cf7bdac056aeed246613639675c5a9f8fdc2, that moves CPUID_EXT2_AMD_ALIASES code to after x86_cpu_filter_features(), the problem is fixed. Other QEMU versions are properly fixed and don't face this issue. Cherry-picking commit and re-building the package makes it to work: ---- (c)inaddy@qemubug:~$ virsh start --console kguest Domain kguest started Connected to domain kguest Escape character is ^] [ 0.000000] Linux version 4.19.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Debian 4.19.28-2 (2019-03-15) [ 0.000000] Command line: root=/dev/vda noresume console=tty0 console=ttyS0,38400n8 apparmor=0 net.ifnames=0 crashkernel=256M [ 0.000000] random: get_random_u32 called from bsp_init_amd+0x20b/0x2b0 with crng_init=0 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. ... [Impact] * QEMU does not work in some AMD hardware when using host-passthrough as cpu-mode (usually to allow nested KVM to work). [Test Case] * to use Xenial qemu (1:2.5+dfsg-5ubuntu10.36 ou 1:2.5+dfsg-5ubuntu10.37) * to use the following XML file: https://paste.ubuntu.com/p/BSyFY7ksR5/ * to have AMD FX(tm)-8350 Eight-Core Processor CPU or similar [Regression Potential] * initial qemu code could be affected, disallowing other guests, in other architectures, to be started * suggested patch is simple, being a positional change only [Other Info] * INITIAL CASE DESCRIPTION: When using latest QEMU (-proposed) in Xenial you might encounter the following problem when trying to initialize your guests: ---- (c)inaddy@qemubug:~$ apt-cache policy qemu-system-x86 qemu-system-x86:   Installed: 1:2.5+dfsg-5ubuntu10.37   Candidate: 1:2.5+dfsg-5ubuntu10.37   Version table:  *** 1:2.5+dfsg-5ubuntu10.37 500         500 http://ubuntu.c3sl.ufpr.br//ubuntu xenial-proposed/main amd64 Packages         100 /var/lib/dpkg/status      1:2.5+dfsg-5ubuntu10.36 500         500 http://ubuntu.c3sl.ufpr.br//ubuntu xenial-updates/main amd64 Packages      1:2.5+dfsg-5ubuntu10 500         500 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main amd64 Packages ---- (c)inaddy@qemubug:~$ virsh list --all  Id Name State ----------------------------------------------------  - kdebian shut off  - kguest shut off (c)inaddy@qemubug:~$ virsh start --console kguest error: Failed to start domain kguest error: internal error: process exited while connecting to monitor: warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 0] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 1] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 2] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 3] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 4] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 5] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 6] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 7] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 8] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 9] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 12] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 13] warning: host doesn't support requested feature: CPU ---- This happens because x86_cpu_get_migratable_flags() does not support CPUID_EXT2_AMD_ALIASES. After cherry-picking upstream patch 9997cf7bdac056aeed246613639675c5a9f8fdc2, that moves CPUID_EXT2_AMD_ALIASES code to after x86_cpu_filter_features(), the problem is fixed. Other QEMU versions are properly fixed and don't face this issue. Cherry-picking commit and re-building the package makes it to work: ---- (c)inaddy@qemubug:~$ virsh start --console kguest Domain kguest started Connected to domain kguest Escape character is ^] [ 0.000000] Linux version 4.19.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Debian 4.19.28-2 (2019-03-15) [ 0.000000] Command line: root=/dev/vda noresume console=tty0 console=ttyS0,38400n8 apparmor=0 net.ifnames=0 crashkernel=256M [ 0.000000] random: get_random_u32 called from bsp_init_amd+0x20b/0x2b0 with crng_init=0 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. ...
2019-05-13 01:00:29 Rafael David Tinoco description [Impact] * QEMU does not work in some AMD hardware when using host-passthrough as cpu-mode (usually to allow nested KVM to work). [Test Case] * to use Xenial qemu (1:2.5+dfsg-5ubuntu10.36 ou 1:2.5+dfsg-5ubuntu10.37) * to use the following XML file: https://paste.ubuntu.com/p/BSyFY7ksR5/ * to have AMD FX(tm)-8350 Eight-Core Processor CPU or similar [Regression Potential] * initial qemu code could be affected, disallowing other guests, in other architectures, to be started * suggested patch is simple, being a positional change only [Other Info] * INITIAL CASE DESCRIPTION: When using latest QEMU (-proposed) in Xenial you might encounter the following problem when trying to initialize your guests: ---- (c)inaddy@qemubug:~$ apt-cache policy qemu-system-x86 qemu-system-x86:   Installed: 1:2.5+dfsg-5ubuntu10.37   Candidate: 1:2.5+dfsg-5ubuntu10.37   Version table:  *** 1:2.5+dfsg-5ubuntu10.37 500         500 http://ubuntu.c3sl.ufpr.br//ubuntu xenial-proposed/main amd64 Packages         100 /var/lib/dpkg/status      1:2.5+dfsg-5ubuntu10.36 500         500 http://ubuntu.c3sl.ufpr.br//ubuntu xenial-updates/main amd64 Packages      1:2.5+dfsg-5ubuntu10 500         500 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main amd64 Packages ---- (c)inaddy@qemubug:~$ virsh list --all  Id Name State ----------------------------------------------------  - kdebian shut off  - kguest shut off (c)inaddy@qemubug:~$ virsh start --console kguest error: Failed to start domain kguest error: internal error: process exited while connecting to monitor: warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 0] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 1] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 2] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 3] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 4] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 5] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 6] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 7] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 8] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 9] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 12] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 13] warning: host doesn't support requested feature: CPU ---- This happens because x86_cpu_get_migratable_flags() does not support CPUID_EXT2_AMD_ALIASES. After cherry-picking upstream patch 9997cf7bdac056aeed246613639675c5a9f8fdc2, that moves CPUID_EXT2_AMD_ALIASES code to after x86_cpu_filter_features(), the problem is fixed. Other QEMU versions are properly fixed and don't face this issue. Cherry-picking commit and re-building the package makes it to work: ---- (c)inaddy@qemubug:~$ virsh start --console kguest Domain kguest started Connected to domain kguest Escape character is ^] [ 0.000000] Linux version 4.19.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Debian 4.19.28-2 (2019-03-15) [ 0.000000] Command line: root=/dev/vda noresume console=tty0 console=ttyS0,38400n8 apparmor=0 net.ifnames=0 crashkernel=256M [ 0.000000] random: get_random_u32 called from bsp_init_amd+0x20b/0x2b0 with crng_init=0 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. ... [Impact]  * QEMU does not work in some AMD hardware when using host-passthrough as cpu-mode (usually to allow nested KVM to work). [Test Case]  * to use Xenial qemu (1:2.5+dfsg-5ubuntu10.36 ou 1:2.5+dfsg-5ubuntu10.37)  * to use the following XML file: https://paste.ubuntu.com/p/BSyFY7ksR5/  * to have AMD FX(tm)-8350 Eight-Core Processor CPU or similar [Regression Potential]  * initial qemu code could be affected, disallowing other guests, in other architectures, to be started  * suggested patch is simple, being a positional change only * patch is upstream based and identifies the issue and is reported to be a fix for the described issue [Other Info]  * INITIAL CASE DESCRIPTION: When using latest QEMU (-proposed) in Xenial you might encounter the following problem when trying to initialize your guests: ---- (c)inaddy@qemubug:~$ apt-cache policy qemu-system-x86 qemu-system-x86:   Installed: 1:2.5+dfsg-5ubuntu10.37   Candidate: 1:2.5+dfsg-5ubuntu10.37   Version table:  *** 1:2.5+dfsg-5ubuntu10.37 500         500 http://ubuntu.c3sl.ufpr.br//ubuntu xenial-proposed/main amd64 Packages         100 /var/lib/dpkg/status      1:2.5+dfsg-5ubuntu10.36 500         500 http://ubuntu.c3sl.ufpr.br//ubuntu xenial-updates/main amd64 Packages      1:2.5+dfsg-5ubuntu10 500         500 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main amd64 Packages ---- (c)inaddy@qemubug:~$ virsh list --all  Id Name State ----------------------------------------------------  - kdebian shut off  - kguest shut off (c)inaddy@qemubug:~$ virsh start --console kguest error: Failed to start domain kguest error: internal error: process exited while connecting to monitor: warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 0] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 1] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 2] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 3] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 4] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 5] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 6] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 7] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 8] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 9] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 12] warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 13] warning: host doesn't support requested feature: CPU ---- This happens because x86_cpu_get_migratable_flags() does not support CPUID_EXT2_AMD_ALIASES. After cherry-picking upstream patch 9997cf7bdac056aeed246613639675c5a9f8fdc2, that moves CPUID_EXT2_AMD_ALIASES code to after x86_cpu_filter_features(), the problem is fixed. Other QEMU versions are properly fixed and don't face this issue. Cherry-picking commit and re-building the package makes it to work: ---- (c)inaddy@qemubug:~$ virsh start --console kguest Domain kguest started Connected to domain kguest Escape character is ^] [ 0.000000] Linux version 4.19.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Debian 4.19.28-2 (2019-03-15) [ 0.000000] Command line: root=/dev/vda noresume console=tty0 console=ttyS0,38400n8 apparmor=0 net.ifnames=0 crashkernel=256M [ 0.000000] random: get_random_u32 called from bsp_init_amd+0x20b/0x2b0 with crng_init=0 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. ...
2019-05-16 17:50:33 Dan Streetman nominated for series Ubuntu Xenial
2019-05-16 17:50:33 Dan Streetman bug task added qemu (Ubuntu Xenial)
2019-05-16 18:33:18 Dan Streetman removed subscriber Ubuntu Sponsors Team
2019-05-17 08:25:29 shahul hameed attachment removed qemu_2.5+dfsg-5ubuntu10.38.debdiff https://bugs.launchpad.net/ubuntu/xenial/+source/qemu/+bug/1828288/+attachment/5262436/+files/qemu_2.5+dfsg-5ubuntu10.38.debdiff
2019-05-17 08:26:56 shahul hameed bug added subscriber shahul hameed
2019-05-17 08:27:12 shahul hameed removed subscriber shahul hameed
2019-05-17 08:27:21 shahul hameed bug added subscriber shahul hameed
2019-05-17 09:40:26 shahul hameed removed subscriber shahul hameed
2019-05-17 09:40:28 shahul hameed bug added subscriber shahul hameed
2019-05-17 10:36:45 Rafael David Tinoco qemu (Ubuntu Xenial): status New In Progress
2019-05-17 10:36:49 Rafael David Tinoco qemu (Ubuntu): status In Progress Fix Released
2019-05-17 10:36:53 Rafael David Tinoco qemu (Ubuntu Xenial): assignee Rafael David Tinoco (rafaeldtinoco)
2019-05-17 10:47:43 Rafael David Tinoco bug added subscriber S.Shahul Hameed
2019-05-17 10:47:57 Rafael David Tinoco removed subscriber S.Shahul Hameed
2019-05-17 10:52:47 Rafael David Tinoco attachment added qemu_2.5+dfsg-5ubuntu10.38.debdiff https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1828288/+attachment/5264449/+files/qemu_2.5+dfsg-5ubuntu10.38.debdiff
2019-05-18 17:23:01 Rafael David Tinoco removed subscriber Rafael David Tinoco
2019-05-27 13:47:38 Mario Splivalo bug added subscriber Mario Splivalo
2019-05-28 07:53:31 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/qemu/+git/qemu/+merge/367971
2019-05-28 15:32:53 Rafael David Tinoco bug added subscriber Rafael David Tinoco
2019-06-13 15:53:50 Łukasz Zemczak qemu (Ubuntu Xenial): status In Progress Fix Committed
2019-06-13 15:53:52 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2019-06-13 15:53:55 Łukasz Zemczak bug added subscriber SRU Verification
2019-06-13 15:53:57 Łukasz Zemczak tags amd64 patch amd64 patch verification-needed verification-needed-xenial
2019-06-19 18:03:42 Rafael David Tinoco tags amd64 patch verification-needed verification-needed-xenial verification-done verification-done-xenial
2019-06-20 22:00:07 Steve Langasek removed subscriber Ubuntu Stable Release Updates Team
2019-06-20 22:00:03 Launchpad Janitor qemu (Ubuntu Xenial): status Fix Committed Fix Released