From nobody Mon Feb 9 17:37:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1612179003; cv=none; d=zohomail.com; s=zohoarc; b=h4uA8TytfaRTwz5oYaMLci6sFBmos167LtwT0+jMvGeAefrfm/hf55CVYvcttBVKXFe1qFkRqmjutGhrgJ7uBKxUjmvdG/S50a+tcUugSzWUuKU09JVPhzl+jF8pMfEIUFk76zZnh/fw6aiUh/XNlVnTnQ9lK7uGPq2h2AFtqdU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612179003; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=s9rQaS8UMqNJGneEaOHvqNQyzFShTSgQ9o1efcMMfnw=; b=Q7FXP/w7wu8kVkwO+GddLVUf15IwtNW+evmE2G2IHa3DSrdvBff5kncsNWDZSxLFjWkHurl4oqrUMaz4WzZu1zdffmsEDnhKV+ihRg/S/RTAOk/lh74tkd1egTF/d7gBsVhKhmJ2Z3lCPrabO6BieUDk+v8SVwbiMGo7iyYPtXI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1612179003211738.5770846202736; Mon, 1 Feb 2021 03:30:03 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.79778.145357 (Exim 4.92) (envelope-from ) id 1l6XOw-00038n-Gc; Mon, 01 Feb 2021 11:29:50 +0000 Received: by outflank-mailman (output) from mailman id 79778.145357; Mon, 01 Feb 2021 11:29:50 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1l6XOw-00038c-CX; Mon, 01 Feb 2021 11:29:50 +0000 Received: by outflank-mailman (input) for mailman id 79778; Mon, 01 Feb 2021 11:29:48 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1l6XOu-00036P-Gi for xen-devel@lists.xenproject.org; Mon, 01 Feb 2021 11:29:48 +0000 Received: from mail-wr1-x435.google.com (unknown [2a00:1450:4864:20::435]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 02531718-cdf8-4ae8-bf42-0f67091f6174; Mon, 01 Feb 2021 11:29:47 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id a1so16191228wrq.6 for ; Mon, 01 Feb 2021 03:29:47 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id r124sm21261633wmr.16.2021.02.01.03.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 03:29:46 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list X-Inumbo-ID: 02531718-cdf8-4ae8-bf42-0f67091f6174 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=s9rQaS8UMqNJGneEaOHvqNQyzFShTSgQ9o1efcMMfnw=; b=vN5Dbc8LEBoxXzt4TOZpKQUfFP4d0DUrmJzsY8jZ30ugvsjqLnSTGDuzM7H5Fyrk3f abS4D3Ay2zNaJBSGMTGCJOBMPB0RMUXJbL6yqIkQ/k8U3aKlUwIlyhW30wiOETsY+lUU VJdwwEkBARJ7eV715aeJDCjTlEzuJ7ft/zc1y32IFpIdtIEhNETmDDSyBCzd5/cL7xO9 U50ggDjlwUQVizGN8vef1jmyXmIUVrOW/c4xcMiNqJGCJsnBZXQULkYBB67vLBH/7B24 jEj/VTilekOmxsfiANyo+i9GfbpLzhVXb7nSmdL0Jut2lRCZzFBDzUvdQG9EI5wxHfm6 AB0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=s9rQaS8UMqNJGneEaOHvqNQyzFShTSgQ9o1efcMMfnw=; b=jdxjho9T4umlDKls6BvODSQVlQZWgKQkYvkyHmHHJQKQIo9obKP6GCIQGFBMyrVmgq kDx6V+K1XacEXF+AepqwU4DfAyEW1OoExll6AsaWM8Nn/6nLc+1VuSM971aJQnV/ltVG haTnvI3A5yhjp6GWdCtRndse8bflVq3CuFWZorUb55fB4iHedpK0Y93gJH73bfJO5Vpc DO/g5HwAfWIFuU07APb4q7bcubrKFjndQ7A1hXrt93vZuTJrmGtWGXwDQJhnh6XI00R9 eCviMTI+zqrlDxNoUVRnhMVMoN5mja5/WvxOwTtnNVpfZptodUTssqm4puva+8DFJTpF SdlQ== X-Gm-Message-State: AOAM531YiuG4fBemiDDLQvLjiThwpGpUHofdTYWPCzZRyuG/buoglurk 5th8ePDKR8CRR99IwOsW9rc= X-Google-Smtp-Source: ABdhPJzAYGwF+J2Ou4s+1HcJL36utLf3MJcMRSzDMAwMwQQaTKhKo5Am9QETvwv7os+GbvBC+C3N8g== X-Received: by 2002:adf:bc4b:: with SMTP id a11mr18119220wrh.260.1612178986887; Mon, 01 Feb 2021 03:29:46 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Cc: Paolo Bonzini , Eduardo Habkost , Marcel Apfelbaum , Stefano Stabellini , Anthony Perard , Paul Durrant , xen-devel@lists.xenproject.org, Richard Henderson , "Michael S. Tsirkin" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 7/7] NOTFORMERGE hw/xen/Kconfig: Introduce XEN_PV config Date: Mon, 1 Feb 2021 12:29:05 +0100 Message-Id: <20210201112905.545144-8-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210201112905.545144-1-f4bug@amsat.org> References: <20210201112905.545144-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) xenpv machine requires USB, IDE_PIIX and PCI: /usr/bin/ld: libcommon.fa.p/hw_xen_xen-legacy-backend.c.o: in function `xen_be_registe= r_common': hw/xen/xen-legacy-backend.c:757: undefined reference to `xen_usb_ops' libqemu-i386-softmmu.fa.p/hw_i386_xen_xen_platform.c.o: in function `unpl= ug_disks': hw/i386/xen/xen_platform.c:153: undefined reference to `pci_piix3_xen_ide= _unplug' libqemu-i386-softmmu.fa.p/hw_i386_xen_xen_platform.c.o: in function `pci_= unplug_nics': hw/i386/xen/xen_platform.c:137: undefined reference to `pci_for_each_devi= ce' libqemu-i386-softmmu.fa.p/hw_i386_xen_xen_platform.c.o: in function `xen_= platform_realize': hw/i386/xen/xen_platform.c:483: undefined reference to `pci_register_bar' Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- Unfinished: /usr/bin/ld: libqemu-x86_64-softmmu.fa.p/softmmu_physmem.c.o: in function `cpu_physical_memory_set_dirty_range': include/exec/ram_addr.h:333: undefined reference to `xen_hvm_modified_memory' /usr/bin/ld: libqemu-x86_64-softmmu.fa.p/softmmu_physmem.c.o: in function `ram_block_add': softmmu/physmem.c:1873: undefined reference to `xen_ram_alloc' /usr/bin/ld: libqemu-x86_64-softmmu.fa.p/softmmu_physmem.c.o: in function `cpu_physical_memory_set_dirty_range': include/exec/ram_addr.h:333: undefined reference to `xen_hvm_modified_memory' /usr/bin/ld: include/exec/ram_addr.h:333: undefined reference to `xen_hvm_modified_memory' /usr/bin/ld: libqemu-x86_64-softmmu.fa.p/softmmu_memory.c.o: in function `cpu_physical_memory_set_dirty_range': include/exec/ram_addr.h:333: undefined reference to `xen_hvm_modified_memory' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. TODO another day: Paolo's suggestion: "modify xen_hvm_modified_memory to become a virtual function in AccelClass." --- hw/Kconfig | 1 + hw/xen/Kconfig | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 hw/xen/Kconfig diff --git a/hw/Kconfig b/hw/Kconfig index 5ad3c6b5a4b..f2a95591d94 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -39,6 +39,7 @@ source usb/Kconfig source virtio/Kconfig source vfio/Kconfig source watchdog/Kconfig +source xen/Kconfig =20 # arch Kconfig source arm/Kconfig diff --git a/hw/xen/Kconfig b/hw/xen/Kconfig new file mode 100644 index 00000000000..0b8427d6bd1 --- /dev/null +++ b/hw/xen/Kconfig @@ -0,0 +1,7 @@ +config XEN_PV + bool + default y if XEN + depends on XEN + select PCI + select USB + select IDE_PIIX --=20 2.26.2