LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-16-2016, 01:38 PM   #1
Archangelmscj
LQ Newbie
 
Registered: Jun 2015
Posts: 12

Rep: Reputation: Disabled
Xen Nest HVM Windows Host


Good Afternoon,

Has anyone had any luck with nesting a HVM windows host inside VMWware hypervisor 6? Maybe the better question would be a nest within a nest. Meaning I have a Fedora 23 box (which I want to virtualize) running Xen hypervisor, the VM's running with in Xen are 2 Centos 6 boxes and one Windows 2012 Server (HVM). The VM's are running within an LVM partition and it appears that when I run the VMware's P2V converter it copies over the LVM's but as a separate disc. On the physical box the OS is on /dev/sda1 and the LVM is /dev/sda2. But once converted its OS /dev/sda1 and LVM /dev/sdb1. Not really sure this matter at the moment?
What I am trying to accomplish is to virtualize my Fedora 23 box running Xen and all its VM's. What appears to be missing when I run the Converter is Xen's HVM modules. It there a way to install just those modules? What is the best method to accomplish this task? Can it be done?
Looking over http://wiki.xen.org/wiki/Nested_Virtualization_in_Xen. I inserted hap=1 and the nestedhvm=1. Still get same error. The only thing I can come up with is the Xen "HVM" modules.

[root@localhost ~]# xl info
host : localhost
release : 4.4.7-300.fc23.x86_64
version : #1 SMP Wed Apr 13 02:52:52 UTC 2016
machine : x86_64
nr_cpus : 4
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 3191
hw_caps : 1fabfbff:28100800:00000000:00003f00:96d83203:00000000:0 0000001:00000000
virt_caps :
total_memory : 10599
free_memory : 7323
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 5
xen_extra : .3
xen_version : 4.5.3
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : placeholder dom0_max_vcpus=2 dom0_mem=3156M dom0_vcpus_ pin=true
cc_compiler : gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2)
cc_compile_by : mockbuild
cc_compile_domain : [unknown]
cc_compile_date : Wed Mar 30 19:19:01 UTC 2016
xend_config_format : 4

[root@localhost ~]# cat /etc/xen/rds.xl
hap=1
nestedhvm=1
#cpuid =
builder = "hvm"
name = "rdp"
viridian = 1
memory = 6144
vcpus = 2
cpus = [6,7]
vif = [ 'bridge=vsbr0,mac=00:16:3E:66:77:88' ]
disk = [ '/dev/VMSTOR/rdp,raw,hda,rw' ]
stdvga = 1
vnc = 1
vnclisten = "0.0.0.0"
vncpasswd = ""

ERROR:Parsing config from /etc/xen/rds.xl
libxl: error: libxl_create.c:536:libxl__domain_make: domain creation fail: Invalid argument
libxl: error: libxl_create.c:853:initiate_domain_create: cannot make domain: -3
libxl: error: libxl.c:1578:libxl__destroy_domid: non-existant domain -1
libxl: error: libxl.c:1536:domain_destroy_callback: unable to destroy guest with domid 4294967295
libxl: error: libxl_create.c:1485:domcreate_destruction_cb: unable to destroy domain 4294967295 following failed creation

Last edited by Archangelmscj; 05-16-2016 at 01:40 PM.
 
Old 06-03-2016, 07:27 PM   #2
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
Hi,
uuh, couldn't you just move the xen VMs to vmware VMs and (if you still need the fedora box) p2v that and have that run alongside the other VMs? So no nesting but rather parallel? *Should* be a lot easier...
HTH
Upuetz
 
Old 06-15-2016, 03:27 PM   #3
Archangelmscj
LQ Newbie
 
Registered: Jun 2015
Posts: 12

Original Poster
Rep: Reputation: Disabled
I would like to keep the environment as a whole. Would like to make it a VM for troubleshooting purposes.
 
Old 06-16-2016, 05:09 AM   #4
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
LOL - your "VM for troubleshooting purposes" is making troubles ;-)
With the nested PV you get yourself a load of trouble - either stick with the Xen machine or the parallel VMs would be my advice

Best regards,
Upuetz
 
Old 06-16-2016, 09:22 AM   #5
Archangelmscj
LQ Newbie
 
Registered: Jun 2015
Posts: 12

Original Poster
Rep: Reputation: Disabled
Yes I agree. Is there away to accomplish this or is it all in vain?
 
Old 06-17-2016, 05:29 AM   #6
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
You could try using qemu-img and create a vmdk file of the physical drives yourself and import that by hand in vmware. That at least would solve part of your question. Otherwise: I'm not that deep into vmware...
HTH
Upuetz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HVM vs PV (Xen Full virtualization (HVM) Xen Paravirtualization (PV)) Nemus Linux - Virtualization and Cloud 9 02-27-2016 10:07 AM
Xen-HVM Linux Cobby Linux - Virtualization and Cloud 0 10-19-2012 06:42 AM
XEN PV server can be created in XEN HVM node? shankarganesh.mca Linux - Virtualization and Cloud 0 08-19-2011 06:47 PM
[SOLVED] Windows 2003 won't boot on XEN with HVM mr51m0n Linux - Server 2 06-11-2010 09:24 AM
Xen Virtualization VGA Passthrough: Playing 3D FPS Games in Windows XP HVM Guest Teo En Ming Linux - Virtualization and Cloud 2 10-27-2009 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration