WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: FreeBSD starting by HVM

To: Sergey Smirnov <sergey.a.smirnov@xxxxxxxxx>
Subject: Re: [Xen-users] Re: FreeBSD starting by HVM
From: Butterfly_killer <alex.faq8@xxxxxxxxx>
Date: Wed, 5 Aug 2009 10:45:48 +0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 04 Aug 2009 23:46:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=RLIBxmE/g9GS0MiZXJupfVuSgQZQQ6snR1zprgTXMrQ=; b=uNfxvFvtwkR/IdQg417R+P5qseHVtieX2bXX9N125nBkdfCSuyQxOI9ozsJGK2gu9J ltCvAmfW5HTO4kBRTQvNKHC7imVeht5lt/7AsjEMN/NflkZb4FdYl7f4l2RkpBX9kxyJ XAKk88/QAusvLbgQZw0CInWrd3yHftUdOGgp0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PuoXU/5ZidS7eJgetwtYbix/XuhGWe/QjEkDFmYxC1zdZAsgSQjL7PemP07RHC9Xo3 GbVaSTnyR2tYYVMyVbuxAeVX3lwQ3/RnEmFOn4V27QSMIKKHgdfQSMiaN+W+ruwJ0q4L GzhV1JKdEDYRVJDX+kGS6WUXnyCmZC7EQMRps=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d85efea30908040913r251ab391sc32f1d636fcc3330@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <9e97b1230908040638m6b8239a9y611e1d19bda0da9a@xxxxxxxxxxxxxx> <9e97b1230908040831w67391617g369b06aed860899f@xxxxxxxxxxxxxx> <d85efea30908040913r251ab391sc32f1d636fcc3330@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
1) MY question is easy: How I can see what now doing on my virtual FreeBSD. I see only xm list.
PS In xm list Time for domU ==0 all time.
2)
/etc/xen# netstat -na | grep LISTEN |grep tcp
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:58060           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:7741            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:927           0.0.0.0:*               LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN

I dont know what is 927,7741 and 58060, but i tested gvncviewer localhost:ALL_OPEN PORTS. Reply: Disconnected from server.
3) I use your config

vnc=1
vnclisten='0.0.0.0'
vncpasswd='q1'
and recreate my domU, but it was do nothing, I do it before in xen config files.


2009/8/4 Sergey Smirnov <sergey.a.smirnov@xxxxxxxxx>
Hi,

What is the question? You can't connect to your domain through vnc?

Is there any ports listening by vnc? Check 'netstat -na|grep
LISTEN|grep tcp' output, you should find ports starting from 5900
(5900 is default port for vnc display 0).

Also you can add below options to your domain config:

vnc=1
vnclisten='0.0.0.0'
vncpasswd='q1'

2009/8/4 Butterfly_killer <alex.faq8@xxxxxxxxx>:
> Sorry
> gvncviewer localhost:1 (1=ID my virtual machine)
> Please help, I cant understand what wrong. All done by Manuals.
>
> 4 августа 2009 г. 17:38 пользователь Butterfly_killer <alex.faq8@xxxxxxxxx>
> написал:
>>
>> Hi. How I can see what happend in my domU???
>> dom0 Debian Lenny
>> domU FreeBSD6.4
>> xen 3.2-1
>> --------
>> Xen 3.2-1
>> :/etc/xen# xm create tttt.cfg
>> Using config file "./tttt.cfg".
>> Started domain freebsd
>> --------
>> /etc/xen# xm list
>> Name                                        ID   Mem VCPUs      State
>> Time(s)
>> Domain-0                                     0  2969     4     r-----
>> 48.0
>> freebsd                                      4  1024     1     ------
>> 0.0
>> ---------
>> gvncviewer localhost:0
>> Disconnect from server
>> ------------------------------------------
>> /etc/xen# cat tttt.cfg
>> # Enable hardware virtualisation using HVM
>> kernel = '/usr/lib/xen-3.2-1/boot/hvmloader'
>> device_model = '/usr/lib/xen-3.2-1/bin/qemu-dm'
>> builder = 'hvm'
>>
>> # VM/domain name
>> name = 'freebsd'
>>
>> # Memory and CPU settings
>> vcpus = '2'
>> memory = '1024'
>>
>> # Disk settings
>> disk = [ 'file:/home/test/domains/freebsd/disk.img,hda,w',
>> 'file:/home/alex/6.4-RELEASE-amd64-bootonly.iso,hdc:cdrom,r' ]
>> boot = 'c'
>>
>> # Network settings
>> hostname = 'freebsd'
>> vif = [ '' ]
>> #dhcp = '1'
>>
>> # Graphics settings
>> #sdl = '0'
>> vnc = '1'
>> #vncviewer = '1'
>>
>> # Other settings
>> #pae = '0' # Whether to enable PAE for 32-bit VMs
>> #acpi = '0' # Whether to enable ACPI for guests
>> localtime = '1' # Whether system clock is set to local
>> #time or UTC
>>
>> # Start/stop settings
>> > >> > >> > >>
>>
>>
>> --
>> С уважением, Alex.
>> alex.faq8@xxxxxxxxx
>>
>>
>
>
>
> --
> С уважением, Alex.
> alex.faq8@xxxxxxxxx
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



--
Sergey Smirnov
Moscow, Russia GMT+3
cell phone: +7 919 104 8963
email/xmpp: Sergey.A.Smirnov@xxxxxxxxx



--
С уважением, Alex.
alex.faq8@xxxxxxxxx


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>