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

Re: [PATCH 1/2] docs/designs/launch: hyperlaunch design document


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxx>
  • Date: Thu, 25 Mar 2021 09:14:31 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rLIKBBioLf7x5SjjYKKD5IbVaMLdlqwToPEyKUGm9tY=; b=KeXNvpKWYESHQMQjF7+mr1CR6j2GhJWdRBTmJE94Jq6lAmA9EtOKWEJmg249fxTSKReI3IGj/5o20yRFSOxKhHYjQLJ2j1MJhoB2GIaOms8Mn2zVX81jg6H2TpD/BxZSAlc4Cfwa72z+pVaShJ+3aeZkTjGuFVw0UpNxpdG37bR635KkAiso6h6zGqwvq9ZG6eiqgGaQ2VI0E/YFqQrW85M5w5p2Nzu5QV1+H50HZANtAFiAr2UAgiwtZThcFSy3qiLnNMPBTTbxDuiA+UljpULGwuT/NLxjswFcL5KoIUNxTLWi+dODO6dxPcKiy+jZWatt8IA3/R5yw3ACHLHxNw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gpVE1/2GThA4i8YIqzK56AiYweBoL5x6f0E3Sal3UZ58EAKjjaq8dpd7qreVnMuzUjhMp7Z9jlhauor3pQkHwPVgMynCw12zjjrRMw0C0FwMjFw/GXj7cs66raDNoMPCe/wXM2047gPvrU/5YJCF8HWAMtbi2y3NZqvyhzTZ0lSYQ6ukPRIm0aht8p9r10c33BSwtvDKGgR2P9HVYCDCt5IT3piLFq0lQnKmPNdJhKWVKrdchYp0mMomafojQ3ZBTSRtdB2rk7V/GRHyyqMECVMf36e+z3w3DJyBPwo2Wn14VqF9CmXSuZNel9oxoieKp8PuUtxEp/kINIeuKQim1w==
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Christopher Clark <christopher.w.clark@xxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, "Julien Grall" <Julien.grall.oss@xxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Rich Persaud <persaur@xxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, "luca.fancellu@xxxxxxx" <luca.fancellu@xxxxxxx>, "paul@xxxxxxx" <paul@xxxxxxx>, Adam Schwalm <adam.schwalm@xxxxxxxxxx>
  • Delivery-date: Thu, 25 Mar 2021 09:14:38 +0000
  • Ironport-hdrordr: A9a23:+BS3Ma/JX2a6RVUcLkpuk+Gjcb1zdoIgy1knxilNYDRvWIixi9 2ukPMH1RX9lTYWXzUalcqdPbSbKEmyybdc2qNUGbu5RgHptC+TLI9k5Zb/2DGIIUHD38Zn/+ Nbf6B6YeecMXFTh8z3+RT9Nt4mzsWO/qzAv5ai815GZ2hRGsRdxi1+DRuWFVAzZCQuP+t2KL O34M1bqz28PVEeacqmDncINtKz2+HjvpTgfBIAGlob8wGIlzyl8/rXFBKf0xcYXVp0sPYf2E LClBH04bjmjuGjxnbnpiDuxrl1uP+k8NtMA8SQltMYQw+Dti+EbJlsMofyxQwdj/qo7D8R4b rxijcme/9+8nbAOlyyyCGdoTXI9BYLxzvcxUSDgX3lyPaJBA4SL8Zan4pWfl/4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++h8v7Ns/4iE0eBrAz/NR 2E/ypR8+zMUiGD2bQZYphAaVh+eQw58jBv7emCf4rfBEG2bOlF5kO9KWL4f7lHSqSJcI9g2S pS8pWNhauQeCX50gyL4mc+LaJK7mq9QcS9RAiLAvVF9tSmOVKKxqumifTD+QvfWH++cQAfg4 YAaEkbKsJEgTMmhJcs0iezRrfsy3hV2md28HVijBr1xoOi4G3HBklIPg3Sn4VOUVBoQwq1pN WA9fLdyW/07zdE04TSDUtcftlBHN4LU4j8Rh0eXfQ4rfqv5KoggiNKfRcoASo9kVnGrpBb4Y s=
  • Ironport-sdr: Id0aexlHtZMM0+xLgthiWCuyppnPAtZvBwRrJp09tMcdoJIFHGVtvjTFadSbE9VYS2FTowi4pf spbTxOb4hXmzZUkYhKdVpsfXVYS7NGrsEvAwY2hC/YUZza2zWDkjPauk8i8jyfYliaLkBPyefD ublEf5aawBjFnyl5bKlMKJ/8WS42skC9gD4aJU2kXZQRgQgrwCAgmuGA1HGNUuiU6W7Hq7V97D iwYvromvgunZEx09cs04oHirvkxBWgdi0/Co1YbIc4adfhwUNWTW0PpiD3u7yE2kASKlewOPH0 aRo=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHXGhIm6lUem5Agw0SwTR0/wys6MqqJ94wAgAfrX4CAAPCuAIAAUZ8AgAFJWYCAAAvQAA==
  • Thread-topic: [PATCH 1/2] docs/designs/launch: hyperlaunch design document


> On Mar 25, 2021, at 8:32 AM, Roger Pau Monne <roger.pau@xxxxxxxxxx> wrote:
> 
> On Wed, Mar 24, 2021 at 05:53:26AM -0700, Christopher Clark wrote:
>> On Wed, Mar 24, 2021 at 1:01 AM Roger Pau Monné <roger.pau@xxxxxxxxxx> wrote:
>>> 
>>> On Tue, Mar 23, 2021 at 10:39:53AM -0700, Christopher Clark wrote:
>>>> On Thu, Mar 18, 2021 at 9:43 AM Roger Pau Monné <roger.pau@xxxxxxxxxx> 
>>>> wrote:
>>> If you offload domain creation of guests with
>>> pci-passthrough devices to a control domain and/or hardware domain,
>>> I'm not sure I see the difference from normal domain creation, ie:
>>> it's no longer something specific to hyperlaunch, as I could achieve
>>> the same by using the existing xendomains init script.
>> 
>> So that's not what we've proposed, and hopefully not what we'll need to do.
>> 
>> Do you know if there is a need to perform work to support the
>> assignment of PCI devices at the point of domain creation (ie. in
>> domain_create), rather than handling it in a later step of domain
>> configuration, prior to the domain being started?
> 
> So while I think you could indeed create a domain from the hypervisor
> in a paused state and attach the pci devices later from a
> control/hardware domain, I don't see much benefit in doing it. If you
> need to end up waiting for a control/hardware domain to attach the
> devices and unpause you might as well do the whole domain creation
> from such control/hardware domain.

My understanding was that one of the primary advantages of domB was that you 
could compile and run arbitrary code in whatever language you wanted to, using 
already known tools.  If *all* we want to do is to assign some pre-defined 
specific BDFs to specific domains, then sure, we could add that capability to 
Xen.  But suppose you wanted to have the flexibility to handle changes in 
hardware at boot time?  “Scan through the PCI bus and assign anything that 
looks like a network card to domNet, and anything that looks like a USB 
controller to domUSB” is something you could easily do in domB, but would be 
way too complicated to add to Xen.

 -George


 


Rackspace

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