Questions tagged [xen]

Xen is a virtualization technology for IA-32, x86-64 and ARM architectures.

Xen is an Open Source "type-1" hypervisor that provides high-performance virtualization of IA-32, x86-64 and ARM architectures.

The homepage for the project is: http://www.xenproject.org/

One of the Xen project goals is to take advantage of new developments in system architectures to demonstrate their advantages and serve as the reference hypervisor of choice.

Development activity takes place on the xen-devel@xen.org public mailing list, and questions from users about deploying Xen are served by the xen-users@xen.org public mailing list.

Xen originated from the Cambridge University Computer Laboratory and was first described in the research paper "Xen and the Art of Virtualization" at SOSP in 2003. This introduced "paravirtualization" as the concept of modifying the kernel of the guest operating system to be aware of the hypervisor, and so change its behaviour to optimize performance, whilst still allowing guest applications to run unmodified.

Just as Linux distributions provide an environment and packaged version of the Linux kernel, similarly Xen is packaged and made available commerically by multiple vendors, including Citrix, Oracle, SuSE (or their current owner), and RedHat.

Documentation

433 questions
3
votes
3 answers

How to make sure a xen DomU is HVM or PV

i used virt-install to create a DomU image, but i cannot make sure the DomU created is a HVM or a PV.....anyone has any ideas?
Kaiqiang
  • 47
  • 1
  • 7
2
votes
1 answer

in what condition phys_base is not 0?

phys_base is referenced in kernnel source code __phys_addr() arch/x86/mm/physaddr.c and crash also use it as a machine dependent parameter e.g. --machdep phys_base=0x200000 unsigned long __phys_addr(unsigned long x) { if (x >=…
Dyno Fu
  • 8,753
  • 4
  • 39
  • 64
2
votes
1 answer

Ansible community parted module asking "Are you sure you want to continue", is there an override

I am trying to expand an ext4 partition to fill a disk on Alpine using Ansible. Following the community parted module documentation here I should be able too. However when it comes to performing that action the returned error message says "Warning:…
Stone Monarch
  • 325
  • 2
  • 15
2
votes
1 answer

How do I run XEN on arm64 and Qemu 6.0.0 with Linux 4.20.11 as Dom0

thank you for reading and appreciated for reply! I followed this doc and successfully ran xen 4.12.0 on qemu 3.1.0 with Linux 4.20.11 as Dom0. Then I tried to use higher version of qemu(qemu 5.1.0 && 6.0.0) to do the same thing, but the process got…
Cooper
  • 21
  • 1
2
votes
0 answers

My Xen VM on the EC2, choosing right AKI

I'm trying to move my Xen domU (guest VM) to the EC2. On my machine I have a Xen (dom0 and several domUs). However, when I boot a guest VM, I use a kernel image from dom0 (in the .cfg file lines kernel=/...; initrd=/...). That means, my kernel…
user449219
  • 1,333
  • 2
  • 9
  • 7
2
votes
1 answer

Issue in booting Xen DomU Linux

I am trying to run Mainline linux kernel v5.4.0-rc3 as DomU. My setup details below. Target hw: Pine64+ Architecture: aarch64 (arm64) Xen version: 4.6.5 Dom0: Mainline linux Kernel v5.4.0-rc3 DomU config file: kernel = "path to kernel image" memory…
Kumar
  • 616
  • 1
  • 18
  • 39
2
votes
1 answer

virsh restore with modified xml "Error: xml modification unsupported"

I'm trying to restore an a Xen VM (domain) from state file which I create previously. At the restore I need to modify the XML of this VM with the following command: virsh restore domU.state --xml newconfig.xml This command triggers an error with…
Damien
  • 37
  • 6
2
votes
1 answer

issuing a disk read from bottom-half of device driver

In a Xen setup, IO accesses from guest VMs go through a privileged domain called dom0 that is just a modified Linux kernel which has calls from and to the XEN hypervisor. For block IO, they have a split driver model whose front-end is in the guest…
2
votes
6 answers

Carrying and Working on an Entire Development Box from a USB Stick. Feasible?

Lately I have been thinking about investing in a worthy USB pen drive (something along the lines of this), and install Operating Systems on Virtual Machines and start developing on them. What I have in mind is that I want to be able to carry my…
Andreas Grech
  • 105,982
  • 98
  • 297
  • 360
2
votes
0 answers

How to get hostname rather opaqueref on xen with xmlrpc?

Using xmlrpclib from Python2 it give back OpaqueRef but I would like to get more informations like the status of all VMs and their names, bandwidth, VCPU #!/usr/bin/env python import xmlrpclib xen =…
aurelien
  • 404
  • 4
  • 22
2
votes
1 answer

How does Xen handle non-virtualizable instructions in user space code?

Xen has to handle non-virtualizable instructions in the Guest OS kernel code. But what if my user-space code contains such instructions (e.g., SGDT that stores the GDT info into memory)? Can my code still runs smoothly in a guest VM with Xen…
Infinite
  • 3,198
  • 4
  • 27
  • 36
2
votes
1 answer

Having some problems with XM create

I have a bit of a problem with Xen. Each time I try to run xm create I get the following error: dom0:~# xm create -c staros.xm Using config file "./staros.xm". Started domain StarOS-3 xenconsole: Could not read tty from store: No such file or…
Justin
  • 23
  • 1
  • 6
2
votes
0 answers

Questions on Xen HVM guest boot: hvmloader, direct kernel boot and simulated BIOS

I'm trying to understand how xen handles booting HVM guests. Any answers, insights or links to pertinent documentation would be greatly appreciated... IIUC, leaving "kernel" and "ramdisk" options unset in your xl.cfg file means you do not want…
BPS
  • 218
  • 1
  • 6
2
votes
0 answers

How does "xl save" in Xen works?

I want to know the inner working of the "xl save" command. What are all the function it calls and how does it saves pages related to the domain ?
Lakshya Garg
  • 736
  • 2
  • 8
  • 23
2
votes
1 answer

Shared Folders in Xen Hypervisor

I recently started using xen hypervisor migrating from virtualbox. My host system is Ubuntu 15.04 and guest is Windows 7. I wanted to know if there is any way where we can use shared folders similar to VirtualBox? Thanks
user1683894
  • 405
  • 1
  • 6
  • 20