qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/3] target/arm/kvm: split pmu init from creatio


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 2/3] target/arm/kvm: split pmu init from creation
Date: Mon, 10 Jul 2017 16:27:35 +0100

On 1 July 2017 at 17:47, Andrew Jones <address@hidden> wrote:
> When adding a PMU with a userspace irqchip we only do the INIT
> stage of the device creation.

Can you explain why? My assumption would be that either
(a) we don't need the kernel's PMU, in which case don't
create it at all, or
(b) we do need the kernel's PMU, so we should both create
and INIT it.

If we do one but not the other then we've left a half
created and unusable PMU device in the kernel, haven't we?

thanks
-- PMM



reply via email to

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