kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Question] Switching VCPU CPL from the hypervisor ?
@ 2015-12-15 16:20 Yacine HEBBAL
  2015-12-15 16:53 ` Paolo Bonzini
  0 siblings, 1 reply; 5+ messages in thread
From: Yacine HEBBAL @ 2015-12-15 16:20 UTC (permalink / raw)
  To: kvm

Hi,
I working on an application in which I control an arbitrary process to
execute an a given code (injected code for example). I want the process I'm
controlling to execute my code with root privilege. Is it possible to
arbitrary switch vcpu cpl to 0 from the hypervisor level (process is in user
mode) ? I'm aware that I can do this using some hacks and emulation or by
controlling the process just after it enters or just before it quits kernel
mode (but I need to wait and intercept these events). Is there a
straightforward technique to switch vcpu cpl from the hypervisor level at
demand ?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-17 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 16:20 [Question] Switching VCPU CPL from the hypervisor ? Yacine HEBBAL
2015-12-15 16:53 ` Paolo Bonzini
2015-12-15 17:12   ` Yacine HEBBAL
     [not found]   ` <CACEoar5vk6mzeWYwcDsBFVxYfcYm3fyBufwA+BM1ZvP3PL5aVw@mail.gmail.com>
2015-12-16 17:48     ` Paolo Bonzini
2015-12-17 15:58       ` Yacine HEBBAL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).