From: Glauber Costa Subject: [PATCH 0/5] Replace tcg memory functions Date: Wed, 17 Dec 2008 15:46:57 -0500 Message-ID: <1229546822-11972-1-git-send-email-glommer@redhat.com> Cc: kvm@vger.kernel.org, avi@redhat.com, stefano.stabellini@eu.citrix.com, Ian.Jackson@eu.citrix.com To: qemu-devel@nongnu.org Return-path: Received: from mx2.redhat.com ([66.187.237.31]:36439 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751436AbYLQUrK (ORCPT ); Wed, 17 Dec 2008 15:47:10 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Hi, This series replaces some of the tcg memory handling functions, like cpu_physical_memory_rw and cpu_register_physical_memory by kvm versions. I believe this approach pays, because it'll reduce the dependency that kvm, xen, etc have on the tcg part of qemu. My mid term goal with it is to be able to easily compile tcg out. Right now, I'm using constructions that depends on kvm_enabled() to test for the presence/absence of kvm support. But the goal is to have QEMUAccel back in the near future, just using those hooks, instead of the lower level ones I was proposing a while ago. I hope you like it.