From: Cam Macdonell Subject: [PATCH 0/2] fixups for ivshmem unplug/migration Date: Tue, 30 Nov 2010 14:03:57 -0700 Message-ID: <1291151039-10966-1-git-send-email-cam@cs.ualberta.ca> Cc: kvm@vger.kernel.org, Cam Macdonell To: qemu-devel@nongnu.org Return-path: Received: from smtp.srv.ualberta.ca ([129.128.5.19]:58679 "EHLO mail10.srv.ualberta.ca" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751785Ab0K3VKk (ORCPT ); Tue, 30 Nov 2010 16:10:40 -0500 Sender: kvm-owner@vger.kernel.org List-ID: We added qemu_ram_alloc_from_ptr, but we need its corresponding "free" function. With that, we can properly remove the ivshmem memory on unplug. Cam Macdonell (2): add qemu_ram_free_from_ptr Unregister shared memory on unplug. cpu-common.h | 1 + exec.c | 13 +++++++++++++ hw/ivshmem.c | 12 ++++++++---- 3 files changed, 22 insertions(+), 4 deletions(-)