qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [RFC PATCH v4 2/5] kvm-all: Introduce kvm_set_singlestep


From: Fabiano Rosas
Subject: Re: [Qemu-ppc] [RFC PATCH v4 2/5] kvm-all: Introduce kvm_set_singlestep
Date: Fri, 08 Mar 2019 16:09:56 -0300

David Gibson <address@hidden> writes:

>> +/* Whether the KVM_SET_GUEST_DEBUG ioctl supports single stepping */
>> +int kvm_has_guestdbg_singlestep(void)
>> +{
>> +    /* return kvm_check_extension(kvm_state, KVM_CAP_GUEST_DEBUG_SSTEP); */
>
> I don't see a KVM_CAP_GUEST_DEBUG_SSTEP in either the qemu or kernel
> trees.  Where does that come from?
>

I realized that this will cause a regression for the other architectures
(and even PPC-PR) that already have the feature when we run QEMU on
older kernels without this capability.

I am becoming inclined to rely on kvmppc_is_pr. Do you see another way
around this?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]