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

Re: [Xen-devel] Question about the best practice to install two versions of Xen toolstack on the same machine



Hi Wei,

On Wed, May 25, 2016 at 6:53 AM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> On Tue, May 24, 2016 at 04:47:38PM -0400, Meng Xu wrote:
>> Hi Olaf,
>>
>> Thank you very much for your suggestion!
>>
>> On Fri, May 20, 2016 at 4:52 AM, Olaf Hering <olaf@xxxxxxxxx> wrote:
>> > On Thu, May 19, Meng Xu wrote:
>> >
>> >> Does anyone try to install two version of Xen toolstack on the same 
>> >> machine?
>> >
>> > I do that. See the INSTALL file which has examples at the end:
>> >
>> > * To build a private copy of tools and xen:
>> > configure --prefix=/odd/path --sysconfdir=/odd/path/etc --enable-rpath
>> > make
>> > sudo make install BOOT_DIR=/ood/path/boot EFI_DIR=/odd/path/efi
>> >
>>
>> I'm wondering if  BOOT_DIR=/ood/path/boot and EFI_DIR=/odd/path/efi is a 
>> must?
>> I'm using the grub2 to boot the kernel (so that I can remotely control
>> which grub entry I will get into).
>>
>> I put the xen image to /boot and the system can boot up. The xl
>> toolstack seems working well.
>>
>> However, the dom0's name is null.
>>
>> When I run /ood/path/etc/init.d/xencommons restart , it reports the
>> following message:
>>
>> Stopping xenconsoled
>> Stopping QEMU
>> WARNING: Not stopping xenstored, as it cannot be restarted.
>> Starting xenconsoled...
>> Starting QEMU as disk backend for dom0
>>
>> I guess there is something wrong with the xenstored's configuration?
>> Did you happen to experience this issue before?
>>
>>
>
> I think xenstored is running fine.
>
> If you're using systemd, there should be a service called xen-init-dom0
> that needs to be started. That small program does a bunch of things
> including setting the name for Dom0 in xenstore.

Yes, you are right! After running xen-init-dom0, everything works now.

BTW, I followed Olaf and Dongli's approach. I'm writing the wiki now...

-- 
Best Regards,

Meng
-----------
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/

_______________________________________________
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®.