Re: Shared value between host and guests

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

 



On 2018-01-23 12:21 PM, Stefan Hajnoczi wrote:
> On Fri, Jan 19, 2018 at 03:03:25PM -0500, Genevieve Bastien wrote:
>> I'm tracing kvm guests and their host and an issue we have is to
>> identify which host process corresponds to which guest trace so we can
>> follow the state of the virtual cpu on the host.
> There are uevents for the VM lifecycle that include the PID.  Please see
> Linux commit 286de8f6ac9202f1c9012784639156c6ec386eb8 &
> fdeaf7e3eb37c6dbc4b4ac97dbe1945d239eb788.
>
> Did you check if these are appropriate for your use case?
Thanks for the hint, I didn't know about those. But the uevents are only
for the host right? There is no specific value in debugfs for guest.

But I'll see if I can use some udev rules to trigger
<some-kvm-tracing-script> to achieve what I need.

Thanks,
Geneviève



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux