[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Bare metal driver for PV ethernet


  • To: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • From: Paul Leiber <paul@xxxxxxxxxxxxxxxx>
  • Date: Wed, 12 Feb 2025 07:05:06 +0100
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1739340309; s=strato-dkim-0002; d=strato.com; h=Message-ID:References:In-Reply-To:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=wQyZcwk1cPCOO0HI0AN2gukCBQNctc1d85HqfUBXGrk=; b=XW2a4AlGEDsfN7tBI2VcytCAn4aoz+ZRRGdNBusQqoj9EeAuJSaXIdW/tDrx5ISXgw IOYW4i3GDQltvAmn8gxSTRbDv0Yfl8VhEINHC/EyO/W/2TtdOt6o6+nLUo3r1Xk5M6TX W7ifFgwcTL32+XCYVhCFZqol6hY/6YfwjZoERwqGJPPw7eRmbL0Qyz0lv3O9rZscB/qu fB9wv0d+BORy6bgY4H60j4IqPOc11wBGaGvryZxTuiQqpTstM9+P2sB4Zl3UCVG55EnX DKXNXv0x8V07NrLP0mLJjluHXpHv6JhM4Ks9CyyJRus9J77Lztr4RziHPZ8tth4+/xng QajQ==
  • Arc-seal: i=1; a=rsa-sha256; t=1739340309; cv=none; d=strato.com; s=strato-dkim-0002; b=eD0QRHehDAQNXffW6pkIST0iMSIvZNoMYS8X8Oy8NEIi1FEWr5FNhwLoC3sOiSb/IP xT8Exm5sqjPyY5ZDOBsI+Haanns3D16k3/narl73+ea92oEZsWpKV4SKl/0UDnCNh8d7 HW4IaELEwhK6TgVsha283MUysNrcszz5g30Bf+1i6etbYQylmOPd/Lee3LuNnFE1QP+c B0s44MX2JOpBtutVMS8YEf8Qu0YlNsOJFN7mDW7JY0Xbs1cR+yp9Xr5dsiFedwXEM0+G CXR4/ca/OB8oamV30VYrd/pIpFTvb1F+c58Ai/cIlUrWx1XMWDmX/c2rwnHS1QjkC9BN qqXQ==
  • Delivery-date: Wed, 12 Feb 2025 06:06:02 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

Am 11. Februar 2025 23:33:43 MEZ schrieb Klaus Darilion <klaus.darilion@xxxxxx>:
>> -----Original Message-----
>> From: Xen-users <xen-users-bounces@xxxxxxxxxxxxxxxxxxxx> On Behalf Of Paul
>> Leiber
>> Sent: Tuesday, February 11, 2025 9:40 PM
>> To: xen-users@xxxxxxxxxxxxxxxxxxxx
>> Subject: Re: Bare metal driver for PV ethernet
>> 
>> Am 04.02.2025 um 16:38 schrieb Carlos Domínguez Sánchez:
>> > We have been working with Xen and we successfully use the PV ethernet
>> > interface from Linux guests. We would like to follow the same approach
>> > with bare metal guests, but we did not find the appropriate driver for
>> > the virtual ethernet. Does anyone face a similar problem? Do you have
>> > any suggestion?
>> 
>> I don't have an answer to your question, I am afraid, but rather a
>> question myself. I apologize if my question is stupid. I know what a
>> bare metal server is, but I am not aware of the concept of a "bare metal
>> guest", so what does it mean? I found a document which describes how to
>> install a VM on a bare metal system [1], and something related to a
>> hypervisor called bao [2] but I am still unsure what the concept means.
>
>I think the term "bare metal guest" refers to a XEN guest which does not run a 
>complete operating system, but only a single application, as described for 
>example here:
>https://github.com/dornerworks/xzd_baremetal/blob/master/docs/index.md
>
>regards
>Klaus

Thanks for the explanation.

Based on my (limited) understanding, the key section in the link provided by 
you is:

"Paravirtualized Devices - Dom0 provides a front-end for some devices. To talk 
to these, a front-end needs to be implemented in the bare metal. This requires 
support for the XenStore, event channels, shared memory, and all of the related 
Hypercalls, which are currently not implemented in the XZD Bare Metal 
container."

I think there is a mistake in that section, it should be "Dom0 provides a 
back-end for some devices."

There is a section in the linux kernel sources called xenfront which provides 
the PV network functionality for linux guests by connecting to the backend 
("xenback"). I assume that you need to implement something similar to xenfront 
for your bare metal guest.

Best regards,

Paul



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.