public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Exception handling between QEMU and KVM
@ 2009-07-01  3:28 Christoffer Dall
       [not found] ` <7d08b87d0906302028q4bd7c9efifd399be9529fdc5b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Christoffer Dall @ 2009-07-01  3:28 UTC (permalink / raw)
  To: kvm-ppc-u79uwXL29TY76Z2rM5mHXA, kvm-u79uwXL29TY76Z2rM5mHXA
  Cc: Andreas Nilsson

Hi all.

We are still working on our ARM port of KVM and we are managing to let
the guest decompress the kernel image and run from relocated address
and we can support enabling MMU before this.

Howver, to debug relocated micro-hypervisor for exception handling, we
are trying to implement some NOT_IMPLEMENTED() macros and ASSERT()
macros.

What we have done so far is simply to exit QEMU roughly after
returning -EINVAL from the KVM_RUN system call, but before we start
supporting an interrupt cycle we have to improve on this. Setting
kvm_run->exit_reason = KVM_EXIT_EXCEPTION or kvm_run->exit_reason =
KVM_EXIT_SHUTDOWN just results in QEMU looping in the cpu execution
loop.

Can someone point us in the direction of what we're missing here in
order to exit the whole QEMU process from an exception occurring
inside the guest?

Thanks!

Kind regards,
Christoffer Dall
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2009-07-01 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01  3:28 Exception handling between QEMU and KVM Christoffer Dall
     [not found] ` <7d08b87d0906302028q4bd7c9efifd399be9529fdc5b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-01  6:28   ` Alexander Graf
2009-07-01  9:00   ` Avi Kivity
     [not found]     ` <4A4B25A0.70800-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-01 13:59       ` Christoffer Dall
     [not found]         ` <7d08b87d0907010659v6e0efac1va906991402589ab7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-01 15:02           ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox