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

Re: [Xen-devel] [Xen-users] different number of cpus



sorry, i think i got your point. i don't know exactly which menuentry in grub2 
refer to xen.gz. furthermore i deleted xen.gz when i was compiled and installed 
xen, because it issue an error (warning) which didn't let update-grub  to be 
successful. after studying forums, i understood to delete it. but for the 
xen-4.gz is (in /boot/grub/grub.cfg):

​​
menuentry 'Ubuntu GNU/Linux, with Xen hypervisor' --class ubuntu --class 
gnu-linux --class gnu --class os --class xen $menuentry_id_option 
'xen-gnulinux-simple-d9e946b3-a4cf-4a90-8cdf-689d19a2b869' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      searc​​h --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 
--hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  
d9e946b3-a4cf-4a90-8cdf-689d19a2b869
    else
      search --no-floppy --fs-uuid --set=root 
d9e946b3-a4cf-4a90-8cdf-689d19a2b869
    fi
    echo    'Loading Xen 4 ...'
        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
            xen_rm_opts=
        else
            xen_rm_opts="no-real-mode edd=off"
        fi
    multiboot    /boot/xen-4.gz placeholder loglvl=all guest_loglvl=all 
com1=115200,8n1,0x3e8,5 console=com1,vga  ${xen_rm_opts}
    echo    'Loading Linux 3.19.0-25-generic ...'
    module    /boot/vmlinuz-3.19.0-25-generic placeholder 
root=UUID=d9e946b3-a4cf-4a90-8cdf-689d19a2b869 ro find_preseed=/preseed.cfg 
auto noprompt priority=critical locale=en_US console=hvc0 earlyprintk=xen quiet
    echo    'Loading initial ramdisk ...'
    module    --nounzip   /boot/initrd.img-3.19.0-25-generic
}

I hope getting your meaning correctly.

________________________________________
From: Wei Liu <wei.liu2@xxxxxxxxxx>
Sent: Thursday, March 17, 2016 12:22 PM
To: tutu sky
Cc: xen-users@xxxxxxxxxxxxx; Wei Liu
Subject: Re: [Xen-users] different number of cpus

On Sat, Mar 12, 2016 at 10:18:15AM +0000, tutu sky wrote:
> Hi all,
> i have installed Xen and while setting number of vcpus in Dom0 to 2, then go 
> to terminal and issue "top" command, it shows me 4 core! these all happen 
> while i have 2 cores available in /sys/devices/system/cpu (just cpu0 and 
> cpu1), so what does it mean? I become totally confused, as i don't know what 
> is the exact number of cores which are assigned to Xen or Dom0.
> in other words, when using "xl vcpu-set Domain-0 2" command, whys this two 
> vcpus are showed 4 in "top" command?
>

How does your xen.gz command line argument in bootloader look like?


> would you please give me an answer?
> Thanks a lot.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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