Skip to content

make better use of domain_vcpu()

Jan Beulich xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13x86/gdbsx: don't blindly assume vCPU 0 existsxen/arch/x86/gdbsx.c+15 -50 replies
2/13x86/passthrough: don't blindly assume vCPU-s existxen/arch/x86/irq.c xen/common/event_channel.c xen/drivers/passthrough/x86/hvm.c +1 more+17 -150 replies
3/13x86/altp2m: don't blindly assume vCPU-s existxen/arch/x86/hvm/hvm.c+4 -92 replies
4/13domctl: use domain_vcpu() in XEN_DOMCTL_{g,s}etvcpucontext handlingxen/common/domctl.c+4 -80 replies
5/13vm-event: use domain_vcpu() in domctl handlingxen/common/vm_event.c+1 -11 reply
6/13numa: use domain_vcpu() in domain_to_node()xen/include/xen/numa.h+4 -30 replies
7/13x86/time: use domain_vcpu() in tsc_set_info()xen/arch/x86/time.c+6 -30 replies
8/13x86/paging: use domain_vcpu() in paging_domctl()xen/arch/x86/mm/paging.c+1 -10 replies
9/13x86/dm: use domain_vcpu()xen/arch/x86/hvm/dm.c+3 -30 replies
10/13x86/HVM/MTRR: use domain_vcpu()xen/arch/x86/hvm/mtrr.c+6 -70 replies
11/13x86/HVM: introduce hvm_load_vcpu_instance()xen/arch/x86/cpu/mcheck/vmce.c xen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/mtrr.c +3 more+49 -501 reply
12/13x86/vPMU: use domain_vcpu()xen/arch/x86/cpu/vpmu.c+4 -60 replies
13/13x86/domctl: use domain_vcpu() to handle various sub-opsxen/arch/x86/domctl.c+10 -150 replies

Reviews trailers per patch

2 of 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStephen ChengTamas K Lengyel
SeriesR-b
1/13
2/13
3/13R-b
4/13
5/13A-b
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/13] make better use of domain_vcpu()

I.e. reduce the number of instances where we access d->vcpu[] directly. The series doesn't cover all cases, just a fair part. I think there are no inter-dependencies between the individual patches.

01: x86/gdbsx: don't blindly assume vCPU 0 exists
02: x86/passthrough: don't blindly assume vCPU-s exist
03: x86/altp2m: don't blindly assume vCPU-s exist
04: domctl: use domain_vcpu() in XEN_DOMCTL_{g,s}etvcpucontext handling 05: vm-event: use domain_vcpu() in domctl handling
06: numa: use domain_vcpu() in domain_to_node()
07: x86/time: use domain_vcpu() in tsc_set_info()
08: x86/paging: use domain_vcpu() in paging_domctl()
09: x86/dm: use domain_vcpu()
10: x86/HVM/MTRR: use domain_vcpu()
11: x86/HVM: introduce hvm_load_vcpu_instance()
12: x86/vPMU: use domain_vcpu()
13: x86/domctl: use domain_vcpu() to handle various sub-ops

Jan