From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfZZd-0003gM-Fg for qemu-devel@nongnu.org; Thu, 23 May 2013 13:45:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfZZb-0006jZ-CO for qemu-devel@nongnu.org; Thu, 23 May 2013 13:45:09 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:59590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfZZb-0006jD-6t for qemu-devel@nongnu.org; Thu, 23 May 2013 13:45:07 -0400 Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 23 May 2013 11:45:06 -0600 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id AD98E6E804F for ; Thu, 23 May 2013 13:44:59 -0400 (EDT) Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4NHj1Jk267364 for ; Thu, 23 May 2013 13:45:02 -0400 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r4NHixKP007663 for ; Thu, 23 May 2013 11:44:59 -0600 From: Corey Bryant Date: Thu, 23 May 2013 13:44:46 -0400 Message-Id: <1369331087-22345-7-git-send-email-coreyb@linux.vnet.ibm.com> In-Reply-To: <1369331087-22345-1-git-send-email-coreyb@linux.vnet.ibm.com> References: <1369331087-22345-1-git-send-email-coreyb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 6/7] main: Initialize VNVRAM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanb@linux.vnet.ibm.com, Corey Bryant , mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com, jschopp@linux.vnet.ibm.com, stefanha@redhat.com Signed-off-by: Corey Bryant --- vl.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vl.c b/vl.c index 59dc0b4..5da88e6 100644 --- a/vl.c +++ b/vl.c @@ -171,6 +171,8 @@ int main(int argc, char **argv) #include "ui/qemu-spice.h" #include "qapi/string-input-visitor.h" +#include "vnvram.h" + //#define DEBUG_NET //#define DEBUG_SLIRP @@ -4174,6 +4176,10 @@ int main(int argc, char **argv, char **envp) exit(1); } + if (vnvram_init()) { + exit(1); + } + #ifdef CONFIG_TPM if (tpm_init() < 0) { exit(1); -- 1.7.1