In order to support cross cpu for arm certain properties should be defined by the datacenter admin. This is necessary for migrating guests to different hardware platforms. CPU properties like number of breakpoints, watchpoints and pmu counters are implementation specific. We need to restrict the guest kernel to a specific count considering different mix of hardware platforms in the datacenter. This patch adds new properties for defining hardware in terms of number of breakpoints, watchpoints and pmu counters supported in the guest. Signed-off-by: Tushar Jagad <tushar.jagad@xxxxxxxxxx> --- target-arm/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-arm/cpu.c b/target-arm/cpu.c index 8b4323d..a07613e 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -1349,6 +1349,8 @@ static Property arm_cpu_properties[] = { DEFINE_PROP_BOOL("start-powered-off", ARMCPU, start_powered_off, false), DEFINE_PROP_UINT32("psci-conduit", ARMCPU, psci_conduit, 0), DEFINE_PROP_UINT32("midr", ARMCPU, midr, 0), + DEFINE_PROP_UINT32("bpts", ARMCPU, bpts, 0), + DEFINE_PROP_UINT32("wpts", ARMCPU, wpts, 0), DEFINE_PROP_END_OF_LIST() }; -- 2.4.3 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm