XPDDS19: Support of PV Devices in Nested Xen - Jürgen Groß, SUSE

The Linux Foundation
The Linux FoundationDirector, Open Source Solutions at Citrix
Support of pv-devices in
nested Xen
Jürgen Groß
Virtualization Kernel Developer
SUSE Linux GmbH, jgross@suse.com
2
Agenda
• Nested Xen overview
• Nested Xen with pv-devices
• Possible solutions
• Related work
Nested Xen overview
4
Naming definitions
• L0-Xen: Xen hypervisor running on real hardware
• L0-dom0: Dom0 on top of L0-Xen
• L0-domU: domU on top of L0-Xen
• L1-Xen: Xen hypervisor running as HVM guest on top of
L0-Xen (L1-Xen is a L0-domU)
• L1-dom0: Dom0 on top of L1-Xen
• L2-domU: domU on top of L1-Xen
5
Today
• L1-dom0 and L1-domUs can’t access L0 pv-devices, as
they have no access to event channels and grants
presented to L1-Xen by L0-Xen
• L1-dom0 only sees the devices emulated by qemu in L0-
dom0 (legacy devices), those are available for backing
backends for L1-domUs
• I/O performance in L1-Xen is rather bad
Nested Xen with pv-devices
7
What we want to achieve
• L1-dom0 should be able to use pv-devices assigned to
L1-Xen by L0-dom0
• Those pv-devices should be usable in L1-dom0 as
backing devices for backends
• Introduced new interfaces should allow L1 driver
domains to use those devices, too
8
Needed functionality
• Access to L0 event-channels in L1-dom0 and eventually
in L1 driver domains
• Possibility to grant access of L1-dom0 memory pages to
L0-dom0
• Access to L0 xenstore from L1-dom0 and eventually L1
driver domains
Possible solutions
10
General considerations
• One Passthrough hypercall (similar to multicall, but for
passing hypercalls to L0-Xen) or multiple new hypercalls
as needed (passthrough event, passthrough grant, …)
• Multiplexing of L1-guests (L1-dom0 and possibly L1
driver domains) at L1-Xen level or at L0 level or via L1-
dom0 driver?
• Do we want to support even deeper nestings (L2, L3,
…)?
11
Event channels
• Direct mapping of L0 event channels to L1 event
channels or “nested event channels” (all L0 events
coming through via one L1 event + sub-event)?
• Support of 2-level events or fifo or both?
• If both: at the same time or only as alternative?
• Or like pv-shim all to L1-dom0 and the redirecting to L1
driver domains?
12
Grant pages
• Only L1-dom0 allowed to grant pages?
• Per L1-domain grant frames merged at L1-Xen level?
Problem: stealing of grant references possible (L1 driver
domain could put grant of L1-dom0 in request to L0)
• Multiple grant frame arrays presented to L0-Xen?
Problem: how to specify the individual grant in e.g. L0-
dom0
• Support of PVH/HVM L1-dom0/L1-driver-domains?
13
Xenstore
• Multiple Xenstores in L1-dom0
• Multiplexing for L1 driver domains? At which level (L0,
L1-Xen, L1-dom0, L1-Xenstore-stubdom)?
• Merging of L0-Xenstore into L1 Xenstore (“mount”)?
Related work
15
Related work
• Nested VMX/SVM
• PV-Shim
• Xenblanket (series by Christopher Clark, OpenXT)
• Xen HVM guest support in KVM (series by Ankur Arora,
Oracle)
16
1 of 16

Recommended

XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ... by
XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...
XPDDS19: The Xen-Blanket for 2019 - Christopher Clark and Kelli Little, Star ...The Linux Foundation
332 views26 slides
XPDDS19: A Journey to Mirage OS as Xen PVH - Marek Marczykowski-Górecki, Invi... by
XPDDS19: A Journey to Mirage OS as Xen PVH - Marek Marczykowski-Górecki, Invi...XPDDS19: A Journey to Mirage OS as Xen PVH - Marek Marczykowski-Górecki, Invi...
XPDDS19: A Journey to Mirage OS as Xen PVH - Marek Marczykowski-Górecki, Invi...The Linux Foundation
295 views26 slides
2018 Genivi Xen Overview Nov Update by
2018 Genivi Xen Overview Nov Update2018 Genivi Xen Overview Nov Update
2018 Genivi Xen Overview Nov UpdateThe Linux Foundation
15.4K views14 slides
Aplura virtualization slides by
Aplura virtualization slidesAplura virtualization slides
Aplura virtualization slidesThe Linux Foundation
9.6K views44 slides
Getting Started with XenServer and OpenStack.pptx by
Getting Started with XenServer and OpenStack.pptxGetting Started with XenServer and OpenStack.pptx
Getting Started with XenServer and OpenStack.pptxOpenStack Foundation
7K views43 slides
BSDcon Asia 2015: Xen on FreeBSD by
BSDcon Asia 2015: Xen on FreeBSDBSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSDThe Linux Foundation
5K views33 slides

More Related Content

What's hot

LCEU13: Securing your cloud with Xen's advanced security features - George Du... by
LCEU13: Securing your cloud with Xen's advanced security features - George Du...LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...The Linux Foundation
195.3K views150 slides
Erlang on Xen: Redefining the cloud software stack by
Erlang on Xen:  Redefining the cloud software stackErlang on Xen:  Redefining the cloud software stack
Erlang on Xen: Redefining the cloud software stackViktor Sovietov
1.9K views17 slides
OWF: Xen - Open Source Hypervisor Designed for Clouds by
OWF: Xen - Open Source Hypervisor Designed for CloudsOWF: Xen - Open Source Hypervisor Designed for Clouds
OWF: Xen - Open Source Hypervisor Designed for CloudsThe Linux Foundation
67.8K views45 slides
LF Collaboration Summit: Xen Project 4 4 Features and Futures by
LF Collaboration Summit: Xen Project 4 4 Features and FuturesLF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and FuturesThe Linux Foundation
323.4K views39 slides
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri... by
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...The Linux Foundation
42.7K views65 slides
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek by
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,PavlicekXen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,PavlicekThe Linux Foundation
101.3K views36 slides

What's hot(20)

LCEU13: Securing your cloud with Xen's advanced security features - George Du... by The Linux Foundation
LCEU13: Securing your cloud with Xen's advanced security features - George Du...LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...
The Linux Foundation195.3K views
Erlang on Xen: Redefining the cloud software stack by Viktor Sovietov
Erlang on Xen:  Redefining the cloud software stackErlang on Xen:  Redefining the cloud software stack
Erlang on Xen: Redefining the cloud software stack
Viktor Sovietov1.9K views
OWF: Xen - Open Source Hypervisor Designed for Clouds by The Linux Foundation
OWF: Xen - Open Source Hypervisor Designed for CloudsOWF: Xen - Open Source Hypervisor Designed for Clouds
OWF: Xen - Open Source Hypervisor Designed for Clouds
The Linux Foundation67.8K views
LF Collaboration Summit: Xen Project 4 4 Features and Futures by The Linux Foundation
LF Collaboration Summit: Xen Project 4 4 Features and FuturesLF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and Futures
The Linux Foundation323.4K views
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri... by The Linux Foundation
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...
The Linux Foundation42.7K views
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek by The Linux Foundation
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,PavlicekXen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
The Linux Foundation101.3K views
Securing Your Cloud with Xen (CloudOpen NA 2013) by Russell Pavlicek
Securing Your Cloud with Xen (CloudOpen NA 2013)Securing Your Cloud with Xen (CloudOpen NA 2013)
Securing Your Cloud with Xen (CloudOpen NA 2013)
Russell Pavlicek2.9K views
Scale14x: Are today's foss security practices robust enough in the cloud era ... by The Linux Foundation
Scale14x: Are today's foss security practices robust enough in the cloud era ...Scale14x: Are today's foss security practices robust enough in the cloud era ...
Scale14x: Are today's foss security practices robust enough in the cloud era ...
The Linux Foundation13.7K views
LinuxCon Japan 13 : 10 years of Xen and Beyond by The Linux Foundation
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and Beyond
The Linux Foundation451.5K views
Configuring OpenStack to Use the Xen Project Hypervisor by The Linux Foundation
Configuring OpenStack to Use the Xen Project HypervisorConfiguring OpenStack to Use the Xen Project Hypervisor
Configuring OpenStack to Use the Xen Project Hypervisor
XPDDS18: LCC18: Xen Project: After 15 years, What's Next? - George Dunlap, C... by The Linux Foundation
XPDDS18: LCC18:  Xen Project: After 15 years, What's Next? - George Dunlap, C...XPDDS18: LCC18:  Xen Project: After 15 years, What's Next? - George Dunlap, C...
XPDDS18: LCC18: Xen Project: After 15 years, What's Next? - George Dunlap, C...
Securing your cloud with Xen's advanced security features by The Linux Foundation
Securing your cloud with Xen's advanced security featuresSecuring your cloud with Xen's advanced security features
Securing your cloud with Xen's advanced security features
The Linux Foundation106.4K views
Xen 10th anniversary Status Report (at SELF 2013) by Russell Pavlicek
Xen 10th anniversary Status Report (at SELF 2013)Xen 10th anniversary Status Report (at SELF 2013)
Xen 10th anniversary Status Report (at SELF 2013)
Russell Pavlicek2.3K views
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ... by The Linux Foundation
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...

Similar to XPDDS19: Support of PV Devices in Nested Xen - Jürgen Groß, SUSE

LinuxTag13: 10 years of Xen and beyond by
LinuxTag13: 10 years of Xen and beyondLinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyondThe Linux Foundation
847 views53 slides
Xen: Hypervisor for the Cloud - CCC13 by
Xen: Hypervisor for the Cloud - CCC13Xen: Hypervisor for the Cloud - CCC13
Xen: Hypervisor for the Cloud - CCC13The Linux Foundation
3.5K views63 slides
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure by
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructureKernel Recipes 2014 - Xen as a foundation for cloud infrastructure
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructureAnne Nicolas
1.1K views56 slides
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14 by
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14The Linux Foundation
10.4K views63 slides
Xen Project Update LinuxCon Brazil by
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilThe Linux Foundation
1.1K views28 slides
Bare-Metal Hypervisor as a Platform for Innovation by
Bare-Metal Hypervisor as a Platform for InnovationBare-Metal Hypervisor as a Platform for Innovation
Bare-Metal Hypervisor as a Platform for InnovationThe Linux Foundation
3.7K views49 slides

Similar to XPDDS19: Support of PV Devices in Nested Xen - Jürgen Groß, SUSE(20)

Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure by Anne Nicolas
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructureKernel Recipes 2014 - Xen as a foundation for cloud infrastructure
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure
Anne Nicolas1.1K views
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14 by The Linux Foundation
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
The Linux Foundation10.4K views
Bare-Metal Hypervisor as a Platform for Innovation by The Linux Foundation
Bare-Metal Hypervisor as a Platform for InnovationBare-Metal Hypervisor as a Platform for Innovation
Bare-Metal Hypervisor as a Platform for Innovation
IITCC15: The Bare-Metal Hypervisor as a Platform for Innovation by The Linux Foundation
IITCC15: The Bare-Metal Hypervisor as a Platform for InnovationIITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
IITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP by The Linux Foundation
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPOscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Using Secure Shell on Linux: What Everyone Should Know by Novell
Using Secure Shell on Linux: What Everyone Should KnowUsing Secure Shell on Linux: What Everyone Should Know
Using Secure Shell on Linux: What Everyone Should Know
Novell1K views
XCP: The Art of Open Virtualization for the Enterprise and the Cloud by The Linux Foundation
XCP: The Art of Open Virtualization for the Enterprise and the CloudXCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the Cloud
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp) by The Linux Foundation
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
The dream is alive! Running Linux containers on an illumos kernel by bcantrill
The dream is alive! Running Linux containers on an illumos kernelThe dream is alive! Running Linux containers on an illumos kernel
The dream is alive! Running Linux containers on an illumos kernel
bcantrill36.4K views
OSv: probably the best OS for cloud workloads you've never hear of by rhatr
OSv: probably the best OS for cloud workloads you've never hear ofOSv: probably the best OS for cloud workloads you've never hear of
OSv: probably the best OS for cloud workloads you've never hear of
rhatr11.6K views
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows by eNovance
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and WindowsOpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
eNovance2.2K views
XPDS14: libvirt support for libxenlight - James Fehlig, SUSE by The Linux Foundation
XPDS14: libvirt support for libxenlight - James Fehlig, SUSEXPDS14: libvirt support for libxenlight - James Fehlig, SUSE
XPDS14: libvirt support for libxenlight - James Fehlig, SUSE

More from The Linux Foundation

ELC2019: Static Partitioning Made Simple by
ELC2019: Static Partitioning Made SimpleELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleThe Linux Foundation
4.1K views33 slides
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ... by
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...The Linux Foundation
1K views17 slides
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu... by
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...The Linux Foundation
1K views19 slides
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op... by
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...The Linux Foundation
819 views24 slides
XPDDS19 Keynote: Unikraft Weather Report by
XPDDS19 Keynote:  Unikraft Weather ReportXPDDS19 Keynote:  Unikraft Weather Report
XPDDS19 Keynote: Unikraft Weather ReportThe Linux Foundation
923 views58 slides
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E... by
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...The Linux Foundation
941 views17 slides

More from The Linux Foundation(20)

XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ... by The Linux Foundation
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu... by The Linux Foundation
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op... by The Linux Foundation
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E... by The Linux Foundation
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx by The Linux Foundation
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxXPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys... by The Linux Foundation
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender by The Linux Foundation
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderXPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng... by The Linux Foundation
OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... by The Linux Foundation
 OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix by The Linux Foundation
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixXPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd by The Linux Foundation
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdXPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant... by The Linux Foundation
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D by The Linux Foundation
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DXPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems by The Linux Foundation
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven... by The Linux Foundation
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib... by The Linux Foundation
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr... by The Linux Foundation
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE by The Linux Foundation
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEXPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE

Recently uploaded

Winter '24 Release Chat.pdf by
Winter '24 Release Chat.pdfWinter '24 Release Chat.pdf
Winter '24 Release Chat.pdfmelbourneauuser
9 views20 slides
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea... by
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Safe Software
391 views59 slides
Best Mics For Your Live Streaming by
Best Mics For Your Live StreamingBest Mics For Your Live Streaming
Best Mics For Your Live Streamingontheflystream
6 views6 slides
How to Make the Most of Regression and Unit Testing.pdf by
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdfAbhay Kumar
10 views9 slides
Tridens DevOps by
Tridens DevOpsTridens DevOps
Tridens DevOpsTridens
9 views28 slides
SAP FOR CONTRACT MANUFACTURING.pdf by
SAP FOR CONTRACT MANUFACTURING.pdfSAP FOR CONTRACT MANUFACTURING.pdf
SAP FOR CONTRACT MANUFACTURING.pdfVirendra Rai, PMP
11 views2 slides

Recently uploaded(20)

Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea... by Safe Software
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Safe Software391 views
How to Make the Most of Regression and Unit Testing.pdf by Abhay Kumar
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdf
Abhay Kumar10 views
Tridens DevOps by Tridens
Tridens DevOpsTridens DevOps
Tridens DevOps
Tridens9 views
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge... by Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
Deltares16 views
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -... by Deltares
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
Deltares6 views
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI... by Marc Müller
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Marc Müller31 views
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema by Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - GeertsemaDSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
Deltares12 views
How to Install and Activate Email-Researcher by eGrabber
How to Install and Activate Email-ResearcherHow to Install and Activate Email-Researcher
How to Install and Activate Email-Researcher
eGrabber19 views
DSD-INT 2023 Baseline studies for Strategic Coastal protection for Long Islan... by Deltares
DSD-INT 2023 Baseline studies for Strategic Coastal protection for Long Islan...DSD-INT 2023 Baseline studies for Strategic Coastal protection for Long Islan...
DSD-INT 2023 Baseline studies for Strategic Coastal protection for Long Islan...
Deltares10 views
Les nouveautés produit Neo4j by Neo4j
 Les nouveautés produit Neo4j Les nouveautés produit Neo4j
Les nouveautés produit Neo4j
Neo4j27 views
Neo4j y GenAI by Neo4j
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI
Neo4j35 views
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... by Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller35 views
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri643 views
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ... by marksimpsongw
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...
marksimpsongw74 views
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut... by HCLSoftware
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
HCLSoftware6 views

XPDDS19: Support of PV Devices in Nested Xen - Jürgen Groß, SUSE

  • 1. Support of pv-devices in nested Xen Jürgen Groß Virtualization Kernel Developer SUSE Linux GmbH, jgross@suse.com
  • 2. 2 Agenda • Nested Xen overview • Nested Xen with pv-devices • Possible solutions • Related work
  • 4. 4 Naming definitions • L0-Xen: Xen hypervisor running on real hardware • L0-dom0: Dom0 on top of L0-Xen • L0-domU: domU on top of L0-Xen • L1-Xen: Xen hypervisor running as HVM guest on top of L0-Xen (L1-Xen is a L0-domU) • L1-dom0: Dom0 on top of L1-Xen • L2-domU: domU on top of L1-Xen
  • 5. 5 Today • L1-dom0 and L1-domUs can’t access L0 pv-devices, as they have no access to event channels and grants presented to L1-Xen by L0-Xen • L1-dom0 only sees the devices emulated by qemu in L0- dom0 (legacy devices), those are available for backing backends for L1-domUs • I/O performance in L1-Xen is rather bad
  • 6. Nested Xen with pv-devices
  • 7. 7 What we want to achieve • L1-dom0 should be able to use pv-devices assigned to L1-Xen by L0-dom0 • Those pv-devices should be usable in L1-dom0 as backing devices for backends • Introduced new interfaces should allow L1 driver domains to use those devices, too
  • 8. 8 Needed functionality • Access to L0 event-channels in L1-dom0 and eventually in L1 driver domains • Possibility to grant access of L1-dom0 memory pages to L0-dom0 • Access to L0 xenstore from L1-dom0 and eventually L1 driver domains
  • 10. 10 General considerations • One Passthrough hypercall (similar to multicall, but for passing hypercalls to L0-Xen) or multiple new hypercalls as needed (passthrough event, passthrough grant, …) • Multiplexing of L1-guests (L1-dom0 and possibly L1 driver domains) at L1-Xen level or at L0 level or via L1- dom0 driver? • Do we want to support even deeper nestings (L2, L3, …)?
  • 11. 11 Event channels • Direct mapping of L0 event channels to L1 event channels or “nested event channels” (all L0 events coming through via one L1 event + sub-event)? • Support of 2-level events or fifo or both? • If both: at the same time or only as alternative? • Or like pv-shim all to L1-dom0 and the redirecting to L1 driver domains?
  • 12. 12 Grant pages • Only L1-dom0 allowed to grant pages? • Per L1-domain grant frames merged at L1-Xen level? Problem: stealing of grant references possible (L1 driver domain could put grant of L1-dom0 in request to L0) • Multiple grant frame arrays presented to L0-Xen? Problem: how to specify the individual grant in e.g. L0- dom0 • Support of PVH/HVM L1-dom0/L1-driver-domains?
  • 13. 13 Xenstore • Multiple Xenstores in L1-dom0 • Multiplexing for L1 driver domains? At which level (L0, L1-Xen, L1-dom0, L1-Xenstore-stubdom)? • Merging of L0-Xenstore into L1 Xenstore (“mount”)?
  • 15. 15 Related work • Nested VMX/SVM • PV-Shim • Xenblanket (series by Christopher Clark, OpenXT) • Xen HVM guest support in KVM (series by Ankur Arora, Oracle)
  • 16. 16