Re: How to monitoring segment registers?

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

 



On 11/11/2009 06:19 PM, Jun Koi wrote:
Hi,

I am doing some profiling for a guest VM on KVM. One of things I want
to do is to monitor the activities of SS register.

Specifically, I want to be notified whenever guest's SS changes its
value (like when OS switches from userspace stack to kernel stack).

I imagine that I need to reprogram VMCS, so I can get VMEXIT anytime
SS changes its value.
Is that feasible? If so, which code should I look at in kvm code?

Virtualization extensions don't allow trapping on segment register changes. I recommend modifying qemu/tcg instead.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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