[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 2/3] kvm-all: Introduce kvm_set_singlestep
From: |
David Gibson |
Subject: |
Re: [PATCH v6 2/3] kvm-all: Introduce kvm_set_singlestep |
Date: |
Fri, 17 Jan 2020 19:30:04 +1000 |
On Fri, Jan 17, 2020 at 07:27:48PM +1000, David Gibson wrote:
> On Fri, Jan 10, 2020 at 12:13:43PM -0300, Fabiano Rosas wrote:
> > For single stepping (via KVM) of a guest vcpu to work, KVM needs not
> > only to support the SET_GUEST_DEBUG ioctl but to also recognize the
> > KVM_GUESTDBG_SINGLESTEP bit in the control field of the
> > kvm_guest_debug struct.
> >
> > This patch adds support for querying the single step capability so
> > that QEMU can decide what to do for the platforms that do not have
> > such support.
> >
> > This will allow architecture-specific implementations of a fallback
> > mechanism for single stepping in cases where KVM does not support it.
> >
> > Signed-off-by: Fabiano Rosas <address@hidden>
>
> Reviewed-by: David Gibson <address@hidden>
>
> and ppc parts
>
> Acked-by: David Gibson <address@hidden>
Btw, I'm happy to take this through my tree, but I'd appreciate an ack
from Paolo before touching kvm-all.c and exec.c.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- [PATCH v6 0/3] target/ppc: single step for KVM HV, Fabiano Rosas, 2020/01/10
- [PATCH v6 1/3] target/ppc: Clarify the meaning of return values in kvm_handle_debug, Fabiano Rosas, 2020/01/10
- [PATCH v6 2/3] kvm-all: Introduce kvm_set_singlestep, Fabiano Rosas, 2020/01/10
- [PATCH v6 3/3] target/ppc: support single stepping with KVM HV, Fabiano Rosas, 2020/01/10
- Re: [PATCH v6 3/3] target/ppc: support single stepping with KVM HV, David Gibson, 2020/01/19
- Re: [PATCH v6 3/3] target/ppc: support single stepping with KVM HV, Fabiano Rosas, 2020/01/20
- Re: [PATCH v6 3/3] target/ppc: support single stepping with KVM HV, David Gibson, 2020/01/20
- Re: [PATCH v6 3/3] target/ppc: support single stepping with KVM HV, Fabiano Rosas, 2020/01/21
- Re: [PATCH v6 3/3] target/ppc: support single stepping with KVM HV, David Gibson, 2020/01/21
- Re: [PATCH v6 3/3] target/ppc: support single stepping with KVM HV, Fabiano Rosas, 2020/01/22
Re: [PATCH v6 0/3] target/ppc: single step for KVM HV, Leonardo Bras, 2020/01/16