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

Re: [Xen-users] How to setup Xen guest



On Tue, Jan 19, 2016 at 09:45:15AM +0800, Peter Teoh wrote:
> Thank you Sean for your reply.
> 
> I managed to get domU working, running 64-bit CentOS.
> 
> Domain-0                                     0  7299     6     r-----    
> 2074.6
> centos.hvm                                   3   512     1     -b----      
> 19.1
> 
> But doing a "ps -ef" inside the dom0, which is running Ubuntu 14.04
> 64-bit, I am getting:
> 
> root      3321     1  0 07:28 ?        00:00:00
> /usr/bin/qemu-system-i386 -xen-domid 0 -xen-attach -name dom0
> -nographic -M xenpv -daemonize -monitor /dev/null -serial /dev/null
> -parallel /dev/null -pidfile /var/run/qemu-dom0.pid
> root      7632  2406  3 08:49 ?        00:00:54
> /usr/bin/qemu-system-i386 -xen-domid 3 -chardev
> socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-3,server,nowait -mon
> chardev=libxl-cmd,mode=control -nodefaults -name centos.hvm -vnc
> 127.0.0.1:0,to=99 -display none -sdl -device cirrus-vga -global
> vga.vram_size_mb=8 -boot order=cda -net none -machine xenfv -m 504
> -drive 
> file=/sda1/home/tteikhua/xen/disk1.img,if=ide,index=0,media=disk,format=raw,cache=writeback
> -drive 
> file=/sda1/home/tteikhua/mesa_development/CentOS-7.0-1406-x86_64-DVD.iso,if=ide,index=2,readonly=on,media=cdrom,format=raw,cache=writeback,id=ide-5632
> 
> Now my question - same as before, is why is qemu-system-i386 running?
> And so it is emulating my 64-bit Ubuntu and CentOS?
> 
> I am puzzled?

Don't worry too much about QEMU. It's not really doing the heavy lifting
of running the virtual, otherwise you wouldn't need Xen. All you need to
do to confirm your domU is running in 64 bit is to do a "uname -a" and
look for x86_64 in the string. IIRC, the newest version of CentOS is 64
bit only, so if it's running, that means it's 64 bit.

You can also look for the "lm" flag in /proc/cpuinfo to verify that the
virtualied CPU is reporting 64 bit capability.

--Sean

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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