xen-users
Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26)
On Fri, Oct 21, 2011 at 7:33 PM, Joseph Glanville
<joseph.glanville@xxxxxxxxxxxxxx> wrote:
> On 22 October 2011 02:28, Lars Kurth <lars.kurth@xxxxxxx> wrote:
>> On 21/10/2011 04:44, Joseph Glanville wrote:
>>> Alot of us take for granted that we have been using Xen for a long time
>>> and many of these things come so naturally to us - whereas from the outside
>>> it all seems too difficult.
>>
>> I think what you seem to be saying is that there would be extremely high
>> value in having a "Getting started" guide and some other entry level
>> documentation (even if just an index page) accessible from the wiki front
>> page.
>
> Precisely, documenting the more advanced features of Xen seems to be
> something that we can approach over time. Beginner documentation is
> immeadiately lacking and seems to be an easier target that would benefit
> more people.
Yes please!!!! For example, I just created a VM:
---/etc/xen/win7.cfg---
kernel = '/usr/lib/xen-4.1/boot/hvmloader'
builder = 'hvm'
memory = '4096'
device_model = '/usr/lib/xen-4.1/bin/qemu-dm'
vcpus=8
# Disk
disk = ['file:/home/xen/domains/win7/win7.img,ioemu:hda,w',
'file:/home/me/Downloads/installers_windows/en_windows_7_enterprise_x64_dvd_x15-70749.iso,ioemu:hdc:cdrom,r',
'file:/home/me/cdr.iso,ioemu:hdd:cdrom,r' ]
# Hostname
name = 'win7'
# Networking
vif = ['type=ioemu, bridge=br0' ]
# Behavior
boot = 'd'
vnc = 1
vncviewer= 1
sdl = 0
--------------------
-----/etc/network/interfaces-----
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo br0 virtual0 nat0
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
# The bridge for Xen virtual machines
iface br0 inet manual
bridge_ports eth0
bridge_maxwait 0
# The bridge for non-routed network
iface virtual0 inet manual
bridge_maxwait 0
# The bridge for natted stuff
iface nat0 inet manual
bridge_maxwait 0
----------------------------
# ifconfig -a
br0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
inet6 addr: fe80::f2de:f1ff:fe40:b2a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36354 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6672740 (6.3 MiB) TX bytes:3857 (3.7 KiB)
eth0 Link encap:Ethernet HWaddr f0:de:f1:40:0b:2a
inet addr:10.10.20.135 Bcast:10.10.21.255 Mask:255.255.254.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:4044776 errors:0 dropped:87 overruns:0 frame:0
TX packets:27576 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:605780353 (577.7 MiB) TX bytes:4929467 (4.7 MiB)
Interrupt:20 Memory:f2600000-f2620000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3323354 errors:0 dropped:0 overruns:0 frame:0
TX packets:3323354 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:33084455363 (30.8 GiB) TX bytes:33084455363 (30.8 GiB)
tap5.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:126 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:16348 (15.9 KiB) TX bytes:4995 (4.8 KiB)
vif5.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:24:d7:8f:52:a0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# brctl show
br0 8000.feffffffffff no tap5.0
vif5.0
# xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 11935 8 r----- 61565.3
win7 5 4099 8 -b---- 69.7
I could have sworn I have everything done right, but I found out I'm
missing a few pieces of information.
1) How do I create a second interface in dom0 to interface with br0?
2) What Windows drivers should I use, if any?
3) How do I insert a USB thumbdrive into the VM?
4) xm has "start". xl doesn't seem to have "start"?
5) For disks, is ioemu the best to use? I'm just using a file on the
filesystem as the VM's drive.
Sorry to interrupt this thread, but hopefully you experienced xen
users can see what a newbie to xen faces
--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted." -- Gene Spafford
learn french: http://www.youtube.com/watch?v=30v_g83VHK4
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), (continued)
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Lars Kurth
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Konrad Rzeszutek Wilk
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), bofh
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Ian Campbell
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Lars Kurth
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Joseph Glanville
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Lars Kurth
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Joseph Glanville
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Lars Kurth
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Joseph Glanville
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26),
bofh <=
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Konrad Rzeszutek Wilk
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Lars Kurth
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Joseph Glanville
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Lars Kurth
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Joseph Glanville
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Florian Heigl
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Ian Campbell
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Fajar A. Nugraha
- Re: [Xen-users] Re: [Xen-devel] Xen document day (Oct 12 or 26), Lars Kurth
|
|
|