From owner-freebsd-virtualization@freebsd.org Sat Jul 30 10:47:10 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F062BA6EB8 for ; Sat, 30 Jul 2016 10:47:10 +0000 (UTC) (envelope-from kumara.bsd@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC15C1859 for ; Sat, 30 Jul 2016 10:47:09 +0000 (UTC) (envelope-from kumara.bsd@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id p129so45769472wmp.0 for ; Sat, 30 Jul 2016 03:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=qzTPZR3+bH60v5YaT2hvkzZZ4UJ9T9I06v/9sLvouSk=; b=CGoU2UfT3Saj2OQYeBg0atv2v2OEQidwozSWhtb3pB/UUnWe6YpXfi3S5v5Q5DC6XV xiIpXMMqKxygZDDUhP/9ASgpkRkBJAuEC5C5ejrmf3NWJfDz1ruvGPTwb0ibB+NdF5oN hhWd/Z00GXYXjNmfUB/UUO/kWr6eQfILXIE91LT1LYdRkXGvXZcGv+8Uy2VZwIbDO6/v biyF91PjzaDMzcqMpaIqdDug6c1Utx/5mnV5Xt3zco47GHu9c5M/JyLWcHIaxlHn5jm1 qCihM6QfjZdZm3mRmzAYYDEjDB1w0fvwwibLUF5Tabb12Tmla5vhmWQdtT1dRCw6V6bf 9yrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qzTPZR3+bH60v5YaT2hvkzZZ4UJ9T9I06v/9sLvouSk=; b=bf7ex0v50jWaHzC7LDvkSlA9QpS+DqXTTP8kWdwStkGnJwuEgVZziIgzTp0fbAUNwN i0NL7kNrKFUCGQG68hURzETZJDGWmWQzoP8+IxFW8KuoikELcOgJZPpbCenreiXUrLT7 EHZUjT/L9oe7b2uomNVi8E+Chx1yLbJ/V4mmnPVkGR0aVv9tBuTey39MHxHXa3hM6sq/ V2eZ7+NSLiKytCm8fijv0+LFi+LUiYWQJsEKz4jGrlP7sUvIIBMiHh5zTuHMrNKnJrBX 877MLncwM1JEU5lfWzXlseVoI2cawxgSVn7fFdxhozvR71rn3YwmkjMCWeOH5dgVBa29 QTJg== X-Gm-Message-State: AEkoout/IZp7pCQ2U7yG+NDmCSy21rmH3MVeTWcq+lDy1trd1rwKWzAItGo8hxSiSpkDmAF+faHby3WUMJzfmw== X-Received: by 10.28.129.145 with SMTP id c139mr13070743wmd.102.1469875627633; Sat, 30 Jul 2016 03:47:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.227.200 with HTTP; Sat, 30 Jul 2016 03:47:07 -0700 (PDT) From: kumara rathnavel Date: Sat, 30 Jul 2016 16:17:07 +0530 Message-ID: Subject: Bhyve To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2016 10:47:10 -0000 Hello Everyone, I have just started developing something in FreeBSD. I have done few changes in the memory part. Before that i just want to confirm that for the guest machines for the system memory there is only one object used. If the memory is greater than he lowmem remaining is allocated in highmem. The memory between these two is used for MMIO which is a separate object. When I did few changes FreeBSD vm booted fine. But when i tried windows it was vm_run error and value is EFAULT. The EFAULT is because of the GPA that belongs to the MMIO region and the exact value is 4276093104 and fails in the function vm_handle_inst_emul. I would like to know why is this different in both the cases. Thanking You, Kumar.