From patchwork Thu Apr 1 17:57:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 49231 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 51D16B7D0C for ; Fri, 2 Apr 2010 05:04:47 +1100 (EST) Received: from localhost ([127.0.0.1]:33485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxOl2-0005OA-L6 for incoming@patchwork.ozlabs.org; Thu, 01 Apr 2010 14:04:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxOe9-0003rs-J2 for qemu-devel@nongnu.org; Thu, 01 Apr 2010 13:57:37 -0400 Received: from [140.186.70.92] (port=59660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxOe8-0003rL-6d for qemu-devel@nongnu.org; Thu, 01 Apr 2010 13:57:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxOe6-0004zy-Vc for qemu-devel@nongnu.org; Thu, 01 Apr 2010 13:57:36 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:64163) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxOe6-0004zo-Os for qemu-devel@nongnu.org; Thu, 01 Apr 2010 13:57:34 -0400 Received: by pvc21 with SMTP id 21so551162pvc.4 for ; Thu, 01 Apr 2010 10:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :message-id:x-mailer:in-reply-to:references; bh=AVKlvk+DMDjoAt0WjIM/EhhjMJqjssNPUfawbb45ETA=; b=G8zc0tcjdTaflC3rEUnRqXwG+qJdw7Xkl2IEuxtnI/moDpHMpAntwHAc68J23ZRDeZ lTD9dltf/fWKJf7txf3Qg3+vpMrc/POAgPyh+5cB7LB21H6HjLNWVI5rtBbEpM8eYc4d 7ibq8lZmucccD5fuFFSG3Lv1pWONY0EH3uals= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; b=JKG54TMxm+nuWn2nHcaKragdJp1SnPDBZ+sCmmwc16ue2vg+FjKrvTgNUp+ctNnPVG QY0lnS2SPa+inz6WUjXYZxddZT1Zr2Gx87X9SkrzV+b9lIixMkfP/zIyTHZz45+J2Bzp 7ZOxwcdeuaQ0dbEGNKqYUd0CW0IvztXj1kdbc= Received: by 10.141.124.21 with SMTP id b21mr816538rvn.267.1270144653691; Thu, 01 Apr 2010 10:57:33 -0700 (PDT) Received: from localhost.localdomain (93-34-197-68.ip51.fastwebnet.it [93.34.197.68]) by mx.google.com with ESMTPS id c21sm8510833ibr.22.2010.04.01.10.57.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Apr 2010 10:57:32 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Thu, 1 Apr 2010 19:57:11 +0200 Message-Id: <1270144632-25063-5-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.6.6.1 In-Reply-To: <1270144632-25063-1-git-send-email-pbonzini@redhat.com> References: <1270144632-25063-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Qemu-devel] [PATCH 4/5] move around definitions in kvm.h that do not require CPUState X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Paolo Bonzini --- kvm.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kvm.h b/kvm.h index 4f77188..8bbd127 100644 --- a/kvm.h +++ b/kvm.h @@ -31,6 +31,10 @@ struct kvm_run; int kvm_init(int smp_cpus); +int kvm_has_sync_mmu(void); +int kvm_has_vcpu_events(void); +int kvm_has_robust_singlestep(void); + #ifdef NEED_CPU_H int kvm_init_vcpu(CPUState *env); @@ -40,10 +44,6 @@ int kvm_cpu_exec(CPUState *env); int kvm_log_start(target_phys_addr_t phys_addr, ram_addr_t size); int kvm_log_stop(target_phys_addr_t phys_addr, ram_addr_t size); -int kvm_has_sync_mmu(void); -int kvm_has_vcpu_events(void); -int kvm_has_robust_singlestep(void); - void kvm_setup_guest_memory(void *start, size_t size); int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size);