From nobody Thu May 16 06:52:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1586882968; cv=none; d=zohomail.com; s=zohoarc; b=W/4MkPtITY8qnsEYruw1Lx7bltShQGpRtXDbKz+OP1r77bUey0TCV9tcLBGca1F0wQR3kal7Pq2qHsOB04hes7PrvEBrH/5bBIsjt6RbUMac52B7u1LYc4HTHr2I1moooUBfNBJ6Bzgu4mBkYH25WuPrsap2ci1asiXczp0jch4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586882968; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=s0m/vE/JDp/YTnEV/4OiBeyYKV7QGW/+0j4jil7uRNo=; b=SF9OVCPtjcdLPoim3PbzoriENiVGMMbWpZCxduOgwnf/yULjYZsyYiST9yl/PQ3nXjsGsjL3aA5yNZEUyHXiRBURUynh9w/g1fa/OUTwYAIrMPj+Yur32NugUlUiKx8YItUzU7B+tqO+RPVPSz6F6ITLJhrzIsVrKthg4DPXha4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1586882968796464.7661422945275; Tue, 14 Apr 2020 09:49:28 -0700 (PDT) Received: from localhost ([::1]:34888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOOkZ-0004Ui-Ec for importer@patchew.org; Tue, 14 Apr 2020 12:49:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56364) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOOb9-0003tO-O2 for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOOb8-0005Hg-NK for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:43 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:40248 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jOOb8-0005HU-JI for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:42 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-40-Ms7C1-KBM3y5zUiJyBeR0w-1; Tue, 14 Apr 2020 12:39:40 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9FD0A1034B42 for ; Tue, 14 Apr 2020 16:39:39 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 790EA60BEC; Tue, 14 Apr 2020 16:39:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586882382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=s0m/vE/JDp/YTnEV/4OiBeyYKV7QGW/+0j4jil7uRNo=; b=Qa47vX2hbRo72j/ucVH761ASWt5NTL4PpsH0JMxT2micUdqibmEupXhQ5Mozriv1OIEdeL kHE8OLITEOdo4ZRY9GtmG22sZrQdF0cXnhSm85tw1eXBnXA+Zh1RbtZC9tjXVUqM7gEqAH BIQ0g5wSnekE/kDn8nAZVGx/nEyQf4c= X-MC-Unique: Ms7C1-KBM3y5zUiJyBeR0w-1 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 1/3] hostmem: set default prealloc_threads to valid value Date: Tue, 14 Apr 2020 12:39:35 -0400 Message-Id: <20200414163937.29669-2-pbonzini@redhat.com> In-Reply-To: <20200414163937.29669-1-pbonzini@redhat.com> References: <20200414163937.29669-1-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Igor Mammedov Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Igor Mammedov Commit 4ebc74dbbf removed default prealloc_threads initialization by mistake, and that makes QEMU crash with division on zero at numpages_per_thread =3D numpages / memset_num_threads; when QEMU is started with following backend -object memory-backend-ram,id=3Dram-node0,prealloc=3Dyes,size=3D128M Return back initialization removed by 4ebc74dbbf to fix issue. Fixes: 4ebc74dbbf7ad50e4101629f3f5da5fdc1544051 Reported-by: Raphael Norwitz Signed-off-by: Igor Mammedov Reviewed-by: Laurent Vivier Message-Id: <20200325094423.24293-2-imammedo@redhat.com> Signed-off-by: Paolo Bonzini --- backends/hostmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backends/hostmem.c b/backends/hostmem.c index a70867b255..327f9eebc3 100644 --- a/backends/hostmem.c +++ b/backends/hostmem.c @@ -280,6 +280,7 @@ static void host_memory_backend_init(Object *obj) /* TODO: convert access to globals to compat properties */ backend->merge =3D machine_mem_merge(machine); backend->dump =3D machine_dump_guest_core(machine); + backend->prealloc_threads =3D 1; } =20 static void host_memory_backend_post_init(Object *obj) --=20 2.18.2 From nobody Thu May 16 06:52:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1586883142; cv=none; d=zohomail.com; s=zohoarc; b=mfygOvZf/i6nJzy1uAlUefxSCyajN06H8ZO7FtrfcEajejwLqQobx2IEvqcK8I+BS4Nk1p1Rw11usxeDwTLH2wBPLaDIt6lR3lVVWOiLG7B793TqvpEB0LIuHqVLvGlFy2TD1+13gZcx3CFUK/tOqqFkCIPphCn0NE28GAsCgMs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586883142; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=SjNE7nreJs0a8yikD36QTMRC5rr9fFbe/9NEabbKFKY=; b=eNYbe5EfxxHzGELN5AhuRE88p4Vgd3Qu2FHQSGAws52zMadjRe9uhDSLhX0Go4VVHJb53KJ0e3babd82bH2bvmSuXTDQLOuWl2FDuNdpN2+4dYHe4MBu0asBsY8lhbggpu3B4ITOB8qXDM+0mma0SRL1DeHp9OdBFZd8Y6cIurk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1586883142429608.2648124582179; Tue, 14 Apr 2020 09:52:22 -0700 (PDT) Received: from localhost ([::1]:34974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOOnN-00080k-4C for importer@patchew.org; Tue, 14 Apr 2020 12:52:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56406) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOObC-00040R-K8 for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOObA-0005J0-K9 for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:46 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:39332 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jOObA-0005Iq-Ge for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:44 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-310-PMyLxLVDP0io7HMRUENjWg-1; Tue, 14 Apr 2020 12:39:42 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1C8E91060DF7 for ; Tue, 14 Apr 2020 16:39:41 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id B94FF60BEC; Tue, 14 Apr 2020 16:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586882384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SjNE7nreJs0a8yikD36QTMRC5rr9fFbe/9NEabbKFKY=; b=fucafzHAlUneH0Fs8aDpEDxKpBl0a3RDq4aa6i1TMrGcxg5jUuJrK8vVU0e2q2hF/sAK2G hwvhDnrHH0U7uP8n8ch9OHZHeXVUjgqGvi1iRSQUgHHOBhzYhxWKuNfzN27X3hJr4YpzZC R5gLhfRqmE1K8K1bd7pW5xqApxitoX8= X-MC-Unique: PMyLxLVDP0io7HMRUENjWg-1 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 2/3] tests: numa: test one backend with prealloc enabled Date: Tue, 14 Apr 2020 12:39:36 -0400 Message-Id: <20200414163937.29669-3-pbonzini@redhat.com> In-Reply-To: <20200414163937.29669-1-pbonzini@redhat.com> References: <20200414163937.29669-1-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Igor Mammedov Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Igor Mammedov Cannibalize one backend in the HMAT test to make sure that prealloc=3Dy is tested. Signed-off-by: Igor Mammedov Message-Id: <20200325094423.24293-3-imammedo@redhat.com> Signed-off-by: Paolo Bonzini --- tests/qtest/numa-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/numa-test.c b/tests/qtest/numa-test.c index 2f9b7f663a..e1ed6d4322 100644 --- a/tests/qtest/numa-test.c +++ b/tests/qtest/numa-test.c @@ -455,7 +455,7 @@ static void pc_hmat_off_cfg(const void *data) cli =3D make_cli(data, "-nodefaults --preconfig " "-smp 2,sockets=3D2 " "-m 128M,slots=3D2,maxmem=3D1G " - "-object memory-backend-ram,size=3D64M,id=3Dm0 " + "-object memory-backend-ram,size=3D64M,id=3Dm0,pr= ealloc=3Dy " "-object memory-backend-ram,size=3D64M,id=3Dm1 " "-numa node,nodeid=3D0,memdev=3Dm0"); qs =3D qtest_init(cli); --=20 2.18.2 From nobody Thu May 16 06:52:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1586882821; cv=none; d=zohomail.com; s=zohoarc; b=FsH62yNhYfqEfKy7cFZ3BgaXFh+rVkr7TGV01nTCtvRPKXzuEF6O2hx/E2/2EeNFtz2STrnzRTHB5qpScyFvyq6HDePxD2foCfJ1E/YTGz7lgBWQGxhTTFryDqCg41vH5qNe1uoZJo/DqsRqIZV/NBwN7vc25MnJV+c0p482Fsg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586882821; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=7qjC9lQbtBwmg2LpxhoDQdfh6GuV5VMYwNdNRgoGjKo=; b=kPRJVeN/uDLwu+md1+ouVq4QtVFyjNkeKl8PStj4IHBahfrnzcp0jmJTJ2VAPFYqk5a0mklwCxcmdIijv2y+527ryG8SKpkAVYxwfoJDXApUGiXYUAtGbc2ba0hxY5V0y3ufSFBd9QXEq9R83duiDhJSfjQK1c1lWz2zyccRJoY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1586882821630894.2298563119668; Tue, 14 Apr 2020 09:47:01 -0700 (PDT) Received: from localhost ([::1]:34808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOOiC-00008q-99 for importer@patchew.org; Tue, 14 Apr 2020 12:47:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56431) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOObE-00046J-5d for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOObC-0005Jk-3j for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:48 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:28416 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jOObC-0005JZ-0O for qemu-devel@nongnu.org; Tue, 14 Apr 2020 12:39:46 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-256-33l8aHg8Mg-1ZtMzdYOZ8w-1; Tue, 14 Apr 2020 12:39:43 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A6AF5801A26; Tue, 14 Apr 2020 16:39:41 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3082260BF1; Tue, 14 Apr 2020 16:39:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586882385; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7qjC9lQbtBwmg2LpxhoDQdfh6GuV5VMYwNdNRgoGjKo=; b=FLoSBUlv74lYitADx8q6JKf0k7+SUSU00xAUoKrDXWfaTn1qLCqfLERh2ykIThg4LjLecG WXMItAJ5yQ7GX03+C1n8SaGfE5OMyA2nPUaUd83DT3eKbIQX0/XXclOAm9fargrdcT9t7O ewmRqxXuEAHqyQRgrF0bDLAiCTAh4Sk= X-MC-Unique: 33l8aHg8Mg-1ZtMzdYOZ8w-1 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 3/3] hax: Windows doesn't like posix device names Date: Tue, 14 Apr 2020 12:39:37 -0400 Message-Id: <20200414163937.29669-4-pbonzini@redhat.com> In-Reply-To: <20200414163937.29669-1-pbonzini@redhat.com> References: <20200414163937.29669-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Volker=20R=C3=BCmelin?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" From: Volker R=C3=BCmelin Patch acb9f95a7c "i386: Fix GCC warning with snprintf when HAX is enabled" replaced Windows device names with posix device names. Revert this. Fixes: acb9f95a7c "i386: Fix GCC warning with snprintf when HAX is enabled" Signed-off-by: Volker R=C3=BCmelin Message-Id: <20200322210211.29603-1-vr_qemu@t-online.de> Signed-off-by: Paolo Bonzini --- target/i386/hax-windows.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/i386/hax-windows.c b/target/i386/hax-windows.c index 0ba488c468..863c2bcc19 100644 --- a/target/i386/hax-windows.c +++ b/target/i386/hax-windows.c @@ -185,12 +185,12 @@ int hax_mod_version(struct hax_state *hax, struct hax= _module_version *version) =20 static char *hax_vm_devfs_string(int vm_id) { - return g_strdup_printf("/dev/hax_vm/vm%02d", vm_id); + return g_strdup_printf("\\\\.\\hax_vm%02d", vm_id); } =20 static char *hax_vcpu_devfs_string(int vm_id, int vcpu_id) { - return g_strdup_printf("/dev/hax_vm%02d/vcpu%02d", vm_id, vcpu_id); + return g_strdup_printf("\\\\.\\hax_vm%02d_vcpu%02d", vm_id, vcpu_id); } =20 int hax_host_create_vm(struct hax_state *hax, int *vmid) --=20 2.18.2