Hi all. I have xen running, and am now trying to get my first HVM up and running. Here is my config file: ####################################################################### kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1536 name = "w2k3-001" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk= [ ''phy:/dev/xenimages/lvol0,hda,w'' , ''file:/var/images/win.iso,hdc:cdrom,r'' ] device_model = ''/usr/lib/xen/bin/qemu-dm'' boot="d" sdl=0 vnc=1 apic=0 acpi=0 pae=1 vcpus=1 on_crash = ''restart'' on_reboot = ''restart'' ####################################################################### When I run xm create -f win.hvm, the output is: Using config file "./win.hvm". Started domain w2k3-001 But I never get a new window with my new domain in it. Any help? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Artur Linhart - Linux communication
2007-Jul-11 14:54 UTC
RE: [Xen-users] Starting my first HVM
I think, You should have sdl=1 If You want to see the locally opened window (like in x-windows) - machine with Your configuration would be accessible only via vnc client because you have only vnc=1 with regards, Archie _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of John Morris Sent: Wednesday, July 11, 2007 3:41 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Starting my first HVM Hi all. I have xen running, and am now trying to get my first HVM up and running. Here is my config file: ####################################################################### kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1536 name = "w2k3-001" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk= [ ''phy:/dev/xenimages/lvol0,hda,w'' , ''file:/var/images/win.iso,hdc:cdrom,r'' ] device_model = ''/usr/lib/xen/bin/qemu-dm'' boot="d" sdl=0 vnc=1 apic=0 acpi=0 pae=1 vcpus=1 on_crash = ''restart'' on_reboot = ''restart'' ####################################################################### When I run xm create -f win.hvm, the output is: Using config file "./win.hvm". Started domain w2k3-001 But I never get a new window with my new domain in it. Any help? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Excellent, that did the trick. Now, though, I''m running into another problem. When I start the network bridge I receive the error, "Either dev is duplicate or "0" is a garbage., and I can''t get out past my local IP address. Any ideas on that? On 7/11/07, Artur Linhart - Linux communication <AL.LINUX@bcpraha.com> wrote:> > I think, You should have > > sdl=1 > > If You want to see the locally opened window (like in x-windows) – machine > with Your configuration would be accessible only via vnc client because you > have only > > vnc=1 > > > > with regards, Archie > > > ------------------------------ > > *From:* xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *John Morris > *Sent:* Wednesday, July 11, 2007 3:41 PM > *To:* xen-users@lists.xensource.com > *Subject:* [Xen-users] Starting my first HVM > > > > Hi all. > > I have xen running, and am now trying to get my first HVM up and running. > Here is my config file: > > ####################################################################### > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 1536 > > name = "w2k3-001" > > vif = [ ''type=ioemu, bridge=xenbr0'' ] > > disk= [ ''phy:/dev/xenimages/lvol0,hda,w'' , > ''file:/var/images/win.iso,hdc:cdrom,r'' ] > > device_model = ''/usr/lib/xen/bin/qemu-dm'' > > boot="d" > > sdl=0 > vnc=1 > > apic=0 > acpi=0 > pae=1 > vcpus=1 > on_crash = ''restart'' > on_reboot = ''restart'' > ####################################################################### > > When I run xm create -f win.hvm, the output is: > > Using config file "./win.hvm". > Started domain w2k3-001 > > But I never get a new window with my new domain in it. > > Any help? > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Artur Linhart - Linux communication
2007-Jul-11 15:09 UTC
RE: [Xen-users] Starting my first HVM
Hello, I''ve never seen before. If You run Ifconfig Do You see the bridge xenbr0? What happens in the opened window of the virtual machine? What kind of Linux do You use? Regards, Archie _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of John Morris Sent: Wednesday, July 11, 2007 4:57 PM To: Artur Linhart - Linux communication Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Starting my first HVM Excellent, that did the trick. Now, though, I''m running into another problem. When I start the network bridge I receive the error, "Either dev is duplicate or "0" is a garbage., and I can''t get out past my local IP address. Any ideas on that? On 7/11/07, Artur Linhart - Linux communication <AL.LINUX@bcpraha.com> wrote: I think, You should have sdl=1 If You want to see the locally opened window (like in x-windows) - machine with Your configuration would be accessible only via vnc client because you have only vnc=1 with regards, Archie _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of John Morris Sent: Wednesday, July 11, 2007 3:41 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Starting my first HVM Hi all. I have xen running, and am now trying to get my first HVM up and running. Here is my config file: ####################################################################### kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1536 name = "w2k3-001" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk= [ ''phy:/dev/xenimages/lvol0,hda,w'' , ''file:/var/images/win.iso,hdc:cdrom,r'' ] device_model = ''/usr/lib/xen/bin/qemu-dm'' boot="d" sdl=0 vnc=1 apic=0 acpi=0 pae=1 vcpus=1 on_crash = ''restart'' on_reboot = ''restart'' ####################################################################### When I run xm create -f win.hvm, the output is: Using config file "./win.hvm". Started domain w2k3-001 But I never get a new window with my new domain in it. Any help? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Artur Linhart - Linux communication
2007-Jul-12 07:34 UTC
RE: [Xen-users] Starting my first HVM
Hm, by me I see also the corresponding xenbr device... But I did not created it explicitely, it has been created automatically after I started xend and xendomains (this should be put into the startup and shutdown sections). Did You run the statements update-rc.d xend defaults 20 21 and update-rc.d xendomains defaults 21 20 after the xen boot has been performed to get the xend and xendomains service into the rc.X directories for the automatic startup and shutdown? For me if I did it and rebooted again it was enough to get created the xenbrX in the runing Dom0 system (then also visible in the output of the ifconfig command) With regards, Archie _____ From: John Morris [mailto:frankenbean@gmail.com] Sent: Wednesday, July 11, 2007 5:17 PM To: Artur Linhart - Linux communication Subject: Re: [Xen-users] Starting my first HVM Yep, I see eth0 and peth0. They have different IP addresses though. The virtual machine is still installing. I''m running Debian Etch. On 7/11/07, Artur Linhart - Linux communication <AL.LINUX@bcpraha.com> wrote: Hello, I''ve never seen before. If You run Ifconfig Do You see the bridge xenbr0? What happens in the opened window of the virtual machine? What kind of Linux do You use? Regards, Archie _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of John Morris Sent: Wednesday, July 11, 2007 4:57 PM To: Artur Linhart - Linux communication Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Starting my first HVM Excellent, that did the trick. Now, though, I''m running into another problem. When I start the network bridge I receive the error, "Either dev is duplicate or "0" is a garbage., and I can''t get out past my local IP address. Any ideas on that? On 7/11/07, Artur Linhart - Linux communication <AL.LINUX@bcpraha.com> wrote: I think, You should have sdl=1 If You want to see the locally opened window (like in x-windows) - machine with Your configuration would be accessible only via vnc client because you have only vnc=1 with regards, Archie _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of John Morris Sent: Wednesday, July 11, 2007 3:41 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Starting my first HVM Hi all. I have xen running, and am now trying to get my first HVM up and running. Here is my config file: ####################################################################### kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1536 name = "w2k3-001" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk= [ ''phy:/dev/xenimages/lvol0,hda,w'' , ''file:/var/images/win.iso,hdc:cdrom,r'' ] device_model = ''/usr/lib/xen/bin/qemu-dm'' boot="d" sdl=0 vnc=1 apic=0 acpi=0 pae=1 vcpus=1 on_crash = ''restart'' on_reboot = ''restart'' ####################################################################### When I run xm create -f win.hvm, the output is: Using config file "./win.hvm". Started domain w2k3-001 But I never get a new window with my new domain in it. Any help? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I recently went through installing OpenBSD as an HVM guest and ran into a lot of wierd snags, mostly having to do with the fact that QEMU is doing all the IO stuff. You can see my notes here: http://www.seattlecentral.edu/cgi-bin/cgiwrap/dmartin/moin.cgi/Xen#head-a53ebf22c9f622a01bd50c89e977a5589ab31b88 er.. here.. http://tinyurl.com/3dsg9l -Dylan> Hm, by me I see also the corresponding xenbr device... But I did not > created it explicitely, it has been created automatically after I started > xend and xendomains (this should be put into the startup and shutdown > sections). Did You run the statements > > > > update-rc.d xend defaults 20 21 > and > update-rc.d xendomains defaults 21 20 > > > > after the xen boot has been performed to get the xend and xendomains > service into the rc.X directories for the automatic startup and shutdown? > > For me if I did it and rebooted again it was enough to get created the > xenbrX in the runing Dom0 system (then also visible in the output of the > ifconfig command) > > > > With regards, Archie > > > > -------------------------------------------------------------------------- > > From: John Morris [mailto:frankenbean@gmail.com] > Sent: Wednesday, July 11, 2007 5:17 PM > To: Artur Linhart - Linux communication > Subject: Re: [Xen-users] Starting my first HVM > > > > Yep, I see eth0 and peth0. They have different IP addresses though. > > The virtual machine is still installing. > > I''m running Debian Etch. > > On 7/11/07, Artur Linhart - Linux communication <[1]AL.LINUX@bcpraha.com> > wrote: > > Hello, > > > > I''ve never seen before. If You run > > Ifconfig > > Do You see the bridge xenbr0? What happens in the opened > window of the virtual machine? What kind of Linux do You use? > > > > Regards, Archie > > > > -------------------------------------------------------------------------- > > From: [2]xen-users-bounces@lists.xensource.com > [mailto:[3]xen-users-bounces@lists.xensource.com] On Behalf Of John Morris > Sent: Wednesday, July 11, 2007 4:57 PM > To: Artur Linhart - Linux communication > Cc: [4]xen-users@lists.xensource.com > Subject: Re: [Xen-users] Starting my first HVM > > > > Excellent, that did the trick. > > Now, though, I''m running into another problem. When I start the network > bridge I receive the error, "Either dev is duplicate or "0" is a garbage., > and I can''t get out past my local IP address. Any ideas on that? > > On 7/11/07, Artur Linhart - Linux communication <[5]AL.LINUX@bcpraha.com> > wrote: > > I think, You should have > > sdl=1 > > If You want to see the locally opened window (like in x-windows) - machine > with Your configuration would be accessible only via vnc client because > you have only > > vnc=1 > > > > with regards, Archie > > > > -------------------------------------------------------------------------- > > From: [6]xen-users-bounces@lists.xensource.com > [mailto:[7]xen-users-bounces@lists.xensource.com] On Behalf Of John Morris > Sent: Wednesday, July 11, 2007 3:41 PM > To: [8]xen-users@lists.xensource.com > Subject: [Xen-users] Starting my first HVM > > > > Hi all. > > I have xen running, and am now trying to get my first HVM up and running. > Here is my config file: > > ####################################################################### > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 1536 > > name = "w2k3-001" > > vif = [ ''type=ioemu, bridge=xenbr0'' ] > > disk= [ ''phy:/dev/xenimages/lvol0,hda,w'' , > ''file:/var/images/win.iso,hdc:cdrom,r'' ] > > device_model = ''/usr/lib/xen/bin/qemu-dm'' > > boot="d" > > sdl=0 > vnc=1 > > apic=0 > acpi=0 > pae=1 > vcpus=1 > on_crash = ''restart'' > on_reboot = ''restart'' > ####################################################################### > > When I run xm create -f win.hvm, the output is: > > Using config file "./win.hvm". > Started domain w2k3-001 > > But I never get a new window with my new domain in it. > > Any help? > > > > > > References > > Visible links > 1. mailto:AL.LINUX@bcpraha.com > 2. mailto:xen-users-bounces@lists.xensource.com > 3. mailto:xen-users-bounces@lists.xensource.com > 4. mailto:xen-users@lists.xensource.com > 5. mailto:AL.LINUX@bcpraha.com > 6. mailto:xen-users-bounces@lists.xensource.com > 7. mailto:xen-users-bounces@lists.xensource.com > 8. mailto:xen-users@lists.xensource.com> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users