Questions tagged [xen]
Xen is a virtualization technology for IA-32, x86-64 and ARM architectures.
430
questions
0
votes
0
answers
13
views
Compile error when using Newlib with Xen project
I'm attempting to compile Xen on Ubuntu 16.04 and have run into a vexing error:
configure:31808: error: cannot compute sizeof (unsigned short)
See `config.log' for more details.
Upon investigation, I ...
0
votes
0
answers
23
views
Understanding Groovy retry() and catchError()
I have this Jenkins pipeline that executes terraform init, terraform plan and terraform apply to deploy some VMs on unpowered Xen Orchestra (XO). My XO server is very limited in resources and one ...
0
votes
0
answers
26
views
XenAPI Library - C#
In two official repos, one from XenServer and the other from XCP-NG, there are the sources for the XenAPI library, the problem is that they have to be compiled, they use OCAML and OPAM.
The repos are:
...
0
votes
0
answers
25
views
Is there any way to open BitLocker on Windows10 OS drive(C:) automatically on StartUp that is running on XenOrchestra vm machine?
I am currently using the Windows 10 on XenOrchestra VM. I have BitLocker password setup on Windows 10 OS so I have to manually put in password every time I restart the VM. This VM is also used by ...
0
votes
0
answers
103
views
Import VDI on XCP-NG from stdin
I'm trying to export and import a VDI on XCP-NG, using STDIN but it fails.
Sample of export | importing:
xe -s 10.10.10.10 -u root -pw testpw vdi-export format=vhd vdi=3bae25a9-e289-4f9d-8bee-...
0
votes
0
answers
15
views
Getting the running time of Xen guest domain (RTEMS)
I have an RTEMS domain (as DomU) in Xen.
I want RTEMS not to notice the time passes when it does not run on a vCPU.
For example:
<A:rtems domain (1 sec)> <2 sec> <B:rtems domain (1 ...
0
votes
0
answers
63
views
Getting the running time of Xen guest domain
I need the Xen domain to see the times it was running. I tried rtems and Linux domains on xen4.11, and on both of them, the uptime shows times when the domain was not running on the vCPU.
Based on
...
-1
votes
1
answer
92
views
How to set IP address to alpine linux as Dom-U on Xen hypervisor?
I'm trying creating Dom-U on Xen hypervisor. Using alpine linux as Dom-U has been installed successfully, except setting IP address statically.
Do you have any idea of the point?
In details, the ...
0
votes
1
answer
38
views
Xen on ARM: boot page tables setup
I'm trying to understand the start-of-day code for Xen on Arm64. In the function create_page_tables in boot.S, there's a portion where we try to map Xen text and data into the level 3 table then check ...
0
votes
1
answer
80
views
guest OS on Xen can't connect to Domain-0
I'm working on Xen hypervisor on Xubuntu 22.04. I have the trouble to configure the network between host and guest OS. Technically, ping can't reach each other.
Host: Xubuntu 22.04
Guest: Alpine Linux ...
0
votes
1
answer
169
views
xen hvm : no console
I am trying to run opnsense as xen domU.
My host is debian 11 and xen boots as dom0 with this configuration :
dom0_mem=1G,max:1G dom0_max_vcpus=1
I am trying to boot on opnsense from iso with this ...
0
votes
0
answers
13
views
httpd disabled at runlevels , needs to be restarted for synchronizer updates on xen
I have Redhat 6.10 Synchronizer Server and xen client device setup. I am able to download updates via a manager software which run on xen client device.
But each time I want to download the update.tar
...
0
votes
0
answers
96
views
xen linux + baremetal cortex A53
I am trying to run Linux (buildroot) + baremetal app on Xen.
Xen boots great and buildroot is ok on the first CPU.
My problem is the baremetal application.
The baremetal app is generated by Vitis (my ...
1
vote
1
answer
766
views
UEFI Runtime Services: Role and Function Within an OS
I would like to understand how the UEFI Runtime Services function within the OS. I would also like to understand, how essential are those service for the proper functioning of an OS.
I am aware that ...
2
votes
1
answer
952
views
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 ...
1
vote
1
answer
7k
views
The processor does not support XSAVE. This virtual machine cannot be powered on
I am getting the below error while installing xenserver on vmware, how to solve this problem?
enter image description here
I have following configs:
enter image description here
enter image ...
0
votes
1
answer
2k
views
Can't locate File/Slurp.pm in @INC
I'm trying to compile an uefi application on Ubuntu 20.04.2 LTS but the compilation terminates with an error.
./mkkeys.sh
Enter a Common Name to embed in the keys: keys
cc -I/home/...
2
votes
1
answer
969
views
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 &...
0
votes
1
answer
163
views
how to specify "disk=[....]" setting in "xl create" config?
I'm following the wiki https://help.ubuntu.com/community/Xen#Manually_Create_a_PV_Guest_VM
(section "
Set Up Initial Guest Configuration
")
I downloaded the netboot initrd.gz from https://...
0
votes
1
answer
592
views
How to access virtual machines started with QEMU?
I wish I could connect to virtual machines started with QEMU.
Then I should extract the information about the registers (EIP, EBP, etc.)
In XEN for this, there is the function get_vcpu_context, also ...
0
votes
0
answers
270
views
resolving the error due to xen building\installation
can't resolve the error when I am trying to build xen package using manjaro linux and 5.11.6-1 kernel.
Really appreciate fro thoughts. Thanks.
...
GEN target/sparc/trace.c
GEN util/...
1
vote
1
answer
216
views
Access xenapi over https with a self-signed cert with perl
I am trying to access xenapi with the following perl script. The "http" version seem to work, but the "https" version doesn't.
The code:
#!/usr/bin/perl
use 5.20.0;
use RPC::XML::...
0
votes
1
answer
338
views
How can Virtual Box be setup on kvm but not on xen if both are hypervisors?
While installing Virtual Box on my VM which is on xen hypervisor, I got an error as "Running VirtualBox in a Xen environment is not supported" which is ok as Virtual Box is not built for ...
1
vote
2
answers
2k
views
How can I create a PVH "kernel" that will be run by qemu
I want a simple PVH kernel that will be loaded by qemu and the entry point started. Thus far I have my linker script:
ENTRY(pvh_start_addr)
SECTIONS
{
. = 1M;
.text : { *(.boot.text)
...
0
votes
3
answers
2k
views
libvirt.libvirtError: An error occurred, but the cause is unknow
I am using XEN hypervisor. For managing virtual Machine I am using virt-manager whenever I want to start to Virtual Machine at last when everything is ready and I click the create Button I get the ...
0
votes
2
answers
396
views
Get list of ip addesses from multiple citrix hypervisors vm's using ansible
I am using ansible and the xenserver_guest_info module to create a list of ip addresses from multiple virtual machines on my citrix hypervisor server. Currently I just want to print a list of ip's but ...
0
votes
1
answer
196
views
create paravirtualized domu using virt-manager
When trying to create a paravirtualized domU using virt-manager I get the following error
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line ...
0
votes
1
answer
83
views
Does cloudstack support Citrix Hypervisor 7 and 8?
Only XenServer 6.0 and 6.0.2 is mentioned in cloudstack docs, does it support the newer version?
Citrix Hypervisor removed non-free feature from free edition since 7.3 REF. Does it means I can use ...
1
vote
1
answer
542
views
config-temp/qemu-conf.c:1:10: fatal error: sys/endian.h: File or directory not found
I would like to pass the integrated gpu from the host os (ubuntu 20.04) to the windows 10 guest os with xen. This is because xen works great for me,better than qemu-kvm for my specific needs and ...
0
votes
0
answers
55
views
I would like to fix a bug happened while I was trying to compile xenGT
I'm trying to Build Qemu & Xen for XenGT on Ubuntu 20.04 following this tutorial :
https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide#332-build-qemu--xen-for-xengt
because I want to share ...
0
votes
0
answers
447
views
Failed to determine whether /sys is a mount point: Bad file descriptor
I have an old Xen machine that got hard rebooted. All of the guest domains recovered, except one (the important one, of course). This is what I get when I try to boot that domain:
[ 0.486626] xvda2:...
0
votes
0
answers
205
views
Integrating a RTOS like Erika Enterprise on a hypervisor that can run AUTOSAR application?
I'm new to automotive applications and trying to understand the stack for automotive systems. My goal is to implement a system where I can test AUTOSAR applications.
Currently, I'm looking to ...
0
votes
1
answer
158
views
Can't connect to MySQL server at /usr/local/sbin/XenConfig.pl line 333
Can anyone tell me what the following error is and how to fix?
File does not exist: SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'x.x.x.x' (99) at > /usr/local/sbin/XenConfig.pl line 333....
1
vote
1
answer
504
views
Is it possible to boot an unified kernel image as Xen Dom0 with UEFI Secure Boot?
I am trying to set up a Xen Host in a way that every step until booting the Dom0 Linux kernel is Secure Boot verified.
Without Xen, this could be achieved by signing an unified kernel image ...
1
vote
2
answers
58
views
merge a command's output with another's last field
xen list; xen uptime , want to merge both command o/p to single..
hostname1-$ xen list; xen uptime
Name ID Mem VCPUs State Time(s)
Domain-0 ...
0
votes
1
answer
284
views
how to add a hypercall in xen 4.13.0
I tried to follow tutorials to add a new hypercall for xen, however all of them cannot work because there is no ENTRY(hypercall_table) in entry.S, how to add a new hypercall in recent version of xen?
2
votes
1
answer
853
views
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 ...
0
votes
1
answer
529
views
xl create: unable to retrieve domain configuration error
I'm working with Xen for the first time, using Alpine Linux as Dom0.
I'm following the Alpine Linux guide to set up a PV guest in Xen, and I'm receiving the following error:
alpine-xen:~# xl create -...
1
vote
1
answer
4k
views
Strange "attempt to access beyond end of device", where to look?
I am running a few Xen servers on my company network. Recently, on one of them, I have been trying to rsync (on the Dom0 console) a big server image from another machine, but every time run in to a ...
0
votes
1
answer
433
views
How does a Hypervisor distinguish multiple VMs running on it and isolate them from the underlying h/w?
How does a Hypervisor distinguish multiple VMs running on it and isolate them from the underlying h/w?
e.g. if there is a system call from with in a guest OS, how does the HV know it belongs to a ...
1
vote
1
answer
673
views
"openssl speed rsa" less performant on (normally) better cpu
I'm trying to figure ou why the "openssl speed rsa" gives me worse result on a better cpu
1st server: Linux Debian 8 (running a Xen) - kernel: 4.9.0-amd64
model name : Intel(R) Xeon(R) CPU E5-...
2
votes
1
answer
472
views
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 ...
-1
votes
1
answer
510
views
How do I enable bridged networking in Xen guest?
I am running Xen 4.9 and adding a yocto guest.
I got it to startup with basic config:
name="yoctoguest"
builder="hvm"
kernel="/usr/lib/xen-4.9/boot/hvmloader"
memory=128
disk=[...]
but now I added:
...
0
votes
1
answer
115
views
How to get the machine memory allocation of domU in Xen
I have known that there would be a physical-to-machine map of domU in mode HVM, and I want to get the memory address on a machine of the specific domU.
Because I want to simulate what would happen in ...
1
vote
0
answers
204
views
Changes are lost after editing <hostname>.xml by virsh edit command
I am using 'virsh edit' command to edit an XML of the host. As soon as I add the contents I come out of the file by: wq!(vi editor style), Again I entered 'virsh edit' command and found my edits in ...
0
votes
1
answer
94
views
Is it possible to snapshot state of virtual machine with all processes inside?
Sorry for the newbie-question, but, is it possible to snapshot state of virtual machine with all processes inside?
For example, state of running single-player game. I want to pause the game process, ...
0
votes
1
answer
133
views
XEN ParaVirt guest boot parameters
I have a XEN server with a PV guest. I would like to change the guest boot parameters. These are my current parameters inside the PV guest, and I want to add another one.
$ cat /proc/cmdline
root=/...
0
votes
1
answer
237
views
Where is the actual code for UEFI boot services in EDK 2, or where the System table is being populated in EDK 2 source
I am working on a Virtualization layer, in particular Virtualizing UEFI Boot Services, so that these services can be used even after ExitBootService() is called and control is passed on to GPOS kernel,...
1
vote
1
answer
861
views
Creating a LVM storage with python
I am trying to make a script with python to duplicate VMs however I am getting the following error:
sudo lvcreate -L3072 -s -n TestPrestashop1-disk /dev/ls2018-vg/Prestashop-disk
Traceback (most ...
1
vote
1
answer
280
views
How do I login to a XEN session from a C# program using a secure string password?
I'm using PowerShell 5.1, Visual Studio 2017, C# , and XenServer SDK 7.1.1.
Using Get-Credentials and Export-CliXml in a PowerShell program, I've saved my pool master server login credentials for the ...