OSDN Git Service

hyperv: rename vcpu_id to vp_index
authorRoman Kagan <rkagan@virtuozzo.com>
Mon, 2 Jul 2018 13:41:55 +0000 (16:41 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Jul 2018 14:58:16 +0000 (16:58 +0200)
commit1b2013ea5ddfd7d6a1426bd716dd6528ec91a8a7
treefbf01c0c9f168b462f0dae98bfb0e48e8b782e1f
parent696c706642023e60fcce6b38f425910cd01ec0a6
hyperv: rename vcpu_id to vp_index

In Hyper-V-related code, vCPUs are identified by their VP (virtual
processor) index.  Since it's customary for "vcpu_id" in QEMU to mean
APIC id, rename the respective variables to "vp_index" to make the
distinction clear.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Message-Id: <20180702134156.13404-2-rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/misc/hyperv_testdev.c
target/i386/hyperv.c
target/i386/hyperv.h