[libvirt PATCH v3 0/3] qemuProcessUpdateGuestCPU: Check host cpu for forbidden features

Tim Wiederhake posted 3 patches 3 years, 1 month ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210323100155.34735-1-twiederh@redhat.com
src/conf/cpu_conf.c      |  2 +-
src/conf/cpu_conf.h      |  2 +-
src/cpu/cpu.c            | 37 +++++++++++++++++++++++++++++++++++++
src/cpu/cpu.h            |  6 ++++++
src/libvirt_private.syms |  1 +
src/qemu/qemu_process.c  | 10 ++++++++++
6 files changed, 56 insertions(+), 2 deletions(-)
[libvirt PATCH v3 0/3] qemuProcessUpdateGuestCPU: Check host cpu for forbidden features
Posted by Tim Wiederhake 3 years, 1 month ago
V1: https://listman.redhat.com/archives/libvir-list/2021-February/msg01275.ht=
ml
V2: https://listman.redhat.com/archives/libvir-list/2021-February/msg01289.ht=
ml

Changes since V2:
* Factored out into seperate function in src/cpu/cpu.c
* Made virCPUDefFindFeature work on const pointers

Tim Wiederhake (3):
  virCPUDefFindFeature: Make first argument const ptr
  cpu: Introduce virCPUCheckForbiddenFeatures
  qemuProcessUpdateGuestCPU: Check host cpu for forbidden features

 src/conf/cpu_conf.c      |  2 +-
 src/conf/cpu_conf.h      |  2 +-
 src/cpu/cpu.c            | 37 +++++++++++++++++++++++++++++++++++++
 src/cpu/cpu.h            |  6 ++++++
 src/libvirt_private.syms |  1 +
 src/qemu/qemu_process.c  | 10 ++++++++++
 6 files changed, 56 insertions(+), 2 deletions(-)

--=20
2.26.2


Re: [libvirt PATCH v3 0/3] qemuProcessUpdateGuestCPU: Check host cpu for forbidden features
Posted by Jiri Denemark 3 years, 1 month ago
On Tue, Mar 23, 2021 at 11:01:52 +0100, Tim Wiederhake wrote:
> V1: https://listman.redhat.com/archives/libvir-list/2021-February/msg01275.ht=
> ml
> V2: https://listman.redhat.com/archives/libvir-list/2021-February/msg01289.ht=
> ml
> 
> Changes since V2:
> * Factored out into seperate function in src/cpu/cpu.c
> * Made virCPUDefFindFeature work on const pointers
> 
> Tim Wiederhake (3):
>   virCPUDefFindFeature: Make first argument const ptr
>   cpu: Introduce virCPUCheckForbiddenFeatures
>   qemuProcessUpdateGuestCPU: Check host cpu for forbidden features
> 
>  src/conf/cpu_conf.c      |  2 +-
>  src/conf/cpu_conf.h      |  2 +-
>  src/cpu/cpu.c            | 37 +++++++++++++++++++++++++++++++++++++
>  src/cpu/cpu.h            |  6 ++++++
>  src/libvirt_private.syms |  1 +
>  src/qemu/qemu_process.c  | 10 ++++++++++
>  6 files changed, 56 insertions(+), 2 deletions(-)
> 
> --=20
> 2.26.2

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

and pushed, thanks.