From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 06 May 2014 17:52:19 +0200 (CEST) Received: from mail-bn1blp0188.outbound.protection.outlook.com ([207.46.163.188]:7693 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S6837156AbaEFPwQjSF-R (ORCPT ); Tue, 6 May 2014 17:52:16 +0200 Received: from CO1PR07MB396.namprd07.prod.outlook.com (10.141.74.19) by CO1PR07MB298.namprd07.prod.outlook.com (10.141.69.26) with Microsoft SMTP Server (TLS) id 15.0.929.12; Tue, 6 May 2014 15:52:08 +0000 Received: from alberich.caveonetworks.com (2.171.87.122) by CO1PR07MB396.namprd07.prod.outlook.com (10.141.74.19) with Microsoft SMTP Server (TLS) id 15.0.929.12; Tue, 6 May 2014 15:52:07 +0000 From: Andreas Herrmann To: Pekka Enberg CC: David Daney , Andreas Herrmann , , , David Daney Subject: [PATCH 01/11] kvm tools: Print message on failure of KVM_CREATE_VM Date: Tue, 6 May 2014 17:51:21 +0200 Message-ID: <1399391491-5021-2-git-send-email-andreas.herrmann@caviumnetworks.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399391491-5021-1-git-send-email-andreas.herrmann@caviumnetworks.com> References: <1399391491-5021-1-git-send-email-andreas.herrmann@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [2.171.87.122] X-ClientProxiedBy: DBXPR07CA010.eurprd07.prod.outlook.com (10.255.191.168) To CO1PR07MB396.namprd07.prod.outlook.com (10.141.74.19) X-Forefront-PRVS: 0203C93D51 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019001)(6009001)(428001)(199002)(189002)(77982001)(83072002)(85852003)(89996001)(92566001)(31966008)(77156001)(99396002)(20776003)(47776003)(83322001)(19580405001)(74662001)(74502001)(19580395003)(92726001)(80022001)(33646001)(53416003)(66066001)(2009001)(4396001)(36756003)(88136002)(81542001)(101416001)(50226001)(42186004)(93916002)(86362001)(81342001)(46102001)(79102001)(62966002)(50466002)(76482001)(87976001)(87286001)(50986999)(48376002)(76176999);DIR:OUT;SFP:1102;SCL:1;SRVR:CO1PR07MB396;H:alberich.caveonetworks.com;FPR:F9AEF021.8E69768.F7D52BFB.BDC98A09.200D0;MLV:sfv;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (: caviumnetworks.com does not designate permitted sender hosts) X-OriginatorOrg: caviumnetworks.com Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 40024 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: andreas.herrmann@caviumnetworks.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips From: David Daney Signed-off-by: David Daney Signed-off-by: Andreas Herrmann --- tools/kvm/kvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/kvm/kvm.c b/tools/kvm/kvm.c index d7d2e84..7bd20d3 100644 --- a/tools/kvm/kvm.c +++ b/tools/kvm/kvm.c @@ -286,6 +286,7 @@ int kvm__init(struct kvm *kvm) kvm->vm_fd = ioctl(kvm->sys_fd, KVM_CREATE_VM, 0); if (kvm->vm_fd < 0) { + pr_err("KVM_CREATE_VM ioctl"); ret = kvm->vm_fd; goto err_sys_fd; } -- 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-bn1blp0188.outbound.protection.outlook.com ([207.46.163.188]:7693 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S6837156AbaEFPwQjSF-R (ORCPT ); Tue, 6 May 2014 17:52:16 +0200 From: Andreas Herrmann Subject: [PATCH 01/11] kvm tools: Print message on failure of KVM_CREATE_VM Date: Tue, 6 May 2014 17:51:21 +0200 Message-ID: <1399391491-5021-2-git-send-email-andreas.herrmann@caviumnetworks.com> In-Reply-To: <1399391491-5021-1-git-send-email-andreas.herrmann@caviumnetworks.com> References: <1399391491-5021-1-git-send-email-andreas.herrmann@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Pekka Enberg Cc: David Daney , Andreas Herrmann , kvm@vger.kernel.org, linux-mips@linux-mips.org, David Daney Message-ID: <20140506155121.D5rFuWf3MofUJkzAk71xwGNu7IVuuyasTkj1bAK0pOI@z> From: David Daney Signed-off-by: David Daney Signed-off-by: Andreas Herrmann --- tools/kvm/kvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/kvm/kvm.c b/tools/kvm/kvm.c index d7d2e84..7bd20d3 100644 --- a/tools/kvm/kvm.c +++ b/tools/kvm/kvm.c @@ -286,6 +286,7 @@ int kvm__init(struct kvm *kvm) kvm->vm_fd = ioctl(kvm->sys_fd, KVM_CREATE_VM, 0); if (kvm->vm_fd < 0) { + pr_err("KVM_CREATE_VM ioctl"); ret = kvm->vm_fd; goto err_sys_fd; } -- 1.7.9.5