From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: Mapping guest memory from another process? Date: Mon, 09 Sep 2013 12:01:26 +0200 Message-ID: <522D9C76.6030902@redhat.com> References: <20130904084746.GA9654@stefanha-thinkpad.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Cutter 409 Return-path: Received: from mail-ea0-f179.google.com ([209.85.215.179]:44767 "EHLO mail-ea0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751454Ab3IIKBX (ORCPT ); Mon, 9 Sep 2013 06:01:23 -0400 Received: by mail-ea0-f179.google.com with SMTP id b10so3029378eae.10 for ; Mon, 09 Sep 2013 03:01:22 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Il 04/09/2013 19:10, Cutter 409 ha scritto: > Thanks, I'll try that. Do you know of any way to get at the VCPU > structure from another process? I'm looking to have an event triggered > from the guest which will notify my application. In Xen I use an event > channel, and then I can call a function to retrieve the relevant VCPU > context. I think you could use the ivshmem device. http://lwn.net/Articles/380869/ To QEMU, your application would look like a shared memory server. Paolo