Hi It''s my first experience with xen I would like to use a OS linux create by buildroot like a guest. I have a PC whit virtualizatin whit debian distribution and I install xen-linux-sysem on the PC. In this PC a VM doesn''t work correctly. I would like to know if exist a simple tutorial to configure PC and VM . Thanks in advance Luisa _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello Luisa, here http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware is a list IOMMU supporting hardware, this is a good point to start. IOMMU is not necessary for virtualization, but hardware listed here supports VM. Jan Dne 24.4.2013 09:43, Luisa Posani napsal(a):> Hi > > It''s my first experience with xen > > I would like to use a OS linux create by buildroot like a guest. > I have a PC whit virtualizatin whit debian distribution and I install > xen-linux-sysem on the PC. > > In this PC a VM doesn''t work correctly. > > I would like to know if exist a simple tutorial to configure PC and VM . > > Thanks in advance > > > Luisa > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Thank''s for your indication.
I can''t find my cpu in your list.
In my PC I can enable the virtualization from BIOS.
I don''t understand the difference.
Can you help me please?
Luisa
--- Mer 24/4/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: xen-users@lists.xen.org
Data: Mercoledì 24 Aprile 2013, 10:35
Hello Luisa,
here http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list IOMMU supporting hardware, this is a good point to start.
IOMMU is not necessary for virtualization, but hardware listed here
supports VM.
Jan
Dne 24.4.2013 09:43, Luisa Posani
napsal(a):
Hi
It''s my first
experience with xen
I would like to use a OS linux create by
buildroot like a guest.
I have a PC whit virtualizatin whit debian
distribution and I install xen-linux-sysem on the
PC.
In this PC a VM doesn''t work correctly.
I would like to know if exist a simple tutorial to
configure PC and VM .
Thanks in
advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Sure, I can. You should check your cpuinfo if it supports virtualization. Look here http://virt-tools.org/learning/check-hardware-virt/ If it does, tell me what is your goal and what have you done already? Dne 24.4.2013 16:03, Luisa Posani napsal(a):> Thank''s for your indication. > > I can''t find my cpu in your list. > > In my PC I can enable the virtualization from BIOS. > > I don''t understand the difference. > > Can you help me please? > > > Luisa > > --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: > > > Da: Jan Hejl <jh@excello.cz> > Oggetto: Re: [Xen-users] Hardware virtualization > A: xen-users@lists.xen.org > Data: Mercoledì 24 Aprile 2013, 10:35 > > Hello Luisa, > > here > http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware is > a list IOMMU supporting hardware, this is a good point to start. > IOMMU is not necessary for virtualization, but hardware listed > here supports VM. > > Jan > > Dne 24.4.2013 09:43, Luisa Posani napsal(a): >> Hi >> >> It''s my first experience with xen >> >> I would like to use a OS linux create by buildroot like a guest. >> I have a PC whit virtualizatin whit debian distribution and I >> install xen-linux-sysem on the PC. >> >> In this PC a VM doesn''t work correctly. >> >> I would like to know if exist a simple tutorial to configure PC >> and VM . >> >> Thanks in advance >> >> >> Luisa >> >> >> >> >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org </mc/compose?to=Xen-users@lists.xen.org> >> http://lists.xen.org/xen-users > > > -----Segue allegato----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org </mc/compose?to=Xen-users@lists.xen.org> > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi
if I make
/proc/cpuinfo flags
without xen I found vmx.
when I start PC with xen flag vmx doesn''t appare.
Why?
I would like use a guest OS make with buildroot "standard" without xen
driver.
I use http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn''t work correctly.
Doesn''t work gvncviewer for using a window XP iso image and now
I''m compiling a buildroot standard (qemu_x86 config).
Luisa
--- Mer 24/4/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Mercoledì 24 Aprile 2013, 17:08
Sure, I can.
You should check your cpuinfo if it supports virtualization. Look
here http://virt-tools.org/learning/check-hardware-virt/
If it does, tell me what is your goal and what have you done
already?
Dne 24.4.2013 16:03, Luisa Posani napsal(a):
Thank''s for your
indication.
I can''t find my cpu in your list.
In my PC I can enable the virtualization from BIOS.
I don''t understand the difference.
Can you help me please?
Luisa
--- Mer 24/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: xen-users@lists.xen.org
Data: Mercoledì 24 Aprile 2013, 10:35
Hello Luisa,
here
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list IOMMU supporting hardware, this is a good
point to start. IOMMU is not necessary for
virtualization, but hardware listed here supports
VM.
Jan
Dne
24.4.2013 09:43, Luisa Posani napsal(a):
Hi
It''s my
first experience
with
xen
I would like to use a OS
linux create by buildroot like a
guest.
I have a PC whit virtualizatin whit
debian distribution and I install
xen-linux-sysem on the PC.
In this PC a VM doesn''t work
correctly.
I would like to know if exist a
simple tutorial to configure PC and
VM .
Thanks
in advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Hi Luisa, great, so you''re cpu is capable for running Xen. The reason why you don''t see it is explained here http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html. Just to be clear. You''ve already start your system with xen and tried to start Windows Xp domU as this guide describes, do you? And the problem is that you can''t connect to your Windows XP domU with GNCVIEWER or something else? Is your domU running? What does the "xl start" command say? Thank you and have a nice day Jan Dne 24.4.2013 17:54, Luisa Posani napsal(a):> > Hi > > if I make > > /proc/cpuinfo flags > > without xen I found vmx. > > when I start PC with xen flag vmx doesn''t appare. > > Why? > > I would like use a guest OS make with buildroot "standard" without xen > driver. > > I use > http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen > but doesn''t work correctly. > > Doesn''t work gvncviewer for using a window XP iso image and now I''m > compiling a buildroot standard (qemu_x86 config). > > > > Luisa > > > > > > > > --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: > > > Da: Jan Hejl <jh@excello.cz> > Oggetto: Re: [Xen-users] Hardware virtualization > A: "Luisa Posani" <lposani@yahoo.it> > Cc: xen-users@lists.xen.org > Data: Mercoledì 24 Aprile 2013, 17:08 > > Sure, I can. > > You should check your cpuinfo if it supports virtualization. Look > here http://virt-tools.org/learning/check-hardware-virt/ > > If it does, tell me what is your goal and what have you done already? > > Dne 24.4.2013 16:03, Luisa Posani napsal(a): >> Thank''s for your indication. >> >> I can''t find my cpu in your list. >> >> In my PC I can enable the virtualization from BIOS. >> >> I don''t understand the difference. >> >> Can you help me please? >> >> >> Luisa >> >> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz> >> </mc/compose?to=jh@excello.cz>/* ha scritto: >> >> >> Da: Jan Hejl <jh@excello.cz> </mc/compose?to=jh@excello.cz> >> Oggetto: Re: [Xen-users] Hardware virtualization >> A: xen-users@lists.xen.org >> </mc/compose?to=xen-users@lists.xen.org> >> Data: Mercoledì 24 Aprile 2013, 10:35 >> >> Hello Luisa, >> >> here >> http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware is >> a list IOMMU supporting hardware, this is a good point to >> start. IOMMU is not necessary for virtualization, but >> hardware listed here supports VM. >> >> Jan >> >> Dne 24.4.2013 09:43, Luisa Posani napsal(a): >>> Hi >>> >>> It''s my first experience with xen >>> >>> I would like to use a OS linux create by buildroot like a guest. >>> I have a PC whit virtualizatin whit debian distribution and >>> I install xen-linux-sysem on the PC. >>> >>> In this PC a VM doesn''t work correctly. >>> >>> I would like to know if exist a simple tutorial to configure >>> PC and VM . >>> >>> Thanks in advance >>> >>> >>> Luisa >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> >> -----Segue allegato----- >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > > > -----Segue allegato----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org </mc/compose?to=Xen-users@lists.xen.org> > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi Jan
I launch my windows VM whit graphical program named "Remmina Remote desktop
client" and it work well..
:-) :-) :-) :-)
Maybe I was wrong a few parameters to launch manual gncviewer
Let me explain what is my main problem.
I would like to start a virtual machine created with buildroot standard WHITOUT
XEN drivers in the VM.
I have some problems creating the configuration file for this virtual machine.
I don''t know if I have to work with a ramdisk (rootfs.cpio created by
buildroot) or not and
what should be the configuration file under (p.e.) /etc/xen/VM_buildroot.
I don''t understand the meaning of the ''disk ='' in the
configuration file.
you know a tutorial that I could follow to create this file?
Xen provides the xen-create-image command to create the file, but I do not know
how to give parameters to the command (initrd install-install-source method ...)
Can you help me?
Thanks in advance.
Luisa
--- Gio 25/4/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Giovedì 25 Aprile 2013, 11:19
Hi Luisa,
great, so you''re cpu is capable for running Xen. The reason why you
don''t see it is explained here
http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
Just to be clear. You''ve already start your system with xen and
tried to start Windows Xp domU as this guide describes, do you? And
the problem is that you can''t connect to your Windows XP domU with
GNCVIEWER or something else? Is your domU running? What does the "xl
start" command say?
Thank you and have a nice day
Jan
Dne 24.4.2013 17:54, Luisa Posani
napsal(a):
Hi
if I make
/proc/cpuinfo flags
without xen I found vmx.
when I start PC with xen flag vmx doesn''t appare.
Why?
I would like use a guest OS make with buildroot
"standard"
without xen driver.
I use
http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn''t work correctly.
Doesn''t work gvncviewer for using a window XP iso image
and now I''m compiling a buildroot standard (qemu_x86
config).
Luisa
--- Mer 24/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Mercoledì 24 Aprile 2013, 17:08
Sure, I
can.
You should check your cpuinfo if it supports
virtualization. Look here
http://virt-tools.org/learning/check-hardware-virt/
If it does, tell me what is your goal and what
have you done already?
Dne 24.4.2013 16:03, Luisa Posani napsal(a):
Thank''s
for your indication.
I can''t find my cpu in your list.
In my PC I can enable the virtualization
from BIOS.
I don''t understand the difference.
Can you help me please?
Luisa
--- Mer 24/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware
virtualization
A: xen-users@lists.xen.org
Data: Mercoledì 24 Aprile 2013, 10:35
Hello Luisa,
here
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list IOMMU supporting hardware,
this is a good point to start. IOMMU
is not necessary for virtualization,
but hardware listed here supports
VM.
Jan
Dne
24.4.2013 09:43, Luisa Posani
napsal(a):
Hi
It''s
my first experience with
xen
I would like to
use
a OS linux create by
buildroot like a
guest.
I have a PC whit
virtualizatin whit
debian distribution
and I install
xen-linux-sysem on
the PC.
In this PC a VM
doesn''t work
correctly.
I would like to know
if exist a simple
tutorial to
configure PC and VM
.
Thanks in advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Hi Luisa, great news, i use Remmina also. Great tool. ''disk = '' is used for defining VM''s hard drive. I''m not familiar with buildroot but as I read about CPIO it''s file archiver and Xen disk image should be in RAW format. So you should extract rootfs.cpio to raw disk image which could be created with dd. Example: dd if=/dev/zero of=rootfs.img bs=1M count=10000 As with normal hard drive you can use fdisk make some partitions on rootfs.img, format them and extract rootfs.cpio there. Then you can set this harddrive img in your xen config file for HVM style (hda but it should apper as sda inside domU): disk = [ ''file:/path/to/rootfs.img,hda,w'' ] Or you can pass the path to rootfs.img to xen-create-image. If rootfs.cpio contains all files including kernel image it should boot normally. As I wrote I''m not familiar with buildroot thus you''re little bit on your own in this case and i''m sorry for not being more straightforward but you''re using specific scenario. Maybe I''ll save some time for testing this and let you know later on. Have a nice day Jan Dne 6.5.2013 12:38, Luisa Posani napsal(a):> Hi Jan > > I launch my windows VM whit graphical program named "Remmina Remote > desktop client" and it work well.. > > :-) :-) :-) :-) > > Maybe I was wrong a few parameters to launch manual gncviewer > > Let me explain what is my main problem. > I would like to start a virtual machine created with buildroot > standard WHITOUT XEN driversin the VM. > I have some problems creating the configuration file for this virtual > machine. > I don''t know if I have to work with a ramdisk (rootfs.cpio created by > buildroot) or not and > what should be the configuration file under (p.e.) /etc/xen/VM_buildroot. > > I don''t understand the meaning of the ''disk ='' in the configuration file. > > you know a tutorial that I could follow to create this file? > > Xen provides the xen-create-image command to create the file, but I do > not know how to give parameters to the command (initrd > install-install-source method ...) > > Can you help me? > > Thanks in advance. > > Luisa > > > > > --- *Gio 25/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: > > > Da: Jan Hejl <jh@excello.cz> > Oggetto: Re: [Xen-users] Hardware virtualization > A: "Luisa Posani" <lposani@yahoo.it> > Cc: xen-users@lists.xen.org > Data: Giovedì 25 Aprile 2013, 11:19 > > Hi Luisa, > > great, so you''re cpu is capable for running Xen. The reason why > you don''t see it is explained here > http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html. > > > Just to be clear. You''ve already start your system with xen and > tried to start Windows Xp domU as this guide describes, do you? > And the problem is that you can''t connect to your Windows XP domU > with GNCVIEWER or something else? Is your domU running? What does > the "xl start" command say? > > Thank you and have a nice day > Jan > > Dne 24.4.2013 17:54, Luisa Posani napsal(a): >> >> Hi >> >> if I make >> >> /proc/cpuinfo flags >> >> without xen I found vmx. >> >> when I start PC with xen flag vmx doesn''t appare. >> >> Why? >> >> I would like use a guest OS make with buildroot "standard" >> without xen driver. >> >> I use >> http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen >> >> but doesn''t work correctly. >> >> Doesn''t work gvncviewer for using a window XP iso image and now >> I''m compiling a buildroot standard (qemu_x86 config). >> >> >> >> Luisa >> >> >> >> >> >> >> >> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz> >> </mc/compose?to=jh@excello.cz>/* ha scritto: >> >> >> Da: Jan Hejl <jh@excello.cz> </mc/compose?to=jh@excello.cz> >> Oggetto: Re: [Xen-users] Hardware virtualization >> A: "Luisa Posani" <lposani@yahoo.it> >> </mc/compose?to=lposani@yahoo.it> >> Cc: xen-users@lists.xen.org >> </mc/compose?to=xen-users@lists.xen.org> >> Data: Mercoledì 24 Aprile 2013, 17:08 >> >> Sure, I can. >> >> You should check your cpuinfo if it supports virtualization. >> Look here http://virt-tools.org/learning/check-hardware-virt/ >> >> If it does, tell me what is your goal and what have you done >> already? >> >> Dne 24.4.2013 16:03, Luisa Posani napsal(a): >>> Thank''s for your indication. >>> >>> I can''t find my cpu in your list. >>> >>> In my PC I can enable the virtualization from BIOS. >>> >>> I don''t understand the difference. >>> >>> Can you help me please? >>> >>> >>> Luisa >>> >>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>> >>> >>> Da: Jan Hejl <jh@excello.cz> >>> Oggetto: Re: [Xen-users] Hardware virtualization >>> A: xen-users@lists.xen.org >>> Data: Mercoledì 24 Aprile 2013, 10:35 >>> >>> Hello Luisa, >>> >>> here >>> http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware >>> is a list IOMMU supporting hardware, this is a good >>> point to start. IOMMU is not necessary for >>> virtualization, but hardware listed here supports VM. >>> >>> Jan >>> >>> Dne 24.4.2013 09:43, Luisa Posani napsal(a): >>>> Hi >>>> >>>> It''s my first experience with xen >>>> >>>> I would like to use a OS linux create by buildroot like >>>> a guest. >>>> I have a PC whit virtualizatin whit debian distribution >>>> and I install xen-linux-sysem on the PC. >>>> >>>> In this PC a VM doesn''t work correctly. >>>> >>>> I would like to know if exist a simple tutorial to >>>> configure PC and VM . >>>> >>>> Thanks in advance >>>> >>>> >>>> Luisa >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>> >>> >>> -----Segue allegato----- >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >>> >> >> >> -----Segue allegato----- >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Can you suggest me the simplest way to create a VM linux from scratch using
kernel code source?
tks
Luisa
--- Lun 6/5/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 13:11
Hi Luisa,
great news, i use Remmina also. Great tool.
''disk = '' is used for defining VM''s hard drive.
I''m not familiar
with buildroot but as I read about CPIO it''s file archiver and Xen
disk image should be in RAW format. So you should extract
rootfs.cpio to raw disk image which could be created with dd.
Example:
dd if=/dev/zero of=rootfs.img bs=1M count=10000
As with normal hard drive you can use fdisk make some partitions on
rootfs.img, format them and extract rootfs.cpio there. Then you can
set this harddrive img in your xen config file for HVM style (hda
but it should apper as sda inside domU):
disk = [ ''file:/path/to/rootfs.img,hda,w'' ]
Or you can pass the path to rootfs.img to xen-create-image. If
rootfs.cpio contains all files including kernel image it should boot
normally. As I wrote I''m not familiar with buildroot thus
you''re
little bit on your own in this case and i''m sorry for not being
more
straightforward but you''re using specific scenario. Maybe
I''ll save
some time for testing this and let you know later on.
Have a nice day
Jan
Dne 6.5.2013 12:38, Luisa Posani
napsal(a):
Hi Jan
I launch my windows VM whit graphical program named
"Remmina Remote desktop client" and it work well..
:-) :-) :-) :-)
Maybe
I was wrong a few parameters to launch manual
gncviewer
Let
me explain what is my
main problem.
I would like to start a virtual machine created with
buildroot standard
WHITOUT XEN drivers in the VM.
I have some problems
creating the configuration
file for this virtual machine.
I don''t know if
I have to work with a
ramdisk
(rootfs.cpio
created by
buildroot) or not and
what should be the
configuration file under
(p.e.) /etc/xen/VM_buildroot.
I
don''t understand the meaning
of the ''disk ='' in the configuration file.
you know a
tutorial that I could
follow to create this file?
Xen provides the
xen-create-image command
to create the file, but I do
not know how to give
parameters to the command (initrd install-install-source method
...)
Can
you help me?
Thanks in advance.
Luisa
--- Gio 25/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Giovedì 25 Aprile 2013, 11:19
Hi Luisa,
great, so you''re cpu is capable for running Xen.
The
reason why you don''t see it is explained here
http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
Just to be clear. You''ve already start your system
with xen and tried to start Windows Xp domU as this
guide describes, do you? And the problem is that you
can''t connect to your Windows XP domU with
GNCVIEWER
or something else? Is your domU running? What does
the "xl start" command say?
Thank you and have a nice day
Jan
Dne
24.4.2013 17:54, Luisa Posani napsal(a):
Hi
if I make
/proc/cpuinfo flags
without xen I found vmx.
when I start PC with xen flag vmx doesn''t
appare.
Why?
I would like use a guest OS make with
buildroot "standard" without xen driver.
I use
http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn''t work correctly.
Doesn''t work gvncviewer for using a
window
XP iso image and now I''m compiling a
buildroot standard (qemu_x86 config).
Luisa
--- Mer 24/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware
virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Mercoledì 24 Aprile 2013, 17:08
Sure,
I can.
You should check your cpuinfo if
it supports virtualization. Look
here
http://virt-tools.org/learning/check-hardware-virt/
If it does, tell me what is your
goal and what have you done
already?
Dne 24.4.2013 16:03, Luisa Posani
napsal(a):
Thank''s for
your indication.
I can''t find my cpu in
your list.
In my PC I can enable the
virtualization from BIOS.
I don''t understand the
difference.
Can you help me please?
Luisa
--- Mer 24/4/13, Jan
Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re: [Xen-users]
Hardware virtualization
A: xen-users@lists.xen.org
Data: Mercoledì 24
Aprile 2013, 10:35
Hello Luisa,
here
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list IOMMU
supporting hardware,
this is a good point
to start. IOMMU is
not necessary for
virtualization, but
hardware listed here
supports VM.
Jan
Dne
24.4.2013 09:43,
Luisa Posani
napsal(a):
Hi
It''s my
first experience with
xen
I would like
to use a OS linux
create by buildroot like a guest.
I have a PC
whit
virtualizatin
whit debian
distribution
and I install
xen-linux-sysem
on the PC.
In this PC a
VM doesn''t
work
correctly.
I would like
to know if
exist a simple
tutorial to
configure PC
and VM .
Thanks in advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
I Jan.
I try to use a old rootfs.img taht work well with qemu.
The configuration file contains:
kernel = "/usr/lib/xen-4.0/boot/hvmloader"
builder=''hvm''
memory = 1024
vcpus=2
vif = [''bridge=xenbr0'']
disk = [''file:/home/posani/nine_disk_1.img,hda,w'',]
acpi = 1
device_model = ''qemu-dm''
boot="d"
sdl=0
serial=''pty''
vnc=1
vnclisten=""
vncpasswd=""
name="stefano"
but I have the error:
xm create /etc/xen/prova -c
Using config file "/etc/xen/prova".
Error: I need 1062912 KiB, but dom0_min_mem is 200704 and shrinking to 200704
KiB would leave only 793340 KiB free.
Where is the problem?
Help me....
Luisa
--- Lun 6/5/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 13:11
Hi Luisa,
great news, i use Remmina also. Great tool.
''disk = '' is used for defining VM''s hard drive.
I''m not familiar
with buildroot but as I read about CPIO it''s file archiver and Xen
disk image should be in RAW format. So you should extract
rootfs.cpio to raw disk image which could be created with dd.
Example:
dd if=/dev/zero of=rootfs.img bs=1M count=10000
As with normal hard drive you can use fdisk make some partitions on
rootfs.img, format them and extract rootfs.cpio there. Then you can
set this harddrive img in your xen config file for HVM style (hda
but it should apper as sda inside domU):
disk = [ ''file:/path/to/rootfs.img,hda,w'' ]
Or you can pass the path to rootfs.img to xen-create-image. If
rootfs.cpio contains all files including kernel image it should boot
normally. As I wrote I''m not familiar with buildroot thus
you''re
little bit on your own in this case and i''m sorry for not being
more
straightforward but you''re using specific scenario. Maybe
I''ll save
some time for testing this and let you know later on.
Have a nice day
Jan
Dne 6.5.2013 12:38, Luisa Posani
napsal(a):
Hi Jan
I launch my windows VM whit graphical program named
"Remmina Remote desktop client" and it work well..
:-) :-) :-) :-)
Maybe
I was wrong a few parameters to launch manual
gncviewer
Let
me explain what is my
main problem.
I would like to start a virtual machine created with
buildroot standard
WHITOUT XEN drivers in the VM.
I have some problems
creating the configuration
file for this virtual machine.
I don''t know if
I have to work with a
ramdisk
(rootfs.cpio
created by
buildroot) or not and
what should be the
configuration file under
(p.e.) /etc/xen/VM_buildroot.
I
don''t understand the meaning
of the ''disk ='' in the configuration file.
you know a
tutorial that I could
follow to create this file?
Xen provides the
xen-create-image command
to create the file, but I do
not know how to give
parameters to the command (initrd install-install-source method
...)
Can
you help me?
Thanks in advance.
Luisa
--- Gio 25/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Giovedì 25 Aprile 2013, 11:19
Hi Luisa,
great, so you''re cpu is capable for running Xen.
The
reason why you don''t see it is explained here
http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
Just to be clear. You''ve already start your system
with xen and tried to start Windows Xp domU as this
guide describes, do you? And the problem is that you
can''t connect to your Windows XP domU with
GNCVIEWER
or something else? Is your domU running? What does
the "xl start" command say?
Thank you and have a nice day
Jan
Dne
24.4.2013 17:54, Luisa Posani napsal(a):
Hi
if I make
/proc/cpuinfo flags
without xen I found vmx.
when I start PC with xen flag vmx doesn''t
appare.
Why?
I would like use a guest OS make with
buildroot "standard" without xen driver.
I use
http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn''t work correctly.
Doesn''t work gvncviewer for using a
window
XP iso image and now I''m compiling a
buildroot standard (qemu_x86 config).
Luisa
--- Mer 24/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware
virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Mercoledì 24 Aprile 2013, 17:08
Sure,
I can.
You should check your cpuinfo if
it supports virtualization. Look
here
http://virt-tools.org/learning/check-hardware-virt/
If it does, tell me what is your
goal and what have you done
already?
Dne 24.4.2013 16:03, Luisa Posani
napsal(a):
Thank''s for
your indication.
I can''t find my cpu in
your list.
In my PC I can enable the
virtualization from BIOS.
I don''t understand the
difference.
Can you help me please?
Luisa
--- Mer 24/4/13, Jan
Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re: [Xen-users]
Hardware virtualization
A: xen-users@lists.xen.org
Data: Mercoledì 24
Aprile 2013, 10:35
Hello Luisa,
here
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list IOMMU
supporting hardware,
this is a good point
to start. IOMMU is
not necessary for
virtualization, but
hardware listed here
supports VM.
Jan
Dne
24.4.2013 09:43,
Luisa Posani
napsal(a):
Hi
It''s my
first experience with
xen
I would like
to use a OS linux
create by buildroot like a guest.
I have a PC
whit
virtualizatin
whit debian
distribution
and I install
xen-linux-sysem
on the PC.
In this PC a
VM doesn''t
work
correctly.
I would like
to know if
exist a simple
tutorial to
configure PC
and VM .
Thanks in advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Seems like you don''t have enough mem for your domU. How much memory do you have on your dom0 / xen host? Dne 6.5.2013 14:51, Luisa Posani napsal(a):> > > I Jan. > > I try to use a old rootfs.img taht work well with qemu. > > The configuration file contains: > > kernel = "/usr/lib/xen-4.0/boot/hvmloader" > builder=''hvm'' > memory = 1024 > vcpus=2 > vif = [''bridge=xenbr0''] > disk = [''file:/home/posani/nine_disk_1.img,hda,w'',] > acpi = 1 > device_model = ''qemu-dm'' > boot="d" > sdl=0 > serial=''pty'' > vnc=1 > vnclisten="" > vncpasswd="" > name="stefano" > > but I have the error: > > > xm create /etc/xen/prova -c > > Using config file "/etc/xen/prova". > Error: I need 1062912 KiB, but dom0_min_mem is 200704 and shrinking to > 200704 KiB would leave only 793340 KiB free. > > Where is the problem? > > Help me.... > > Luisa > > > > --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: > > > Da: Jan Hejl <jh@excello.cz> > Oggetto: Re: [Xen-users] Hardware virtualization > A: "Luisa Posani" <lposani@yahoo.it> > Cc: xen-users@lists.xen.org > Data: Lunedì 6 maggio 2013, 13:11 > > Hi Luisa, > > great news, i use Remmina also. Great tool. > > ''disk = '' is used for defining VM''s hard drive. I''m not familiar > with buildroot but as I read about CPIO it''s file archiver and Xen > disk image should be in RAW format. So you should extract > rootfs.cpio to raw disk image which could be created with dd. Example: > > dd if=/dev/zero of=rootfs.img bs=1M count=10000 > > As with normal hard drive you can use fdisk make some partitions > on rootfs.img, format them and extract rootfs.cpio there. Then you > can set this harddrive img in your xen config file for HVM style > (hda but it should apper as sda inside domU): > > disk = [ ''file:/path/to/rootfs.img,hda,w'' ] > > Or you can pass the path to rootfs.img to xen-create-image. If > rootfs.cpio contains all files including kernel image it should > boot normally. As I wrote I''m not familiar with buildroot thus > you''re little bit on your own in this case and i''m sorry for not > being more straightforward but you''re using specific scenario. > Maybe I''ll save some time for testing this and let you know later on. > > Have a nice day > Jan > > Dne 6.5.2013 12:38, Luisa Posani napsal(a): >> Hi Jan >> >> I launch my windows VM whit graphical program named "Remmina >> Remote desktop client" and it work well.. >> >> :-) :-) :-) :-) >> >> Maybe I was wrong a few parameters to launch manual gncviewer >> >> Let me explain what is my main problem. >> I would like to start a virtual machine created with buildroot >> standard WHITOUT XEN driversin the VM. >> I have some problems creating the configuration file for this >> virtual machine. >> I don''t know if I have to work with a ramdisk (rootfs.cpio >> created by buildroot) or not and >> what should be the configuration file under (p.e.) >> /etc/xen/VM_buildroot. >> >> I don''t understand the meaning of the ''disk ='' in the >> configuration file. >> >> you know a tutorial that I could follow to create this file? >> >> Xen provides the xen-create-image command to create the file, but >> I do not know how to give parameters to the command (initrd >> install-install-source method ...) >> >> Can you help me? >> >> Thanks in advance. >> >> Luisa >> >> >> >> >> --- *Gio 25/4/13, Jan Hejl /<jh@excello.cz> >> </mc/compose?to=jh@excello.cz>/* ha scritto: >> >> >> Da: Jan Hejl <jh@excello.cz> </mc/compose?to=jh@excello.cz> >> Oggetto: Re: [Xen-users] Hardware virtualization >> A: "Luisa Posani" <lposani@yahoo.it> >> </mc/compose?to=lposani@yahoo.it> >> Cc: xen-users@lists.xen.org >> </mc/compose?to=xen-users@lists.xen.org> >> Data: Giovedì 25 Aprile 2013, 11:19 >> >> Hi Luisa, >> >> great, so you''re cpu is capable for running Xen. The reason >> why you don''t see it is explained here >> http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html. >> >> >> Just to be clear. You''ve already start your system with xen >> and tried to start Windows Xp domU as this guide describes, >> do you? And the problem is that you can''t connect to your >> Windows XP domU with GNCVIEWER or something else? Is your >> domU running? What does the "xl start" command say? >> >> Thank you and have a nice day >> Jan >> >> Dne 24.4.2013 17:54, Luisa Posani napsal(a): >>> >>> Hi >>> >>> if I make >>> >>> /proc/cpuinfo flags >>> >>> without xen I found vmx. >>> >>> when I start PC with xen flag vmx doesn''t appare. >>> >>> Why? >>> >>> I would like use a guest OS make with buildroot "standard" >>> without xen driver. >>> >>> I use >>> http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen >>> >>> but doesn''t work correctly. >>> >>> Doesn''t work gvncviewer for using a window XP iso image and >>> now I''m compiling a buildroot standard (qemu_x86 config). >>> >>> >>> >>> Luisa >>> >>> >>> >>> >>> >>> >>> >>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>> >>> >>> Da: Jan Hejl <jh@excello.cz> >>> Oggetto: Re: [Xen-users] Hardware virtualization >>> A: "Luisa Posani" <lposani@yahoo.it> >>> Cc: xen-users@lists.xen.org >>> Data: Mercoledì 24 Aprile 2013, 17:08 >>> >>> Sure, I can. >>> >>> You should check your cpuinfo if it supports >>> virtualization. Look here >>> http://virt-tools.org/learning/check-hardware-virt/ >>> >>> If it does, tell me what is your goal and what have you >>> done already? >>> >>> Dne 24.4.2013 16:03, Luisa Posani napsal(a): >>>> Thank''s for your indication. >>>> >>>> I can''t find my cpu in your list. >>>> >>>> In my PC I can enable the virtualization from BIOS. >>>> >>>> I don''t understand the difference. >>>> >>>> Can you help me please? >>>> >>>> >>>> Luisa >>>> >>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>>> >>>> >>>> Da: Jan Hejl <jh@excello.cz> >>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>> A: xen-users@lists.xen.org >>>> Data: Mercoledì 24 Aprile 2013, 10:35 >>>> >>>> Hello Luisa, >>>> >>>> here >>>> http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware >>>> is a list IOMMU supporting hardware, this is a good >>>> point to start. IOMMU is not necessary for >>>> virtualization, but hardware listed here supports VM. >>>> >>>> Jan >>>> >>>> Dne 24.4.2013 09:43, Luisa Posani napsal(a): >>>>> Hi >>>>> >>>>> It''s my first experience with xen >>>>> >>>>> I would like to use a OS linux create by buildroot >>>>> like a guest. >>>>> I have a PC whit virtualizatin whit debian >>>>> distribution and I install xen-linux-sysem on the PC. >>>>> >>>>> In this PC a VM doesn''t work correctly. >>>>> >>>>> I would like to know if exist a simple tutorial to >>>>> configure PC and VM . >>>>> >>>>> Thanks in advance >>>>> >>>>> >>>>> Luisa >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xen.org >>>>> http://lists.xen.org/xen-users >>>> >>>> >>>> -----Segue allegato----- >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>>> >>> >>> >>> -----Segue allegato----- >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >>> >> > > > -----Segue allegato----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org </mc/compose?to=Xen-users@lists.xen.org> > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Create domU config file in /etc/xen/domu-01.cfg:
builder=''hvm''
memory = 2048
name = "DomU-01"
vcpus=2
vif = [ ''bridge=xenbr1, script=vif-bridge, type=ioemu, model=e1000,
mac=00:16:3e:63:80:88'' ]
disk = [ ''file:/root/domu-01.img,hda,w'',
''file:/root/install-amd64-minimal-20130425.iso,hdc:cdrom,r''
]
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
boot="dc"
vnc=1
vnclisten="127.0.0.1"
vncpasswd=''''
Download this
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20130425.iso
to your /root folder. Create hard drive image:
dd if=/dev/zero of=/root/domu-01.img bs=1M count=10000
Start your domU with:
xl create /etc/xen/domu-01.cfg
Then you should be able to connect with Remmina to localhosts VNC and
then you''ll see Gentoo Live CD booting. Here''s how to install
Gentoo
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml. Chapter 7
describes kernel compiling - custom config or genkernel.
When you''ll be done with Gentoo installation, you shold poweroff you
domU, change boot value to:
boot="cd"
And after:
xl create /etc/xen/domu-01.cfg
you should see your Gentoo booting up.
Hope this helps.
Jan
Dne 6.5.2013 14:41, Luisa Posani napsal(a):> Can you suggest me the simplest way to create a VM linux from scratch
> using kernel code source?
>
> tks
>
> Luisa
>
>
>
>
>
>
> --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto:
>
>
> Da: Jan Hejl <jh@excello.cz>
> Oggetto: Re: [Xen-users] Hardware virtualization
> A: "Luisa Posani" <lposani@yahoo.it>
> Cc: xen-users@lists.xen.org
> Data: Lunedì 6 maggio 2013, 13:11
>
> Hi Luisa,
>
> great news, i use Remmina also. Great tool.
>
> ''disk = '' is used for defining VM''s hard
drive. I''m not familiar
> with buildroot but as I read about CPIO it''s file archiver and
Xen
> disk image should be in RAW format. So you should extract
> rootfs.cpio to raw disk image which could be created with dd. Example:
>
> dd if=/dev/zero of=rootfs.img bs=1M count=10000
>
> As with normal hard drive you can use fdisk make some partitions
> on rootfs.img, format them and extract rootfs.cpio there. Then you
> can set this harddrive img in your xen config file for HVM style
> (hda but it should apper as sda inside domU):
>
> disk = [ ''file:/path/to/rootfs.img,hda,w'' ]
>
> Or you can pass the path to rootfs.img to xen-create-image. If
> rootfs.cpio contains all files including kernel image it should
> boot normally. As I wrote I''m not familiar with buildroot thus
> you''re little bit on your own in this case and i''m
sorry for not
> being more straightforward but you''re using specific scenario.
> Maybe I''ll save some time for testing this and let you know
later on.
>
> Have a nice day
> Jan
>
> Dne 6.5.2013 12:38, Luisa Posani napsal(a):
>> Hi Jan
>>
>> I launch my windows VM whit graphical program named "Remmina
>> Remote desktop client" and it work well..
>>
>> :-) :-) :-) :-)
>>
>> Maybe I was wrong a few parameters to launch manual gncviewer
>>
>> Let me explain what is my main problem.
>> I would like to start a virtual machine created with buildroot
>> standard WHITOUT XEN driversin the VM.
>> I have some problems creating the configuration file for this
>> virtual machine.
>> I don''t know if I have to work with a ramdisk (rootfs.cpio
>> created by buildroot) or not and
>> what should be the configuration file under (p.e.)
>> /etc/xen/VM_buildroot.
>>
>> I don''t understand the meaning of the ''disk
='' in the
>> configuration file.
>>
>> you know a tutorial that I could follow to create this file?
>>
>> Xen provides the xen-create-image command to create the file, but
>> I do not know how to give parameters to the command (initrd
>> install-install-source method ...)
>>
>> Can you help me?
>>
>> Thanks in advance.
>>
>> Luisa
>>
>>
>>
>>
>> --- *Gio 25/4/13, Jan Hejl /<jh@excello.cz>
>> </mc/compose?to=jh@excello.cz>/* ha scritto:
>>
>>
>> Da: Jan Hejl <jh@excello.cz>
</mc/compose?to=jh@excello.cz>
>> Oggetto: Re: [Xen-users] Hardware virtualization
>> A: "Luisa Posani" <lposani@yahoo.it>
>> </mc/compose?to=lposani@yahoo.it>
>> Cc: xen-users@lists.xen.org
>> </mc/compose?to=xen-users@lists.xen.org>
>> Data: Giovedì 25 Aprile 2013, 11:19
>>
>> Hi Luisa,
>>
>> great, so you''re cpu is capable for running Xen. The
reason
>> why you don''t see it is explained here
>>
http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
>>
>>
>> Just to be clear. You''ve already start your system
with xen
>> and tried to start Windows Xp domU as this guide describes,
>> do you? And the problem is that you can''t connect to
your
>> Windows XP domU with GNCVIEWER or something else? Is your
>> domU running? What does the "xl start" command say?
>>
>> Thank you and have a nice day
>> Jan
>>
>> Dne 24.4.2013 17:54, Luisa Posani napsal(a):
>>>
>>> Hi
>>>
>>> if I make
>>>
>>> /proc/cpuinfo flags
>>>
>>> without xen I found vmx.
>>>
>>> when I start PC with xen flag vmx doesn''t appare.
>>>
>>> Why?
>>>
>>> I would like use a guest OS make with buildroot
"standard"
>>> without xen driver.
>>>
>>> I use
>>>
http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
>>>
>>> but doesn''t work correctly.
>>>
>>> Doesn''t work gvncviewer for using a window XP iso
image and
>>> now I''m compiling a buildroot standard (qemu_x86
config).
>>>
>>>
>>>
>>> Luisa
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha
scritto:
>>>
>>>
>>> Da: Jan Hejl <jh@excello.cz>
>>> Oggetto: Re: [Xen-users] Hardware virtualization
>>> A: "Luisa Posani" <lposani@yahoo.it>
>>> Cc: xen-users@lists.xen.org
>>> Data: Mercoledì 24 Aprile 2013, 17:08
>>>
>>> Sure, I can.
>>>
>>> You should check your cpuinfo if it supports
>>> virtualization. Look here
>>> http://virt-tools.org/learning/check-hardware-virt/
>>>
>>> If it does, tell me what is your goal and what have you
>>> done already?
>>>
>>> Dne 24.4.2013 16:03, Luisa Posani napsal(a):
>>>> Thank''s for your indication.
>>>>
>>>> I can''t find my cpu in your list.
>>>>
>>>> In my PC I can enable the virtualization from BIOS.
>>>>
>>>> I don''t understand the difference.
>>>>
>>>> Can you help me please?
>>>>
>>>>
>>>> Luisa
>>>>
>>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/*
ha scritto:
>>>>
>>>>
>>>> Da: Jan Hejl <jh@excello.cz>
>>>> Oggetto: Re: [Xen-users] Hardware
virtualization
>>>> A: xen-users@lists.xen.org
>>>> Data: Mercoledì 24 Aprile 2013, 10:35
>>>>
>>>> Hello Luisa,
>>>>
>>>> here
>>>>
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
>>>> is a list IOMMU supporting hardware, this is a
good
>>>> point to start. IOMMU is not necessary for
>>>> virtualization, but hardware listed here
supports VM.
>>>>
>>>> Jan
>>>>
>>>> Dne 24.4.2013 09:43, Luisa Posani napsal(a):
>>>>> Hi
>>>>>
>>>>> It''s my first experience with xen
>>>>>
>>>>> I would like to use a OS linux create by
buildroot
>>>>> like a guest.
>>>>> I have a PC whit virtualizatin whit debian
>>>>> distribution and I install xen-linux-sysem
on the PC.
>>>>>
>>>>> In this PC a VM doesn''t work
correctly.
>>>>>
>>>>> I would like to know if exist a simple
tutorial to
>>>>> configure PC and VM .
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>>
>>>>> Luisa
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
_______________________________________________
>>>>> Xen-users mailing list
>>>>> Xen-users@lists.xen.org
>>>>> http://lists.xen.org/xen-users
>>>>
>>>>
>>>> -----Segue allegato-----
>>>>
>>>> _______________________________________________
>>>> Xen-users mailing list
>>>> Xen-users@lists.xen.org
>>>> http://lists.xen.org/xen-users
>>>>
>>>
>>>
>>> -----Segue allegato-----
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@lists.xen.org
>>> http://lists.xen.org/xen-users
>>>
>>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
How do I get this info?
If I make ''free'' :
free
total used free shared buffers cached
Mem: 982620 919152 63468 0 13200 449232
-/+ buffers/cache: 456720 525900
Swap: 3906240 0 3906240
--- Lun 6/5/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 14:54
Seems like you don''t have enough mem for your domU. How much memory
do you have on your dom0 / xen host?
Dne 6.5.2013 14:51, Luisa Posani
napsal(a):
I Jan.
I try to use a old rootfs.img taht work well with qemu.
The configuration file contains:
kernel = "/usr/lib/xen-4.0/boot/hvmloader"
builder=''hvm''
memory = 1024
vcpus=2
vif = [''bridge=xenbr0'']
disk =
[''file:/home/posani/nine_disk_1.img,hda,w'',]
acpi = 1
device_model = ''qemu-dm''
boot="d"
sdl=0
serial=''pty''
vnc=1
vnclisten=""
vncpasswd=""
name="stefano"
but I have the error:
xm create /etc/xen/prova -c
Using config file "/etc/xen/prova".
Error: I need 1062912 KiB, but dom0_min_mem is 200704 and
shrinking to 200704 KiB would leave only 793340 KiB free.
Where is the problem?
Help me....
Luisa
--- Lun 6/5/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 13:11
Hi Luisa,
great news, i use Remmina also. Great tool.
''disk = '' is used for defining
VM''s hard drive. I''m
not familiar with buildroot but as I read about CPIO
it''s file archiver and Xen disk image should be in
RAW format. So you should extract rootfs.cpio to raw
disk image which could be created with dd. Example:
dd if=/dev/zero of=rootfs.img bs=1M count=10000
As with normal hard drive you can use fdisk make
some partitions on rootfs.img, format them and
extract rootfs.cpio there. Then you can set this
harddrive img in your xen config file for HVM style
(hda but it should apper as sda inside domU):
disk = [ ''file:/path/to/rootfs.img,hda,w''
]
Or you can pass the path to rootfs.img to
xen-create-image. If rootfs.cpio contains all files
including kernel image it should boot normally. As I
wrote I''m not familiar with buildroot thus
you''re
little bit on your own in this case and i''m sorry
for not being more straightforward but you''re using
specific scenario. Maybe I''ll save some time for
testing this and let you know later on.
Have a nice day
Jan
Dne
6.5.2013 12:38, Luisa Posani napsal(a):
Hi Jan
I launch my windows VM whit graphical
program named "Remmina Remote desktop
client" and it work well..
:-) :-) :-) :-)
Maybe I
was wrong
a few
parameters to launch
manual
gncviewer
Let me explain
what is my
main
problem.
I would
like to start a
virtual machine created
with
buildroot
standard
WHITOUT
XEN drivers in the VM.
I have some problems
creating the
configuration file for this virtual
machine.
I don''t
know if I have to
work with
a ramdisk
(rootfs.cpio
created
by
buildroot)
or not and
what should be
the
configuration file under (p.e.)
/etc/xen/VM_buildroot.
I don''t
understand the meaning of
the ''disk ='' in the
configuration file.
you know
a tutorial
that I
could follow to
create this file?
Xen provides the
xen-create-image command
to create
the file, but
I do not
know how to give
parameters
to the command (initrd
install-install-source
method
...)
Can you help
me?
Thanks in
advance.
Luisa
--- Gio 25/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware
virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Giovedì 25 Aprile 2013, 11:19
Hi Luisa,
great, so you''re cpu is capable for
running Xen. The reason why you
don''t see it is explained here
http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
Just to be clear. You''ve already
start your system with xen and tried
to start Windows Xp domU as this
guide describes, do you? And the
problem is that you can''t connect
to
your Windows XP domU with GNCVIEWER
or something else? Is your domU
running? What does the "xl start"
command say?
Thank you and have a nice day
Jan
Dne
24.4.2013 17:54, Luisa Posani
napsal(a):
Hi
if I make
/proc/cpuinfo flags
without xen I found vmx.
when I start PC with xen
flag vmx doesn''t appare.
Why?
I would like use a guest
OS make with buildroot
"standard" without xen
driver.
I use
http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn''t work
correctly.
Doesn''t work gvncviewer
for using a window XP iso
image and now I''m
compiling a buildroot
standard (qemu_x86
config).
Luisa
--- Mer 24/4/13, Jan
Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re: [Xen-users]
Hardware virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Mercoledì 24
Aprile 2013, 17:08
Sure,
I can.
You should check
your cpuinfo if it
supports
virtualization.
Look here
http://virt-tools.org/learning/check-hardware-virt/
If it does, tell
me what is your
goal and what have
you done already?
Dne 24.4.2013
16:03, Luisa
Posani napsal(a):
Thank''s
for your
indication.
I can''t find
my cpu in your
list.
In my PC I can
enable the
virtualization
from BIOS.
I don''t
understand the
difference.
Can you help
me please?
Luisa
--- Mer
24/4/13, Jan
Hejl
<jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A:
xen-users@lists.xen.org
Data:
Mercoledì 24
Aprile 2013,
10:35
Hello
Luisa,
here
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list
IOMMU
supporting
hardware, this
is a good
point to
start. IOMMU
is not
necessary for
virtualization,
but hardware
listed here
supports VM.
Jan
Dne
24.4.2013
09:43, Luisa
Posani
napsal(a):
Hi
It''s my
first experience with
xen
I would like
to use a OS linux
create by buildroot like a guest.
I have a PC
whit
virtualizatin
whit debian
distribution
and I install
xen-linux-sysem
on the PC.
In this PC a
VM doesn''t
work
correctly.
I would like
to know if
exist a simple
tutorial to
configure PC
and VM .
Thanks in advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue
allegato-----
_______________________________________________
Xen-users
mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Try set your domU memory to 512M with: memory = 512 You should set: dom0_mem=512M in your grub command line and reboot also to prevent Dom0 from ballooning. Dne 6.5.2013 15:00, Luisa Posani napsal(a):> > How do I get this info? > If I make ''free'' : > > free > total used free shared buffers cached > Mem: 982620 919152 63468 0 13200 449232 > -/+ buffers/cache: 456720 525900 > Swap: 3906240 0 3906240 > > > > --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: > > > Da: Jan Hejl <jh@excello.cz> > Oggetto: Re: [Xen-users] Hardware virtualization > A: "Luisa Posani" <lposani@yahoo.it> > Cc: xen-users@lists.xen.org > Data: Lunedì 6 maggio 2013, 14:54 > > Seems like you don''t have enough mem for your domU. How much > memory do you have on your dom0 / xen host? > > Dne 6.5.2013 14:51, Luisa Posani napsal(a): >> >> >> I Jan. >> >> I try to use a old rootfs.img taht work well with qemu. >> >> The configuration file contains: >> >> kernel = "/usr/lib/xen-4.0/boot/hvmloader" >> builder=''hvm'' >> memory = 1024 >> vcpus=2 >> vif = [''bridge=xenbr0''] >> disk = [''file:/home/posani/nine_disk_1.img,hda,w'',] >> acpi = 1 >> device_model = ''qemu-dm'' >> boot="d" >> sdl=0 >> serial=''pty'' >> vnc=1 >> vnclisten="" >> vncpasswd="" >> name="stefano" >> >> but I have the error: >> >> >> xm create /etc/xen/prova -c >> >> Using config file "/etc/xen/prova". >> Error: I need 1062912 KiB, but dom0_min_mem is 200704 and >> shrinking to 200704 KiB would leave only 793340 KiB free. >> >> Where is the problem? >> >> Help me.... >> >> Luisa >> >> >> >> --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >> >> >> Da: Jan Hejl <jh@excello.cz> >> Oggetto: Re: [Xen-users] Hardware virtualization >> A: "Luisa Posani" <lposani@yahoo.it> >> Cc: xen-users@lists.xen.org >> Data: Lunedì 6 maggio 2013, 13:11 >> >> Hi Luisa, >> >> great news, i use Remmina also. Great tool. >> >> ''disk = '' is used for defining VM''s hard drive. I''m not >> familiar with buildroot but as I read about CPIO it''s file >> archiver and Xen disk image should be in RAW format. So you >> should extract rootfs.cpio to raw disk image which could be >> created with dd. Example: >> >> dd if=/dev/zero of=rootfs.img bs=1M count=10000 >> >> As with normal hard drive you can use fdisk make some >> partitions on rootfs.img, format them and extract rootfs.cpio >> there. Then you can set this harddrive img in your xen config >> file for HVM style (hda but it should apper as sda inside domU): >> >> disk = [ ''file:/path/to/rootfs.img,hda,w'' ] >> >> Or you can pass the path to rootfs.img to xen-create-image. >> If rootfs.cpio contains all files including kernel image it >> should boot normally. As I wrote I''m not familiar with >> buildroot thus you''re little bit on your own in this case and >> i''m sorry for not being more straightforward but you''re using >> specific scenario. Maybe I''ll save some time for testing this >> and let you know later on. >> >> Have a nice day >> Jan >> >> Dne 6.5.2013 12:38, Luisa Posani napsal(a): >>> Hi Jan >>> >>> I launch my windows VM whit graphical program named "Remmina >>> Remote desktop client" and it work well.. >>> >>> :-) :-) :-) :-) >>> >>> Maybe I was wrong a few parameters to launch manual gncviewer >>> >>> Let me explain what is my main problem. >>> I would like to start a virtual machine created with >>> buildroot standard WHITOUT XEN driversin the VM. >>> I have some problems creating the configuration file for >>> this virtual machine. >>> I don''t know if I have to work with a ramdisk (rootfs.cpio >>> created by buildroot) or not and >>> what should be the configuration file under (p.e.) >>> /etc/xen/VM_buildroot. >>> >>> I don''t understand the meaning of the ''disk ='' in the >>> configuration file. >>> >>> you know a tutorial that I could follow to create this file? >>> >>> Xen provides the xen-create-image command to create the >>> file, but I do not know how to give parameters to the >>> command (initrd install-install-source method ...) >>> >>> Can you help me? >>> >>> Thanks in advance. >>> >>> Luisa >>> >>> >>> >>> >>> --- *Gio 25/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>> >>> >>> Da: Jan Hejl <jh@excello.cz> >>> Oggetto: Re: [Xen-users] Hardware virtualization >>> A: "Luisa Posani" <lposani@yahoo.it> >>> Cc: xen-users@lists.xen.org >>> Data: Giovedì 25 Aprile 2013, 11:19 >>> >>> Hi Luisa, >>> >>> great, so you''re cpu is capable for running Xen. The >>> reason why you don''t see it is explained here >>> http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html. >>> >>> >>> Just to be clear. You''ve already start your system with >>> xen and tried to start Windows Xp domU as this guide >>> describes, do you? And the problem is that you can''t >>> connect to your Windows XP domU with GNCVIEWER or >>> something else? Is your domU running? What does the "xl >>> start" command say? >>> >>> Thank you and have a nice day >>> Jan >>> >>> Dne 24.4.2013 17:54, Luisa Posani napsal(a): >>>> >>>> Hi >>>> >>>> if I make >>>> >>>> /proc/cpuinfo flags >>>> >>>> without xen I found vmx. >>>> >>>> when I start PC with xen flag vmx doesn''t appare. >>>> >>>> Why? >>>> >>>> I would like use a guest OS make with buildroot >>>> "standard" without xen driver. >>>> >>>> I use >>>> http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen >>>> >>>> but doesn''t work correctly. >>>> >>>> Doesn''t work gvncviewer for using a window XP iso image >>>> and now I''m compiling a buildroot standard (qemu_x86 >>>> config). >>>> >>>> >>>> >>>> Luisa >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>>> >>>> >>>> Da: Jan Hejl <jh@excello.cz> >>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>> A: "Luisa Posani" <lposani@yahoo.it> >>>> Cc: xen-users@lists.xen.org >>>> Data: Mercoledì 24 Aprile 2013, 17:08 >>>> >>>> Sure, I can. >>>> >>>> You should check your cpuinfo if it supports >>>> virtualization. Look here >>>> http://virt-tools.org/learning/check-hardware-virt/ >>>> >>>> If it does, tell me what is your goal and what have >>>> you done already? >>>> >>>> Dne 24.4.2013 16:03, Luisa Posani napsal(a): >>>>> Thank''s for your indication. >>>>> >>>>> I can''t find my cpu in your list. >>>>> >>>>> In my PC I can enable the virtualization from BIOS. >>>>> >>>>> I don''t understand the difference. >>>>> >>>>> Can you help me please? >>>>> >>>>> >>>>> Luisa >>>>> >>>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha >>>>> scritto: >>>>> >>>>> >>>>> Da: Jan Hejl <jh@excello.cz> >>>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>>> A: xen-users@lists.xen.org >>>>> Data: Mercoledì 24 Aprile 2013, 10:35 >>>>> >>>>> Hello Luisa, >>>>> >>>>> here >>>>> http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware >>>>> is a list IOMMU supporting hardware, this is a >>>>> good point to start. IOMMU is not necessary >>>>> for virtualization, but hardware listed here >>>>> supports VM. >>>>> >>>>> Jan >>>>> >>>>> Dne 24.4.2013 09:43, Luisa Posani napsal(a): >>>>>> Hi >>>>>> >>>>>> It''s my first experience with xen >>>>>> >>>>>> I would like to use a OS linux create by >>>>>> buildroot like a guest. >>>>>> I have a PC whit virtualizatin whit debian >>>>>> distribution and I install xen-linux-sysem on >>>>>> the PC. >>>>>> >>>>>> In this PC a VM doesn''t work correctly. >>>>>> >>>>>> I would like to know if exist a simple >>>>>> tutorial to configure PC and VM . >>>>>> >>>>>> Thanks in advance >>>>>> >>>>>> >>>>>> Luisa >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xen-users mailing list >>>>>> Xen-users@lists.xen.org >>>>>> http://lists.xen.org/xen-users >>>>> >>>>> >>>>> -----Segue allegato----- >>>>> >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xen.org >>>>> http://lists.xen.org/xen-users >>>>> >>>> >>>> >>>> -----Segue allegato----- >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>>> >>> >> >> >> -----Segue allegato----- >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi Jan
I''m downloading
install-amd64-minimal-20130425.iso
and I try to work.
If I haven''t this minimal image it''s possible to work?
What does it contains?
How can I create this image?
--- Lun 6/5/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 14:59
Create domU config file in /etc/xen/domu-01.cfg:
builder=''hvm''
memory = 2048
name = "DomU-01"
vcpus=2
vif = [ ''bridge=xenbr1, script=vif-bridge, type=ioemu, model=e1000,
mac=00:16:3e:63:80:88'' ]
disk = [ ''file:/root/domu-01.img,hda,w'',
''file:/root/install-amd64-minimal-20130425.iso,hdc:cdrom,r''
]
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
boot="dc"
vnc=1
vnclisten="127.0.0.1"
vncpasswd=''''
Download this
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20130425.iso
to your /root folder. Create hard drive image:
dd if=/dev/zero of=/root/domu-01.img bs=1M count=10000
Start your domU with:
xl create /etc/xen/domu-01.cfg
Then you should be able to connect with Remmina to localhosts VNC
and then you''ll see Gentoo Live CD booting. Here''s how
to install
Gentoo http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml.
Chapter 7 describes kernel compiling - custom config or genkernel.
When you''ll be done with Gentoo installation, you shold poweroff
you domU, change boot value to:
boot="cd"
And after:
xl create /etc/xen/domu-01.cfg
you should see your Gentoo booting up.
Hope this helps.
Jan
Dne 6.5.2013 14:41, Luisa Posani napsal(a):
Can you suggest me
the simplest way to create a VM linux from scratch using
kernel code source?
tks
Luisa
--- Lun 6/5/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 13:11
Hi Luisa,
great news, i use Remmina also. Great tool.
''disk = '' is used for defining
VM''s hard drive. I''m
not familiar with buildroot but as I read about CPIO
it''s file archiver and Xen disk image should be in
RAW format. So you should extract rootfs.cpio to raw
disk image which could be created with dd. Example:
dd if=/dev/zero of=rootfs.img bs=1M count=10000
As with normal hard drive you can use fdisk make
some partitions on rootfs.img, format them and
extract rootfs.cpio there. Then you can set this
harddrive img in your xen config file for HVM style
(hda but it should apper as sda inside domU):
disk = [ ''file:/path/to/rootfs.img,hda,w''
]
Or you can pass the path to rootfs.img to
xen-create-image. If rootfs.cpio contains all files
including kernel image it should boot normally. As I
wrote I''m not familiar with buildroot thus
you''re
little bit on your own in this case and i''m sorry
for not being more straightforward but you''re using
specific scenario. Maybe I''ll save some time for
testing this and let you know later on.
Have a nice day
Jan
Dne
6.5.2013 12:38, Luisa Posani napsal(a):
Hi
Jan
I launch my windows VM whit graphical
program named "Remmina Remote desktop
client" and it work well..
:-) :-) :-) :-)
Maybe I
was wrong
a few
parameters to launch
manual
gncviewer
Let me explain
what is my
main
problem.
I would
like to start a
virtual machine created
with
buildroot
standard
WHITOUT
XEN drivers in the VM.
I have some problems
creating the
configuration file for this virtual
machine.
I don''t
know if I have to
work with
a ramdisk
(rootfs.cpio
created
by
buildroot)
or not and
what should be
the
configuration file under (p.e.)
/etc/xen/VM_buildroot.
I don''t
understand the meaning of
the ''disk ='' in the
configuration file.
you know
a tutorial
that I
could follow to
create this file?
Xen provides the
xen-create-image command
to create
the file, but
I do not
know how to give
parameters
to the command (initrd
install-install-source
method
...)
Can you help
me?
Thanks in
advance.
Luisa
--- Gio 25/4/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware
virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Giovedì 25 Aprile 2013, 11:19
Hi Luisa,
great, so you''re cpu is capable for
running Xen. The reason why you
don''t see it is explained here
http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
Just to be clear. You''ve already
start your system with xen and tried
to start Windows Xp domU as this
guide describes, do you? And the
problem is that you can''t connect
to
your Windows XP domU with GNCVIEWER
or something else? Is your domU
running? What does the "xl start"
command say?
Thank you and have a nice day
Jan
Dne
24.4.2013 17:54, Luisa Posani
napsal(a):
Hi
if I make
/proc/cpuinfo flags
without xen I found vmx.
when I start PC with xen
flag vmx doesn''t appare.
Why?
I would like use a guest
OS make with buildroot
"standard" without xen
driver.
I use
http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn''t work
correctly.
Doesn''t work gvncviewer
for using a window XP iso
image and now I''m
compiling a buildroot
standard (qemu_x86
config).
Luisa
--- Mer 24/4/13, Jan
Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re: [Xen-users]
Hardware virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Mercoledì 24
Aprile 2013, 17:08
Sure,
I can.
You should check
your cpuinfo if it
supports
virtualization.
Look here
http://virt-tools.org/learning/check-hardware-virt/
If it does, tell
me what is your
goal and what have
you done already?
Dne 24.4.2013
16:03, Luisa
Posani napsal(a):
Thank''s
for your
indication.
I can''t find
my cpu in your
list.
In my PC I can
enable the
virtualization
from BIOS.
I don''t
understand the
difference.
Can you help
me please?
Luisa
--- Mer
24/4/13, Jan
Hejl
<jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A:
xen-users@lists.xen.org
Data:
Mercoledì 24
Aprile 2013,
10:35
Hello
Luisa,
here
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list
IOMMU
supporting
hardware, this
is a good
point to
start. IOMMU
is not
necessary for
virtualization,
but hardware
listed here
supports VM.
Jan
Dne
24.4.2013
09:43, Luisa
Posani
napsal(a):
Hi
It''s my
first experience with
xen
I would like
to use a OS linux
create by buildroot like a guest.
I have a PC
whit
virtualizatin
whit debian
distribution
and I install
xen-linux-sysem
on the PC.
In this PC a
VM doesn''t
work
correctly.
I would like
to know if
exist a simple
tutorial to
configure PC
and VM .
Thanks in advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue
allegato-----
_______________________________________________
Xen-users
mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
What is your level of linux knowledge? Or IT at all? This ISO contains LIVE version of Gentoo. Something like minimal ubuntu that''s neccesary for ubuntu installation. You don''t need to create anything. Go through install process and then you''ll have your own system installed on domu-01.img. Dne 6.5.2013 15:18, Luisa Posani napsal(a):> Hi Jan > > I''m downloading > install-amd64-minimal-20130425.iso > > and I try to work. > > If I haven''t this minimal image it''s possible to work? > What does it contains? > How can I create this image? > > > > > --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: > > > Da: Jan Hejl <jh@excello.cz> > Oggetto: Re: [Xen-users] Hardware virtualization > A: "Luisa Posani" <lposani@yahoo.it> > Cc: xen-users@lists.xen.org > Data: Lunedì 6 maggio 2013, 14:59 > > Create domU config file in /etc/xen/domu-01.cfg: > > builder=''hvm'' > memory = 2048 > name = "DomU-01" > vcpus=2 > vif = [ ''bridge=xenbr1, script=vif-bridge, type=ioemu, model=e1000, mac=00:16:3e:63:80:88'' ] > disk = [ ''file:/root/domu-01.img,hda,w'', > ''file:/root/install-amd64-minimal-20130425.iso,hdc:cdrom,r'' > ] > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > boot="dc" > vnc=1 > vnclisten="127.0.0.1" > vncpasswd='''' > > Download this > http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20130425.iso > to your /root folder. Create hard drive image: > > dd if=/dev/zero of=/root/domu-01.img bs=1M count=10000 > > Start your domU with: > > xl create /etc/xen/domu-01.cfg > > Then you should be able to connect with Remmina to localhosts VNC > and then you''ll see Gentoo Live CD booting. Here''s how to install > Gentoo http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml. > Chapter 7 describes kernel compiling - custom config or genkernel. > > When you''ll be done with Gentoo installation, you shold poweroff > you domU, change boot value to: > > boot="cd" > > And after: > > xl create /etc/xen/domu-01.cfg > > you should see your Gentoo booting up. > > Hope this helps. > > Jan > > Dne 6.5.2013 14:41, Luisa Posani napsal(a): >> Can you suggest me the simplest way to create a VM linux from >> scratch using kernel code source? >> >> tks >> >> Luisa >> >> >> >> >> >> >> --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz> >> </mc/compose?to=jh@excello.cz>/* ha scritto: >> >> >> Da: Jan Hejl <jh@excello.cz> </mc/compose?to=jh@excello.cz> >> Oggetto: Re: [Xen-users] Hardware virtualization >> A: "Luisa Posani" <lposani@yahoo.it> >> </mc/compose?to=lposani@yahoo.it> >> Cc: xen-users@lists.xen.org >> </mc/compose?to=xen-users@lists.xen.org> >> Data: Lunedì 6 maggio 2013, 13:11 >> >> Hi Luisa, >> >> great news, i use Remmina also. Great tool. >> >> ''disk = '' is used for defining VM''s hard drive. I''m not >> familiar with buildroot but as I read about CPIO it''s file >> archiver and Xen disk image should be in RAW format. So you >> should extract rootfs.cpio to raw disk image which could be >> created with dd. Example: >> >> dd if=/dev/zero of=rootfs.img bs=1M count=10000 >> >> As with normal hard drive you can use fdisk make some >> partitions on rootfs.img, format them and extract rootfs.cpio >> there. Then you can set this harddrive img in your xen config >> file for HVM style (hda but it should apper as sda inside domU): >> >> disk = [ ''file:/path/to/rootfs.img,hda,w'' ] >> >> Or you can pass the path to rootfs.img to xen-create-image. >> If rootfs.cpio contains all files including kernel image it >> should boot normally. As I wrote I''m not familiar with >> buildroot thus you''re little bit on your own in this case and >> i''m sorry for not being more straightforward but you''re using >> specific scenario. Maybe I''ll save some time for testing this >> and let you know later on. >> >> Have a nice day >> Jan >> >> Dne 6.5.2013 12:38, Luisa Posani napsal(a): >>> Hi Jan >>> >>> I launch my windows VM whit graphical program named "Remmina >>> Remote desktop client" and it work well.. >>> >>> :-) :-) :-) :-) >>> >>> Maybe I was wrong a few parameters to launch manual gncviewer >>> >>> Let me explain what is my main problem. >>> I would like to start a virtual machine created with >>> buildroot standard WHITOUT XEN driversin the VM. >>> I have some problems creating the configuration file for >>> this virtual machine. >>> I don''t know if I have to work with a ramdisk (rootfs.cpio >>> created by buildroot) or not and >>> what should be the configuration file under (p.e.) >>> /etc/xen/VM_buildroot. >>> >>> I don''t understand the meaning of the ''disk ='' in the >>> configuration file. >>> >>> you know a tutorial that I could follow to create this file? >>> >>> Xen provides the xen-create-image command to create the >>> file, but I do not know how to give parameters to the >>> command (initrd install-install-source method ...) >>> >>> Can you help me? >>> >>> Thanks in advance. >>> >>> Luisa >>> >>> >>> >>> >>> --- *Gio 25/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>> >>> >>> Da: Jan Hejl <jh@excello.cz> >>> Oggetto: Re: [Xen-users] Hardware virtualization >>> A: "Luisa Posani" <lposani@yahoo.it> >>> Cc: xen-users@lists.xen.org >>> Data: Giovedì 25 Aprile 2013, 11:19 >>> >>> Hi Luisa, >>> >>> great, so you''re cpu is capable for running Xen. The >>> reason why you don''t see it is explained here >>> http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html. >>> >>> >>> Just to be clear. You''ve already start your system with >>> xen and tried to start Windows Xp domU as this guide >>> describes, do you? And the problem is that you can''t >>> connect to your Windows XP domU with GNCVIEWER or >>> something else? Is your domU running? What does the "xl >>> start" command say? >>> >>> Thank you and have a nice day >>> Jan >>> >>> Dne 24.4.2013 17:54, Luisa Posani napsal(a): >>>> >>>> Hi >>>> >>>> if I make >>>> >>>> /proc/cpuinfo flags >>>> >>>> without xen I found vmx. >>>> >>>> when I start PC with xen flag vmx doesn''t appare. >>>> >>>> Why? >>>> >>>> I would like use a guest OS make with buildroot >>>> "standard" without xen driver. >>>> >>>> I use >>>> http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen >>>> >>>> but doesn''t work correctly. >>>> >>>> Doesn''t work gvncviewer for using a window XP iso image >>>> and now I''m compiling a buildroot standard (qemu_x86 >>>> config). >>>> >>>> >>>> >>>> Luisa >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>>> >>>> >>>> Da: Jan Hejl <jh@excello.cz> >>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>> A: "Luisa Posani" <lposani@yahoo.it> >>>> Cc: xen-users@lists.xen.org >>>> Data: Mercoledì 24 Aprile 2013, 17:08 >>>> >>>> Sure, I can. >>>> >>>> You should check your cpuinfo if it supports >>>> virtualization. Look here >>>> http://virt-tools.org/learning/check-hardware-virt/ >>>> >>>> If it does, tell me what is your goal and what have >>>> you done already? >>>> >>>> Dne 24.4.2013 16:03, Luisa Posani napsal(a): >>>>> Thank''s for your indication. >>>>> >>>>> I can''t find my cpu in your list. >>>>> >>>>> In my PC I can enable the virtualization from BIOS. >>>>> >>>>> I don''t understand the difference. >>>>> >>>>> Can you help me please? >>>>> >>>>> >>>>> Luisa >>>>> >>>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha >>>>> scritto: >>>>> >>>>> >>>>> Da: Jan Hejl <jh@excello.cz> >>>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>>> A: xen-users@lists.xen.org >>>>> Data: Mercoledì 24 Aprile 2013, 10:35 >>>>> >>>>> Hello Luisa, >>>>> >>>>> here >>>>> http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware >>>>> is a list IOMMU supporting hardware, this is a >>>>> good point to start. IOMMU is not necessary >>>>> for virtualization, but hardware listed here >>>>> supports VM. >>>>> >>>>> Jan >>>>> >>>>> Dne 24.4.2013 09:43, Luisa Posani napsal(a): >>>>>> Hi >>>>>> >>>>>> It''s my first experience with xen >>>>>> >>>>>> I would like to use a OS linux create by >>>>>> buildroot like a guest. >>>>>> I have a PC whit virtualizatin whit debian >>>>>> distribution and I install xen-linux-sysem on >>>>>> the PC. >>>>>> >>>>>> In this PC a VM doesn''t work correctly. >>>>>> >>>>>> I would like to know if exist a simple >>>>>> tutorial to configure PC and VM . >>>>>> >>>>>> Thanks in advance >>>>>> >>>>>> >>>>>> Luisa >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xen-users mailing list >>>>>> Xen-users@lists.xen.org >>>>>> http://lists.xen.org/xen-users >>>>> >>>>> >>>>> -----Segue allegato----- >>>>> >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xen.org >>>>> http://lists.xen.org/xen-users >>>>> >>>> >>>> >>>> -----Segue allegato----- >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>>> >>> >> > > > -----Segue allegato----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org </mc/compose?to=Xen-users@lists.xen.org> > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
I use your configuration file
I have an error.
I try to rewrite..
EDD: Error 0c00 reading sector 96454
No DEFAULT or UI configuration directive found!
boot:
and stop.
Where is the problem???
I asked the question of iso image because I need to use a non standard kernel e
fs.
Hence the decision to use buildroot.
And so
I try to use my buildroot fs and kernel
I create image with
xen-create-image --fs=ext2
--kernel=/home/posani/buildroot/buildroot-xen/output/images/bzImage
--install-method=tar
--initrd=/home/posani/buildroot/buildroot-xen/output/images/rootfs.tar
--hostname=prova1 --dhcp --verbose --passwd --force
This command generate prova1.cfg file
cat prova1.cfg
#
# Configuration file for the Xen instance prova1, created
# by xen-tools 4.2 on Mon May 6 19:06:08 2013.
#
#
# Kernel + memory size
#
kernel =
''/home/posani/buildroot/buildroot-xen/output/images/bzImage''
ramdisk = ''/boot/initrd.img-2.6.32-5-xen-amd64''
vcpus = ''1''
memory = ''128''
#
# Disk device(s).
#
root = ''/dev/xvda2 ro''
disk = [
''file:/home/xen/domains/prova1/disk.img,xvda2,w'',
''file:/home/xen/domains/prova1/swap.img,xvda1,w'',
]
#
# Physical volumes
#
#
# Hostname
#
name = ''prova1''
#
# Networking
#
dhcp = ''dhcp''
vif = [ ''mac=00:16:3E:F0:3B:4A'' ]
#
# Behaviour
#
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
but when i make
xm create prova1.cfg
Using config file "./prova1.cfg".
Error: (2, ''Invalid kernel'', ''elf_xen_note_check:
ERROR: Will only load images built for the generic loader or Linux
images'')
I''m looking for internet to resolve this error but I understand that I
need xen on my kernel.
But I thought I could use a generic VM...
I''m confused...
Thanks for your help
I hope I explained well my problem.
;-)
Luisa
--- Lun 6/5/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 15:26
What is your level of linux knowledge? Or IT at all?
This ISO contains LIVE version of Gentoo. Something like minimal
ubuntu that''s neccesary for ubuntu installation. You don''t
need to
create anything. Go through install process and then you''ll have
your own system installed on domu-01.img.
Dne 6.5.2013 15:18, Luisa Posani
napsal(a):
Hi Jan
I''m downloading
install-amd64-minimal-20130425.iso
and I try to work.
If I haven''t this minimal image it''s possible to work?
What does it contains?
How can I create this image?
--- Lun 6/5/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 14:59
Create domU config file in /etc/xen/domu-01.cfg:
builder=''hvm''
memory = 2048
name = "DomU-01"
vcpus=2
vif = [ ''bridge=xenbr1, script=vif-bridge, type=ioemu, model=e1000,
mac=00:16:3e:63:80:88'' ]
disk = [ ''file:/root/domu-01.img,hda,w'',
''file:/root/install-amd64-minimal-20130425.iso,hdc:cdrom,r''
]
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
boot="dc"
vnc=1
vnclisten="127.0.0.1"
vncpasswd=''''
Download
this
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20130425.iso
to your /root folder. Create hard drive image:
dd if=/dev/zero of=/root/domu-01.img bs=1M count=10000
Start your domU with:
xl create /etc/xen/domu-01.cfg
Then you should be able to connect with Remmina to
localhosts VNC and then you''ll see Gentoo Live CD
booting. Here''s how to install Gentoo
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml.
Chapter 7 describes kernel compiling - custom
config or genkernel.
When you''ll be done with Gentoo installation, you
shold poweroff you domU, change boot value to:
boot="cd"
And after:
xl create /etc/xen/domu-01.cfg
you should see your Gentoo booting up.
Hope this helps.
Jan
Dne 6.5.2013 14:41, Luisa Posani napsal(a):
Can
you suggest me the simplest way to create
a VM linux from scratch using kernel code
source?
tks
Luisa
--- Lun 6/5/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware
virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 13:11
Hi Luisa,
great news, i use Remmina also.
Great tool.
''disk = '' is used for
defining VM''s
hard drive. I''m not familiar with
buildroot but as I read about CPIO
it''s file archiver and Xen disk
image should be in RAW format. So
you should extract rootfs.cpio to
raw disk image which could be
created with dd. Example:
dd if=/dev/zero of=rootfs.img bs=1M
count=10000
As with normal hard drive you can
use fdisk make some partitions on
rootfs.img, format them and extract
rootfs.cpio there. Then you can set
this harddrive img in your xen
config file for HVM style (hda but
it should apper as sda inside domU):
disk = [
''file:/path/to/rootfs.img,hda,w'' ]
Or you can pass the path to
rootfs.img to xen-create-image. If
rootfs.cpio contains all files
including kernel image it should
boot normally. As I wrote I''m not
familiar with buildroot thus you''re
little bit on your own in this case
and i''m sorry for not being more
straightforward but you''re using
specific scenario. Maybe I''ll save
some time for testing this and let
you know later on.
Have a nice day
Jan
Dne
6.5.2013 12:38, Luisa Posani
napsal(a):
Hi Jan
I launch my windows VM
whit graphical program
named "Remmina Remote
desktop client" and it
work well..
:-) :-) :-) :-)
Maybe
I was
wrong a
few parameters to
launch
manual
gncviewer
Let
me explain what is my main
problem.
I
would like to start a virtual
machine created
with
buildroot
standard
WHITOUT
XEN drivers
in the VM.
I
have some problems
creating the configuration
file for
this
virtual machine.
I
don''t know if I have
to work
with a ramdisk (rootfs.cpio
created
by
buildroot)
or not
and
what
should be the configuration
file under
(p.e.) /etc/xen/VM_buildroot.
I
don''t understand
the
meaning of the
''disk
='' in
the configuration file.
you
know a
tutorial that I could follow
to create this file?
Xen
provides
the xen-create-image
command
to
create the file, but I
do not know how to give
parameters
to the command
(initrd
install-install-source method
...)
Can you help me?
Thanks
in advance.
Luisa
--- Gio 25/4/13, Jan
Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re: [Xen-users]
Hardware virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Giovedì 25 Aprile
2013, 11:19
Hi Luisa,
great, so you''re
cpu
is capable for
running Xen. The
reason why you
don''t
see it is explained
here
http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
Just to be clear.
You''ve already
start
your system with xen
and tried to start
Windows Xp domU as
this guide
describes, do you?
And the problem is
that you can''t
connect to your
Windows XP domU with
GNCVIEWER or
something else? Is
your domU running?
What does the "xl
start" command say?
Thank you and have a
nice day
Jan
Dne
24.4.2013 17:54,
Luisa Posani
napsal(a):
Hi
if I make
/proc/cpuinfo
flags
without xen I
found vmx.
when I start
PC with xen
flag vmx
doesn''t
appare.
Why?
I would like
use a guest OS
make with
buildroot
"standard"
without xen
driver.
I use
http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn''t
work
correctly.
Doesn''t work
gvncviewer for
using a window
XP iso image
and now I''m
compiling a
buildroot
standard
(qemu_x86
config).
Luisa
--- Mer
24/4/13, Jan
Hejl
<jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A: "Luisa
Posani"
<lposani@yahoo.it>
Cc:
xen-users@lists.xen.org
Data:
Mercoledì 24
Aprile 2013,
17:08
Sure,
I can.
You should
check your
cpuinfo if it
supports
virtualization.
Look here
http://virt-tools.org/learning/check-hardware-virt/
If it does,
tell me what
is your goal
and what have
you done
already?
Dne 24.4.2013
16:03, Luisa
Posani
napsal(a):
Thank''s
for your
indication.
I can''t find
my cpu in your
list.
In my PC I can
enable the
virtualization
from BIOS.
I don''t
understand the
difference.
Can you help
me please?
Luisa
--- Mer
24/4/13, Jan
Hejl
<jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A:
xen-users@lists.xen.org
Data:
Mercoledì 24
Aprile 2013,
10:35
Hello
Luisa,
here
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list
IOMMU
supporting
hardware, this
is a good
point to
start. IOMMU
is not
necessary for
virtualization,
but hardware
listed here
supports VM.
Jan
Dne
24.4.2013
09:43, Luisa
Posani
napsal(a):
Hi
It''s my
first experience with
xen
I would like
to use a OS linux
create by buildroot like a
guest.
I have a PC
whit
virtualizatin
whit debian
distribution
and I install
xen-linux-sysem
on the PC.
In this PC a
VM doesn''t
work
correctly.
I would like
to know if
exist a simple
tutorial to
configure PC
and VM .
Thanks in advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue
allegato-----
_______________________________________________
Xen-users
mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue
allegato-----
_______________________________________________
Xen-users
mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Dne 6.5.2013 17:46, Luisa Posani napsal(a):> > I use your configuration file > > I have an error. > I try to rewrite.. > EDD: Error 0c00 reading sector 96454 > No DEFAULT or UI configuration directive found! > boot: > > and stop. >Haven''t seen this before. Are you sure that everything goes right? Specially image creation or paths to images?> Where is the problem??? > > I asked the question of iso image because I need to use a non standard > kernel e fs. > Hence the decision to use buildroot. > > And so > > I try to use my buildroot fs and kernel > > I create image with > > xen-create-image --fs=ext2 > --kernel=/home/posani/buildroot/buildroot-xen/output/images/bzImage > --install-method=tar > --initrd=/home/posani/buildroot/buildroot-xen/output/images/rootfs.tar > --hostname=prova1 --dhcp --verbose --passwd --force > > This command generate prova1.cfg file > > > cat prova1.cfg > # > # Configuration file for the Xen instance prova1, created > # by xen-tools 4.2 on Mon May 6 19:06:08 2013. > # > > # > # Kernel + memory size > # > kernel = ''/home/posani/buildroot/buildroot-xen/output/images/bzImage'' > ramdisk = ''/boot/initrd.img-2.6.32-5-xen-amd64'' > > vcpus = ''1'' > memory = ''128'' > > # > # Disk device(s). > # > root = ''/dev/xvda2 ro'' > disk = [ > ''file:/home/xen/domains/prova1/disk.img,xvda2,w'', > ''file:/home/xen/domains/prova1/swap.img,xvda1,w'', > ] > > > # > # Physical volumes > # > > > # > # Hostname > # > name = ''prova1'' > > # > # Networking > # > dhcp = ''dhcp'' > vif = [ ''mac=00:16:3E:F0:3B:4A'' ] > > # > # Behaviour > # > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > > > > but when i make > > > xm create prova1.cfg > Using config file "./prova1.cfg". > Error: (2, ''Invalid kernel'', ''elf_xen_note_check: ERROR: Will only > load images built for the generic loader or Linux images'') >Your kernel image is compiled without Xen PV options or is not properly bziped.> > I''m looking for internet to resolve this error but I understand that I > need xen on my kernel. > But I thought I could use a generic VM... > > I''m confused... > > Thanks for your help > I hope I explained well my problem. > > ;-) > > Luisa > > > > > > > > > --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: > > > Da: Jan Hejl <jh@excello.cz> > Oggetto: Re: [Xen-users] Hardware virtualization > A: "Luisa Posani" <lposani@yahoo.it> > Cc: xen-users@lists.xen.org > Data: Lunedì 6 maggio 2013, 15:26 > > What is your level of linux knowledge? Or IT at all? > > This ISO contains LIVE version of Gentoo. Something like minimal > ubuntu that''s neccesary for ubuntu installation. You don''t need to > create anything. Go through install process and then you''ll have > your own system installed on domu-01.img. > > Dne 6.5.2013 15:18, Luisa Posani napsal(a): >> Hi Jan >> >> I''m downloading >> install-amd64-minimal-20130425.iso >> >> and I try to work. >> >> If I haven''t this minimal image it''s possible to work? >> What does it contains? >> How can I create this image? >> >> >> >> >> --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz> >> </mc/compose?to=jh@excello.cz>/* ha scritto: >> >> >> Da: Jan Hejl <jh@excello.cz> </mc/compose?to=jh@excello.cz> >> Oggetto: Re: [Xen-users] Hardware virtualization >> A: "Luisa Posani" <lposani@yahoo.it> >> </mc/compose?to=lposani@yahoo.it> >> Cc: xen-users@lists.xen.org >> </mc/compose?to=xen-users@lists.xen.org> >> Data: Lunedì 6 maggio 2013, 14:59 >> >> Create domU config file in /etc/xen/domu-01.cfg: >> >> builder=''hvm'' >> memory = 2048 >> name = "DomU-01" >> vcpus=2 >> vif = [ ''bridge=xenbr1, script=vif-bridge, type=ioemu, model=e1000, mac=00:16:3e:63:80:88'' ] >> disk = [ ''file:/root/domu-01.img,hda,w'', >> ''file:/root/install-amd64-minimal-20130425.iso,hdc:cdrom,r'' >> ] >> on_poweroff = ''destroy'' >> on_reboot = ''restart'' >> on_crash = ''restart'' >> boot="dc" >> vnc=1 >> vnclisten="127.0.0.1" >> vncpasswd='''' >> >> Download this >> http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20130425.iso >> to your /root folder. Create hard drive image: >> >> dd if=/dev/zero of=/root/domu-01.img bs=1M count=10000 >> >> Start your domU with: >> >> xl create /etc/xen/domu-01.cfg >> >> Then you should be able to connect with Remmina to localhosts >> VNC and then you''ll see Gentoo Live CD booting. Here''s how to >> install Gentoo >> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml. >> Chapter 7 describes kernel compiling - custom config or >> genkernel. >> >> When you''ll be done with Gentoo installation, you shold >> poweroff you domU, change boot value to: >> >> boot="cd" >> >> And after: >> >> xl create /etc/xen/domu-01.cfg >> >> you should see your Gentoo booting up. >> >> Hope this helps. >> >> Jan >> >> Dne 6.5.2013 14:41, Luisa Posani napsal(a): >>> Can you suggest me the simplest way to create a VM linux >>> from scratch using kernel code source? >>> >>> tks >>> >>> Luisa >>> >>> >>> >>> >>> >>> >>> --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>> >>> >>> Da: Jan Hejl <jh@excello.cz> >>> Oggetto: Re: [Xen-users] Hardware virtualization >>> A: "Luisa Posani" <lposani@yahoo.it> >>> Cc: xen-users@lists.xen.org >>> Data: Lunedì 6 maggio 2013, 13:11 >>> >>> Hi Luisa, >>> >>> great news, i use Remmina also. Great tool. >>> >>> ''disk = '' is used for defining VM''s hard drive. I''m not >>> familiar with buildroot but as I read about CPIO it''s >>> file archiver and Xen disk image should be in RAW >>> format. So you should extract rootfs.cpio to raw disk >>> image which could be created with dd. Example: >>> >>> dd if=/dev/zero of=rootfs.img bs=1M count=10000 >>> >>> As with normal hard drive you can use fdisk make some >>> partitions on rootfs.img, format them and extract >>> rootfs.cpio there. Then you can set this harddrive img >>> in your xen config file for HVM style (hda but it should >>> apper as sda inside domU): >>> >>> disk = [ ''file:/path/to/rootfs.img,hda,w'' ] >>> >>> Or you can pass the path to rootfs.img to >>> xen-create-image. If rootfs.cpio contains all files >>> including kernel image it should boot normally. As I >>> wrote I''m not familiar with buildroot thus you''re little >>> bit on your own in this case and i''m sorry for not being >>> more straightforward but you''re using specific scenario. >>> Maybe I''ll save some time for testing this and let you >>> know later on. >>> >>> Have a nice day >>> Jan >>> >>> Dne 6.5.2013 12:38, Luisa Posani napsal(a): >>>> Hi Jan >>>> >>>> I launch my windows VM whit graphical program named >>>> "Remmina Remote desktop client" and it work well.. >>>> >>>> :-) :-) :-) :-) >>>> >>>> Maybe I was wrong a few parameters to launch manual >>>> gncviewer >>>> >>>> Let me explain what is my main problem. >>>> I would like to start a virtual machine created with >>>> buildroot standard WHITOUT XEN driversin the VM. >>>> I have some problems creating the configuration file >>>> for this virtual machine. >>>> I don''t know if I have to work with a ramdisk >>>> (rootfs.cpio created by buildroot) or not and >>>> what should be the configuration file under (p.e.) >>>> /etc/xen/VM_buildroot. >>>> >>>> I don''t understand the meaning of the ''disk ='' in the >>>> configuration file. >>>> >>>> you know a tutorial that I could follow to create this >>>> file? >>>> >>>> Xen provides the xen-create-image command to create the >>>> file, but I do not know how to give parameters to the >>>> command (initrd install-install-source method ...) >>>> >>>> Can you help me? >>>> >>>> Thanks in advance. >>>> >>>> Luisa >>>> >>>> >>>> >>>> >>>> --- *Gio 25/4/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>>> >>>> >>>> Da: Jan Hejl <jh@excello.cz> >>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>> A: "Luisa Posani" <lposani@yahoo.it> >>>> Cc: xen-users@lists.xen.org >>>> Data: Giovedì 25 Aprile 2013, 11:19 >>>> >>>> Hi Luisa, >>>> >>>> great, so you''re cpu is capable for running Xen. >>>> The reason why you don''t see it is explained here >>>> http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html. >>>> >>>> >>>> Just to be clear. You''ve already start your system >>>> with xen and tried to start Windows Xp domU as this >>>> guide describes, do you? And the problem is that >>>> you can''t connect to your Windows XP domU with >>>> GNCVIEWER or something else? Is your domU running? >>>> What does the "xl start" command say? >>>> >>>> Thank you and have a nice day >>>> Jan >>>> >>>> Dne 24.4.2013 17:54, Luisa Posani napsal(a): >>>>> >>>>> Hi >>>>> >>>>> if I make >>>>> >>>>> /proc/cpuinfo flags >>>>> >>>>> without xen I found vmx. >>>>> >>>>> when I start PC with xen flag vmx doesn''t appare. >>>>> >>>>> Why? >>>>> >>>>> I would like use a guest OS make with buildroot >>>>> "standard" without xen driver. >>>>> >>>>> I use >>>>> http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen >>>>> >>>>> but doesn''t work correctly. >>>>> >>>>> Doesn''t work gvncviewer for using a window XP iso >>>>> image and now I''m compiling a buildroot standard >>>>> (qemu_x86 config). >>>>> >>>>> >>>>> >>>>> Luisa >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* ha >>>>> scritto: >>>>> >>>>> >>>>> Da: Jan Hejl <jh@excello.cz> >>>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>>> A: "Luisa Posani" <lposani@yahoo.it> >>>>> Cc: xen-users@lists.xen.org >>>>> Data: Mercoledì 24 Aprile 2013, 17:08 >>>>> >>>>> Sure, I can. >>>>> >>>>> You should check your cpuinfo if it supports >>>>> virtualization. Look here >>>>> http://virt-tools.org/learning/check-hardware-virt/ >>>>> >>>>> If it does, tell me what is your goal and what >>>>> have you done already? >>>>> >>>>> Dne 24.4.2013 16:03, Luisa Posani napsal(a): >>>>>> Thank''s for your indication. >>>>>> >>>>>> I can''t find my cpu in your list. >>>>>> >>>>>> In my PC I can enable the virtualization from >>>>>> BIOS. >>>>>> >>>>>> I don''t understand the difference. >>>>>> >>>>>> Can you help me please? >>>>>> >>>>>> >>>>>> Luisa >>>>>> >>>>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* >>>>>> ha scritto: >>>>>> >>>>>> >>>>>> Da: Jan Hejl <jh@excello.cz> >>>>>> Oggetto: Re: [Xen-users] Hardware >>>>>> virtualization >>>>>> A: xen-users@lists.xen.org >>>>>> Data: Mercoledì 24 Aprile 2013, 10:35 >>>>>> >>>>>> Hello Luisa, >>>>>> >>>>>> here >>>>>> http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware >>>>>> is a list IOMMU supporting hardware, this >>>>>> is a good point to start. IOMMU is not >>>>>> necessary for virtualization, but >>>>>> hardware listed here supports VM. >>>>>> >>>>>> Jan >>>>>> >>>>>> Dne 24.4.2013 09:43, Luisa Posani napsal(a): >>>>>>> Hi >>>>>>> >>>>>>> It''s my first experience with xen >>>>>>> >>>>>>> I would like to use a OS linux create by >>>>>>> buildroot like a guest. >>>>>>> I have a PC whit virtualizatin whit >>>>>>> debian distribution and I install >>>>>>> xen-linux-sysem on the PC. >>>>>>> >>>>>>> In this PC a VM doesn''t work correctly. >>>>>>> >>>>>>> I would like to know if exist a simple >>>>>>> tutorial to configure PC and VM . >>>>>>> >>>>>>> Thanks in advance >>>>>>> >>>>>>> >>>>>>> Luisa >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xen-users mailing list >>>>>>> Xen-users@lists.xen.org >>>>>>> http://lists.xen.org/xen-users >>>>>> >>>>>> >>>>>> -----Segue allegato----- >>>>>> >>>>>> _______________________________________________ >>>>>> Xen-users mailing list >>>>>> Xen-users@lists.xen.org >>>>>> http://lists.xen.org/xen-users >>>>>> >>>>> >>>>> >>>>> -----Segue allegato----- >>>>> >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xen.org >>>>> http://lists.xen.org/xen-users >>>>> >>>> >>> >> >> >> -----Segue allegato----- >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > > > -----Segue allegato----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org </mc/compose?to=Xen-users@lists.xen.org> > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Good morning Jan
you say
" Your kernel image is compiled without Xen PV options or ...."
This means that you must compiled kernel support XEN PV?
When I install windowsXX how the installation recognizes virtualization?
--- Lun 6/5/13, Jan Hejl <jh@excello.cz> ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 18:17
Dne 6.5.2013 17:46, Luisa Posani
napsal(a):
I use your configuration file
I have an error.
I try to rewrite..
EDD: Error 0c00 reading sector 96454
No DEFAULT or UI configuration directive found!
boot:
and stop.
Haven''t seen this before. Are you sure that everything goes right?
Specially image creation or paths to images?
Where is the
problem???
I asked the question of iso image because I need to use a
non standard kernel e fs.
Hence the decision to use buildroot.
And so
I try to use my buildroot fs and kernel
I create image with
xen-create-image
--fs=ext2
--kernel=/home/posani/buildroot/buildroot-xen/output/images/bzImage
--install-method=tar
--initrd=/home/posani/buildroot/buildroot-xen/output/images/rootfs.tar
--hostname=prova1 --dhcp --verbose --passwd --force
This command generate prova1.cfg file
cat prova1.cfg
#
# Configuration file for
the Xen instance prova1, created
# by xen-tools 4.2 on
Mon May 6 19:06:08 2013.
#
#
# Kernel + memory size
#
kernel
''/home/posani/buildroot/buildroot-xen/output/images/bzImage''
ramdisk
''/boot/initrd.img-2.6.32-5-xen-amd64''
vcpus = ''1''
memory = ''128''
#
# Disk device(s).
#
root ''/dev/xvda2 ro''
disk = [
''file:/home/xen/domains/prova1/disk.img,xvda2,w'',
''file:/home/xen/domains/prova1/swap.img,xvda1,w'',
]
#
# Physical volumes
#
#
# Hostname
#
name = ''prova1''
#
# Networking
#
dhcp = ''dhcp''
vif = [
''mac=00:16:3E:F0:3B:4A'' ]
#
# Behaviour
#
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
but when i make
xm create prova1.cfg
Using config file "./prova1.cfg".
Error: (2, ''Invalid kernel'',
''elf_xen_note_check: ERROR:
Will only load images built for the generic loader or
Linux images'')
Your kernel image is compiled without Xen PV options or is not
properly bziped.
I''m looking for internet to resolve this error but I
understand that I need xen on my kernel.
But I thought I could use a generic VM...
I''m confused...
Thanks for your help
I hope I explained well my problem.
;-)
Luisa
--- Lun 6/5/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware virtualization
A: "Luisa Posani" <lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 15:26
What is your level of linux knowledge? Or IT at
all?
This ISO contains LIVE version of Gentoo. Something
like minimal ubuntu that''s neccesary for ubuntu
installation. You don''t need to create anything. Go
through install process and then you''ll have your
own system installed on domu-01.img.
Dne
6.5.2013 15:18, Luisa Posani napsal(a):
Hi Jan
I''m downloading
install-amd64-minimal-20130425.iso
and I try to work.
If I haven''t this minimal image it''s possible to work?
What does it contains?
How can I create this image?
--- Lun 6/5/13, Jan Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl <jh@excello.cz>
Oggetto: Re: [Xen-users] Hardware
virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio 2013, 14:59
Create domU config file in
/etc/xen/domu-01.cfg:
builder=''hvm''
memory = 2048
name = "DomU-01"
vcpus=2
vif = [ ''bridge=xenbr1, script=vif-bridge, type=ioemu, model=e1000,
mac=00:16:3e:63:80:88'' ]
disk = [ ''file:/root/domu-01.img,hda,w'',
''file:/root/install-amd64-minimal-20130425.iso,hdc:cdrom,r''
]
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
boot="dc"
vnc=1
vnclisten="127.0.0.1"
vncpasswd=''''
Download
this
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20130425.iso
to your /root folder. Create hard
drive image:
dd if=/dev/zero of=/root/domu-01.img bs=1M
count=10000
Start your domU with:
xl create /etc/xen/domu-01.cfg
Then you should be able to connect
with Remmina to localhosts VNC and
then you''ll see Gentoo Live CD
booting. Here''s how to install
Gentoo
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml.
Chapter 7 describes kernel
compiling - custom config or
genkernel.
When you''ll be done with Gentoo
installation, you shold poweroff
you domU, change boot value to:
boot="cd"
And after:
xl create /etc/xen/domu-01.cfg
you should see your Gentoo booting
up.
Hope this helps.
Jan
Dne 6.5.2013 14:41, Luisa Posani
napsal(a):
Can
you suggest me the
simplest way to create a
VM linux from scratch
using kernel code source?
tks
Luisa
--- Lun 6/5/13, Jan
Hejl <jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re: [Xen-users]
Hardware virtualization
A: "Luisa Posani"
<lposani@yahoo.it>
Cc: xen-users@lists.xen.org
Data: Lunedì 6 maggio
2013, 13:11
Hi Luisa,
great news, i use
Remmina also. Great
tool.
''disk = ''
is used
for defining VM''s
hard drive. I''m not
familiar with
buildroot but as I
read about CPIO
it''s
file archiver and
Xen disk image
should be in RAW
format. So you
should extract
rootfs.cpio to raw
disk image which
could be created
with dd. Example:
dd if=/dev/zero
of=rootfs.img bs=1M count=10000
As with normal hard
drive you can use
fdisk make some
partitions on
rootfs.img, format
them and extract
rootfs.cpio there.
Then you can set
this harddrive img
in your xen config
file for HVM style
(hda but it should
apper as sda inside
domU):
disk = [
''file:/path/to/rootfs.img,hda,w'' ]
Or you can pass the
path to rootfs.img
to xen-create-image.
If rootfs.cpio
contains all files
including kernel
image it should boot
normally. As I wrote
I''m not familiar
with buildroot thus
you''re little bit
on
your own in this
case and i''m sorry
for not being more
straightforward but
you''re using
specific scenario.
Maybe I''ll save
some
time for testing
this and let you
know later on.
Have a nice day
Jan
Dne
6.5.2013 12:38,
Luisa Posani
napsal(a):
Hi
Jan
I launch my
windows VM
whit graphical
program named
"Remmina
Remote desktop
client" and it
work well..
:-) :-) :-)
:-)
Maybe I
was
wrong a few parameters
to launch
manual
gncviewer
Let me
explain
what
is my main problem.
I
would like to
start
a virtual
machine
created
with
buildroot
standard
WHITOUT
XEN drivers in
the VM.
I
have some problems
creating the
configuration
file for this
virtual
machine.
I
don''t know
if
I have to
work
with a
ramdisk
(rootfs.cpio
created
by
buildroot)
or not and
what
should be
the
configuration
file under (p.e.)
/etc/xen/VM_buildroot.
I don''t
understand
the
meaning of the
''disk
='' in the
configuration file.
you
know a tutorial that
I could
follow
to create
this
file?
Xen
provides
the xen-create-image
command
to
create the
file,
but I do not know how
to give
parameters
to the command
(initrd
install-install-source
method
...)
Can you help me?
Thanks
in advance.
Luisa
--- Gio
25/4/13, Jan
Hejl
<jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A: "Luisa
Posani"
<lposani@yahoo.it>
Cc:
xen-users@lists.xen.org
Data: Giovedì
25 Aprile
2013, 11:19
Hi
Luisa,
great, so
you''re cpu is
capable for
running Xen.
The reason why
you don''t see
it is
explained here
http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html.
Just to be
clear. You''ve
already start
your system
with xen and
tried to start
Windows Xp
domU as this
guide
describes, do
you? And the
problem is
that you
can''t
connect to
your Windows
XP domU with
GNCVIEWER or
something
else? Is your
domU running?
What does the
"xl start"
command say?
Thank you and
have a nice
day
Jan
Dne
24.4.2013
17:54, Luisa
Posani
napsal(a):
Hi
if I make
/proc/cpuinfo
flags
without xen I
found vmx.
when I start
PC with xen
flag vmx
doesn''t
appare.
Why?
I would like
use a guest OS
make with
buildroot
"standard"
without xen
driver.
I use
http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen
but doesn''t
work
correctly.
Doesn''t work
gvncviewer for
using a window
XP iso image
and now I''m
compiling a
buildroot
standard
(qemu_x86
config).
Luisa
--- Mer
24/4/13, Jan
Hejl
<jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A: "Luisa
Posani"
<lposani@yahoo.it>
Cc:
xen-users@lists.xen.org
Data:
Mercoledì 24
Aprile 2013,
17:08
Sure,
I can.
You should
check your
cpuinfo if it
supports
virtualization.
Look here
http://virt-tools.org/learning/check-hardware-virt/
If it does,
tell me what
is your goal
and what have
you done
already?
Dne 24.4.2013
16:03, Luisa
Posani
napsal(a):
Thank''s
for your
indication.
I can''t find
my cpu in your
list.
In my PC I can
enable the
virtualization
from BIOS.
I don''t
understand the
difference.
Can you help
me please?
Luisa
--- Mer
24/4/13, Jan
Hejl
<jh@excello.cz>
ha scritto:
Da: Jan Hejl
<jh@excello.cz>
Oggetto: Re:
[Xen-users]
Hardware
virtualization
A:
xen-users@lists.xen.org
Data:
Mercoledì 24
Aprile 2013,
10:35
Hello
Luisa,
here
http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
is a list
IOMMU
supporting
hardware, this
is a good
point to
start. IOMMU
is not
necessary for
virtualization,
but hardware
listed here
supports VM.
Jan
Dne
24.4.2013
09:43, Luisa
Posani
napsal(a):
Hi
It''s my
first experience with
xen
I would like
to use a OS linux
create by buildroot like a
guest.
I have a PC
whit
virtualizatin
whit debian
distribution
and I install
xen-linux-sysem
on the PC.
In this PC a
VM doesn''t
work
correctly.
I would like
to know if
exist a simple
tutorial to
configure PC
and VM .
Thanks in advance
Luisa
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue
allegato-----
_______________________________________________
Xen-users
mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue
allegato-----
_______________________________________________
Xen-users
mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----Segue allegato-----
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Good morning Luisa, not me. You must. :-) Windows is HVM type of DomU but xen-create-image creates paravirtualized guest type of DomU so your kernel needs to be compiled with PV ops. And that''s why I point to use HVM type of linux. Is your dom0 accesible via SSH? Maybe it would be best to connect to your dom0 and install the domU by myself? Dne 7.5.2013 08:44, Luisa Posani napsal(a):> Good morning Jan > > > you say > > " Your kernel image is compiled without Xen PV options or ...." > > This means that you must compiled kernel support XEN PV? > > When I install windowsXX how the installation recognizes virtualization? > > > > --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: > > > Da: Jan Hejl <jh@excello.cz> > Oggetto: Re: [Xen-users] Hardware virtualization > A: "Luisa Posani" <lposani@yahoo.it> > Cc: xen-users@lists.xen.org > Data: Lunedì 6 maggio 2013, 18:17 > > > Dne 6.5.2013 17:46, Luisa Posani napsal(a): >> >> I use your configuration file >> >> I have an error. >> I try to rewrite.. >> EDD: Error 0c00 reading sector 96454 >> No DEFAULT or UI configuration directive found! >> boot: >> >> and stop. >> > Haven''t seen this before. Are you sure that everything goes right? > Specially image creation or paths to images? >> Where is the problem??? >> >> I asked the question of iso image because I need to use a non >> standard kernel e fs. >> Hence the decision to use buildroot. >> >> And so >> >> I try to use my buildroot fs and kernel >> >> I create image with >> >> xen-create-image --fs=ext2 >> --kernel=/home/posani/buildroot/buildroot-xen/output/images/bzImage >> --install-method=tar >> --initrd=/home/posani/buildroot/buildroot-xen/output/images/rootfs.tar >> --hostname=prova1 --dhcp --verbose --passwd --force >> >> This command generate prova1.cfg file >> >> >> cat prova1.cfg >> # >> # Configuration file for the Xen instance prova1, created >> # by xen-tools 4.2 on Mon May 6 19:06:08 2013. >> # >> >> # >> # Kernel + memory size >> # >> kernel = ''/home/posani/buildroot/buildroot-xen/output/images/bzImage'' >> ramdisk = ''/boot/initrd.img-2.6.32-5-xen-amd64'' >> >> vcpus = ''1'' >> memory = ''128'' >> >> # >> # Disk device(s). >> # >> root = ''/dev/xvda2 ro'' >> disk = [ >> ''file:/home/xen/domains/prova1/disk.img,xvda2,w'', >> ''file:/home/xen/domains/prova1/swap.img,xvda1,w'', >> ] >> >> >> # >> # Physical volumes >> # >> >> >> # >> # Hostname >> # >> name = ''prova1'' >> >> # >> # Networking >> # >> dhcp = ''dhcp'' >> vif = [ ''mac=00:16:3E:F0:3B:4A'' ] >> >> # >> # Behaviour >> # >> on_poweroff = ''destroy'' >> on_reboot = ''restart'' >> on_crash = ''restart'' >> >> >> >> but when i make >> >> >> xm create prova1.cfg >> Using config file "./prova1.cfg". >> Error: (2, ''Invalid kernel'', ''elf_xen_note_check: ERROR: Will >> only load images built for the generic loader or Linux images'') >> > Your kernel image is compiled without Xen PV options or is not > properly bziped. >> >> I''m looking for internet to resolve this error but I understand >> that I need xen on my kernel. >> But I thought I could use a generic VM... >> >> I''m confused... >> >> Thanks for your help >> I hope I explained well my problem. >> >> ;-) >> >> Luisa >> >> >> >> >> >> >> >> >> --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz> >> </mc/compose?to=jh@excello.cz>/* ha scritto: >> >> >> Da: Jan Hejl <jh@excello.cz> </mc/compose?to=jh@excello.cz> >> Oggetto: Re: [Xen-users] Hardware virtualization >> A: "Luisa Posani" <lposani@yahoo.it> >> </mc/compose?to=lposani@yahoo.it> >> Cc: xen-users@lists.xen.org >> </mc/compose?to=xen-users@lists.xen.org> >> Data: Lunedì 6 maggio 2013, 15:26 >> >> What is your level of linux knowledge? Or IT at all? >> >> This ISO contains LIVE version of Gentoo. Something like >> minimal ubuntu that''s neccesary for ubuntu installation. You >> don''t need to create anything. Go through install process and >> then you''ll have your own system installed on domu-01.img. >> >> Dne 6.5.2013 15:18, Luisa Posani napsal(a): >>> Hi Jan >>> >>> I''m downloading >>> install-amd64-minimal-20130425.iso >>> >>> and I try to work. >>> >>> If I haven''t this minimal image it''s possible to work? >>> What does it contains? >>> How can I create this image? >>> >>> >>> >>> >>> --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>> >>> >>> Da: Jan Hejl <jh@excello.cz> >>> Oggetto: Re: [Xen-users] Hardware virtualization >>> A: "Luisa Posani" <lposani@yahoo.it> >>> Cc: xen-users@lists.xen.org >>> Data: Lunedì 6 maggio 2013, 14:59 >>> >>> Create domU config file in /etc/xen/domu-01.cfg: >>> >>> builder=''hvm'' >>> memory = 2048 >>> name = "DomU-01" >>> vcpus=2 >>> vif = [ ''bridge=xenbr1, script=vif-bridge, type=ioemu, model=e1000, mac=00:16:3e:63:80:88'' ] >>> disk = [ ''file:/root/domu-01.img,hda,w'', >>> ''file:/root/install-amd64-minimal-20130425.iso,hdc:cdrom,r'' >>> ] >>> on_poweroff = ''destroy'' >>> on_reboot = ''restart'' >>> on_crash = ''restart'' >>> boot="dc" >>> vnc=1 >>> vnclisten="127.0.0.1" >>> vncpasswd='''' >>> >>> Download this >>> http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20130425.iso >>> to your /root folder. Create hard drive image: >>> >>> dd if=/dev/zero of=/root/domu-01.img bs=1M count=10000 >>> >>> Start your domU with: >>> >>> xl create /etc/xen/domu-01.cfg >>> >>> Then you should be able to connect with Remmina to >>> localhosts VNC and then you''ll see Gentoo Live CD >>> booting. Here''s how to install Gentoo >>> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml. Chapter >>> 7 describes kernel compiling - custom config or genkernel. >>> >>> When you''ll be done with Gentoo installation, you shold >>> poweroff you domU, change boot value to: >>> >>> boot="cd" >>> >>> And after: >>> >>> xl create /etc/xen/domu-01.cfg >>> >>> you should see your Gentoo booting up. >>> >>> Hope this helps. >>> >>> Jan >>> >>> Dne 6.5.2013 14:41, Luisa Posani napsal(a): >>>> Can you suggest me the simplest way to create a VM >>>> linux from scratch using kernel code source? >>>> >>>> tks >>>> >>>> Luisa >>>> >>>> >>>> >>>> >>>> >>>> >>>> --- *Lun 6/5/13, Jan Hejl /<jh@excello.cz>/* ha scritto: >>>> >>>> >>>> Da: Jan Hejl <jh@excello.cz> >>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>> A: "Luisa Posani" <lposani@yahoo.it> >>>> Cc: xen-users@lists.xen.org >>>> Data: Lunedì 6 maggio 2013, 13:11 >>>> >>>> Hi Luisa, >>>> >>>> great news, i use Remmina also. Great tool. >>>> >>>> ''disk = '' is used for defining VM''s hard drive. I''m >>>> not familiar with buildroot but as I read about >>>> CPIO it''s file archiver and Xen disk image should >>>> be in RAW format. So you should extract rootfs.cpio >>>> to raw disk image which could be created with dd. >>>> Example: >>>> >>>> dd if=/dev/zero of=rootfs.img bs=1M count=10000 >>>> >>>> As with normal hard drive you can use fdisk make >>>> some partitions on rootfs.img, format them and >>>> extract rootfs.cpio there. Then you can set this >>>> harddrive img in your xen config file for HVM style >>>> (hda but it should apper as sda inside domU): >>>> >>>> disk = [ ''file:/path/to/rootfs.img,hda,w'' ] >>>> >>>> Or you can pass the path to rootfs.img to >>>> xen-create-image. If rootfs.cpio contains all files >>>> including kernel image it should boot normally. As >>>> I wrote I''m not familiar with buildroot thus you''re >>>> little bit on your own in this case and i''m sorry >>>> for not being more straightforward but you''re using >>>> specific scenario. Maybe I''ll save some time for >>>> testing this and let you know later on. >>>> >>>> Have a nice day >>>> Jan >>>> >>>> Dne 6.5.2013 12:38, Luisa Posani napsal(a): >>>>> Hi Jan >>>>> >>>>> I launch my windows VM whit graphical program >>>>> named "Remmina Remote desktop client" and it work >>>>> well.. >>>>> >>>>> :-) :-) :-) :-) >>>>> >>>>> Maybe I was wrong a few parameters to launch >>>>> manual gncviewer >>>>> >>>>> Let me explain what is my main problem. >>>>> I would like to start a virtual machine created >>>>> with buildroot standard WHITOUT XEN driversin the VM. >>>>> I have some problems creating the configuration >>>>> file for this virtual machine. >>>>> I don''t know if I have to work with a ramdisk >>>>> (rootfs.cpio created by buildroot) or not and >>>>> what should be the configuration file under (p.e.) >>>>> /etc/xen/VM_buildroot. >>>>> >>>>> I don''t understand the meaning of the ''disk ='' in >>>>> the configuration file. >>>>> >>>>> you know a tutorial that I could follow to create >>>>> this file? >>>>> >>>>> Xen provides the xen-create-image command to >>>>> create the file, but I do not know how to give >>>>> parameters to the command (initrd >>>>> install-install-source method ...) >>>>> >>>>> Can you help me? >>>>> >>>>> Thanks in advance. >>>>> >>>>> Luisa >>>>> >>>>> >>>>> >>>>> >>>>> --- *Gio 25/4/13, Jan Hejl /<jh@excello.cz>/* ha >>>>> scritto: >>>>> >>>>> >>>>> Da: Jan Hejl <jh@excello.cz> >>>>> Oggetto: Re: [Xen-users] Hardware virtualization >>>>> A: "Luisa Posani" <lposani@yahoo.it> >>>>> Cc: xen-users@lists.xen.org >>>>> Data: Giovedì 25 Aprile 2013, 11:19 >>>>> >>>>> Hi Luisa, >>>>> >>>>> great, so you''re cpu is capable for running >>>>> Xen. The reason why you don''t see it is >>>>> explained here >>>>> http://old-list-archives.xen.org/archives/html/xen-users/2010-09/msg00180.html. >>>>> >>>>> >>>>> Just to be clear. You''ve already start your >>>>> system with xen and tried to start Windows Xp >>>>> domU as this guide describes, do you? And the >>>>> problem is that you can''t connect to your >>>>> Windows XP domU with GNCVIEWER or something >>>>> else? Is your domU running? What does the "xl >>>>> start" command say? >>>>> >>>>> Thank you and have a nice day >>>>> Jan >>>>> >>>>> Dne 24.4.2013 17:54, Luisa Posani napsal(a): >>>>>> >>>>>> Hi >>>>>> >>>>>> if I make >>>>>> >>>>>> /proc/cpuinfo flags >>>>>> >>>>>> without xen I found vmx. >>>>>> >>>>>> when I start PC with xen flag vmx doesn''t appare. >>>>>> >>>>>> Why? >>>>>> >>>>>> I would like use a guest OS make with >>>>>> buildroot "standard" without xen driver. >>>>>> >>>>>> I use >>>>>> http://wiki.xen.org/wiki/Xen_Beginners_Guide#Configure_GRUB_to_start_Xen >>>>>> >>>>>> but doesn''t work correctly. >>>>>> >>>>>> Doesn''t work gvncviewer for using a window XP >>>>>> iso image and now I''m compiling a buildroot >>>>>> standard (qemu_x86 config). >>>>>> >>>>>> >>>>>> >>>>>> Luisa >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> --- *Mer 24/4/13, Jan Hejl /<jh@excello.cz>/* >>>>>> ha scritto: >>>>>> >>>>>> >>>>>> Da: Jan Hejl <jh@excello.cz> >>>>>> Oggetto: Re: [Xen-users] Hardware >>>>>> virtualization >>>>>> A: "Luisa Posani" <lposani@yahoo.it> >>>>>> Cc: xen-users@lists.xen.org >>>>>> Data: Mercoledì 24 Aprile 2013, 17:08 >>>>>> >>>>>> Sure, I can. >>>>>> >>>>>> You should check your cpuinfo if it >>>>>> supports virtualization. Look here >>>>>> http://virt-tools.org/learning/check-hardware-virt/ >>>>>> >>>>>> If it does, tell me what is your goal and >>>>>> what have you done already? >>>>>> >>>>>> Dne 24.4.2013 16:03, Luisa Posani napsal(a): >>>>>>> Thank''s for your indication. >>>>>>> >>>>>>> I can''t find my cpu in your list. >>>>>>> >>>>>>> In my PC I can enable the virtualization >>>>>>> from BIOS. >>>>>>> >>>>>>> I don''t understand the difference. >>>>>>> >>>>>>> Can you help me please? >>>>>>> >>>>>>> >>>>>>> Luisa >>>>>>> >>>>>>> --- *Mer 24/4/13, Jan Hejl >>>>>>> /<jh@excello.cz>/* ha scritto: >>>>>>> >>>>>>> >>>>>>> Da: Jan Hejl <jh@excello.cz> >>>>>>> Oggetto: Re: [Xen-users] Hardware >>>>>>> virtualization >>>>>>> A: xen-users@lists.xen.org >>>>>>> Data: Mercoledì 24 Aprile 2013, 10:35 >>>>>>> >>>>>>> Hello Luisa, >>>>>>> >>>>>>> here >>>>>>> http://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware >>>>>>> is a list IOMMU supporting hardware, >>>>>>> this is a good point to start. IOMMU >>>>>>> is not necessary for virtualization, >>>>>>> but hardware listed here supports VM. >>>>>>> >>>>>>> Jan >>>>>>> >>>>>>> Dne 24.4.2013 09:43, Luisa Posani >>>>>>> napsal(a): >>>>>>>> Hi >>>>>>>> >>>>>>>> It''s my first experience with xen >>>>>>>> >>>>>>>> I would like to use a OS linux >>>>>>>> create by buildroot like a guest. >>>>>>>> I have a PC whit virtualizatin whit >>>>>>>> debian distribution and I install >>>>>>>> xen-linux-sysem on the PC. >>>>>>>> >>>>>>>> In this PC a VM doesn''t work correctly. >>>>>>>> >>>>>>>> I would like to know if exist a >>>>>>>> simple tutorial to configure PC and >>>>>>>> VM . >>>>>>>> >>>>>>>> Thanks in advance >>>>>>>> >>>>>>>> >>>>>>>> Luisa >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Xen-users mailing list >>>>>>>> Xen-users@lists.xen.org >>>>>>>> http://lists.xen.org/xen-users >>>>>>> >>>>>>> >>>>>>> -----Segue allegato----- >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xen-users mailing list >>>>>>> Xen-users@lists.xen.org >>>>>>> http://lists.xen.org/xen-users >>>>>>> >>>>>> >>>>>> >>>>>> -----Segue allegato----- >>>>>> >>>>>> _______________________________________________ >>>>>> Xen-users mailing list >>>>>> Xen-users@lists.xen.org >>>>>> http://lists.xen.org/xen-users >>>>>> >>>>> >>>> >>> >>> >>> -----Segue allegato----- >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >>> >> >> >> -----Segue allegato----- >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > > > -----Segue allegato----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org </mc/compose?to=Xen-users@lists.xen.org> > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users