From patchwork Thu Mar 25 10:31:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Avi Kivity X-Patchwork-Id: 88176 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2PAVvmY008686 for ; Thu, 25 Mar 2010 10:31:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754062Ab0CYKbq (ORCPT ); Thu, 25 Mar 2010 06:31:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53822 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754043Ab0CYKbo (ORCPT ); Thu, 25 Mar 2010 06:31:44 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2PAVfcL030835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 25 Mar 2010 06:31:42 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2PAVecw003747; Thu, 25 Mar 2010 06:31:41 -0400 Received: from localhost.localdomain (file.tlv.redhat.com [10.35.255.8]) by cleopatra.tlv.redhat.com (Postfix) with ESMTP id ED011250AD6; Thu, 25 Mar 2010 12:31:39 +0200 (IST) From: Avi Kivity To: kvm@vger.kernel.org Cc: Pekka Enberg , Marcelo Tosatti Subject: [PATCH 2/2] KVM: Document KVM_SET_TSS_ADDR Date: Thu, 25 Mar 2010 12:31:39 +0200 Message-Id: <1269513099-21060-3-git-send-email-avi@redhat.com> In-Reply-To: <1269513099-21060-1-git-send-email-avi@redhat.com> References: <1269513099-21060-1-git-send-email-avi@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 25 Mar 2010 10:31:58 +0000 (UTC) diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt index 22af28a..8f45099 100644 --- a/Documentation/kvm/api.txt +++ b/Documentation/kvm/api.txt @@ -793,6 +793,22 @@ is madvise(MADV_DROP). It is recommended to use this API instead of the KVM_SET_MEMORY_REGION ioctl. +4.35 KVM_SET_TSS_ADDR + +Capability: KVM_CAP_SET_TSS_ADDR +Architectures: x86 +Type: vm ioctl +Parameters: unsigned long tss_address (in) +Returns: 0 on success, -1 on error + +This ioctl defines the physical address of a three-page region in the guest +physical address space. The region must be within the first 4GB of the +guest physical address space and must not conflict with any memory slot +or any mmio address. The guest may malfunction if it accesses this memory +region. + +This ioctl is required on Intel-based hosts. + 5. The kvm_run structure Application code obtains a pointer to the kvm_run structure by