[libvirt] [PATCH v2 0/2] qemu: cpu: fix "full" CPU to include all "reported" CPU features

Nikolay Shirokovskiy posted 2 patches 6 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1523437052-875790-1-git-send-email-nshirokovskiy@virtuozzo.com
Test syntax-check passed
src/qemu/qemu_capabilities.c                       |   12 +-
tests/cputest.c                                    |    1 +
.../x86_64-cpuid-Core-i5-650-disabled.xml          |    5 +
.../x86_64-cpuid-Core-i5-650-enabled.xml           |    7 +
.../cputestdata/x86_64-cpuid-Core-i5-650-guest.xml |   24 +
.../cputestdata/x86_64-cpuid-Core-i5-650-host.xml  |   25 +
.../cputestdata/x86_64-cpuid-Core-i5-650-json.xml  |   12 +
tests/cputestdata/x86_64-cpuid-Core-i5-650.json    | 1068 ++++++++++++++++++++
tests/cputestdata/x86_64-cpuid-Core-i5-650.xml     |   30 +
9 files changed, 1181 insertions(+), 3 deletions(-)
create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-disabled.xml
create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-enabled.xml
create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-guest.xml
create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-host.xml
create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-json.xml
create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650.json
create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650.xml
[libvirt] [PATCH v2 0/2] qemu: cpu: fix "full" CPU to include all "reported" CPU features
Posted by Nikolay Shirokovskiy 6 years ago
diff from v1:
- add test data for CPU for which issue was triggered

Patch 1 adds tests for CPU on which problem was detected. However we
don't test <cpu mode='host-model' check='partial'> case which have
issue.

Patch 2 is actual fix.

Nikolay Shirokovskiy (2):
  cputest: New test for Intel Core i5-650
  qemu: cpu: fix "full" CPU to include all "reported" CPU features

 src/qemu/qemu_capabilities.c                       |   12 +-
 tests/cputest.c                                    |    1 +
 .../x86_64-cpuid-Core-i5-650-disabled.xml          |    5 +
 .../x86_64-cpuid-Core-i5-650-enabled.xml           |    7 +
 .../cputestdata/x86_64-cpuid-Core-i5-650-guest.xml |   24 +
 .../cputestdata/x86_64-cpuid-Core-i5-650-host.xml  |   25 +
 .../cputestdata/x86_64-cpuid-Core-i5-650-json.xml  |   12 +
 tests/cputestdata/x86_64-cpuid-Core-i5-650.json    | 1068 ++++++++++++++++++++
 tests/cputestdata/x86_64-cpuid-Core-i5-650.xml     |   30 +
 9 files changed, 1181 insertions(+), 3 deletions(-)
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-disabled.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-enabled.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-guest.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-host.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-json.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650.json
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650.xml

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/2] qemu: cpu: fix "full" CPU to include all "reported" CPU features
Posted by Jiri Denemark 6 years ago
On Wed, Apr 11, 2018 at 11:57:30 +0300, Nikolay Shirokovskiy wrote:
> diff from v1:
> - add test data for CPU for which issue was triggered
> 
> Patch 1 adds tests for CPU on which problem was detected. However we
> don't test <cpu mode='host-model' check='partial'> case which have
> issue.
> 
> Patch 2 is actual fix.
> 
> Nikolay Shirokovskiy (2):
>   cputest: New test for Intel Core i5-650
>   qemu: cpu: fix "full" CPU to include all "reported" CPU features

Oh I see. Thanks for the CPU data which helped me understand what
problem you are fixing. The patch is indeed correct, but I can't push it
since it is missing the Signed-off-by line. You can either resubmit the
patches with SoB line added or just reply with the SoB line here and
I'll update the patches before pushing.

Series

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/2] qemu: cpu: fix "full" CPU to include all "reported" CPU features
Posted by Nikolay Shirokovskiy 6 years ago

On 18.04.2018 12:11, Jiri Denemark wrote:
> On Wed, Apr 11, 2018 at 11:57:30 +0300, Nikolay Shirokovskiy wrote:
>> diff from v1:
>> - add test data for CPU for which issue was triggered
>>
>> Patch 1 adds tests for CPU on which problem was detected. However we
>> don't test <cpu mode='host-model' check='partial'> case which have
>> issue.
>>
>> Patch 2 is actual fix.
>>
>> Nikolay Shirokovskiy (2):
>>   cputest: New test for Intel Core i5-650
>>   qemu: cpu: fix "full" CPU to include all "reported" CPU features
> 
> Oh I see. Thanks for the CPU data which helped me understand what
> problem you are fixing. The patch is indeed correct, but I can't push it
> since it is missing the Signed-off-by line. You can either resubmit the
> patches with SoB line added or just reply with the SoB line here and
> I'll update the patches before pushing.
> 
> Series
> 
> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
> 

Ahhh, keep forgetting SoB.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>

Thanx!

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/2] qemu: cpu: fix "full" CPU to include all "reported" CPU features
Posted by Jiri Denemark 6 years ago
On Wed, Apr 18, 2018 at 12:14:35 +0300, Nikolay Shirokovskiy wrote:
> 
> 
> On 18.04.2018 12:11, Jiri Denemark wrote:
> > On Wed, Apr 11, 2018 at 11:57:30 +0300, Nikolay Shirokovskiy wrote:
> >> diff from v1:
> >> - add test data for CPU for which issue was triggered
> >>
> >> Patch 1 adds tests for CPU on which problem was detected. However we
> >> don't test <cpu mode='host-model' check='partial'> case which have
> >> issue.
> >>
> >> Patch 2 is actual fix.
> >>
> >> Nikolay Shirokovskiy (2):
> >>   cputest: New test for Intel Core i5-650
> >>   qemu: cpu: fix "full" CPU to include all "reported" CPU features
> > 
> > Oh I see. Thanks for the CPU data which helped me understand what
> > problem you are fixing. The patch is indeed correct, but I can't push it
> > since it is missing the Signed-off-by line. You can either resubmit the
> > patches with SoB line added or just reply with the SoB line here and
> > I'll update the patches before pushing.
> > 
> > Series
> > 
> > Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
> > 
> 
> Ahhh, keep forgetting SoB.
> 
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>

Thanks, I updated the patches and pushed them.

Jirka

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list