[libvirt-users] kvm virtual server boot order
by Yee Ja
The boot order issue
http://osdir.com/ml/libvir-list/2009-08/msg00398.html
resolved with the code changes specified by
http://www.redhat.com/archives/libvir-list/2009-August/msg00340.html
seems to suggest that hard disks, cdroms, floppy devices (since they are
all disks) are ordered primarily by virtual bus type as encountered in the
domain xml. This indicates that there can exist a conflict between the
primary and secondary boot device types.
Given the scenario where the disks of a virtual server are defined in the
following order
harddisk hda
harddisk vda
cdrom vdb
cdrom hdb
Boot device type is crdom. Which cdrom device will be boot attempted?
>From the above links, I'm guessing that hdb will be boot attempted. Is this
the actual behavior?
Thanks,
Yee
--
yja(a)us.ibm.com * 512-286-6793 T/L 363 * Systems Management Software
Development * Austin, TX
13 years, 8 months
[libvirt-users] Undefined interfaces?
by Alex
Hi,
I have a working fc14 install with a few virtual interfaces set up,
and just noticed the following in messages:
Apr 18 13:07:43 fc14 libvirtd: 13:07:43.155: error :
interfaceGetXMLDesc:355 : internal error could not get interface XML
description (netcf: NETLINK socket operation failed - couldn't find
ifindex for interface `br0:0`)
Apr 18 13:07:43 fc14 libvirtd: 13:07:43.165: error :
interfaceGetXMLDesc:355 : internal error could not get interface XML
description (netcf: NETLINK socket operation failed - couldn't find
ifindex for interface `eth0:0`)
Apr 18 13:07:43 fc14 libvirtd: 13:07:43.175: error :
interfaceGetXMLDesc:355 : internal error could not get interface XML
description (netcf: NETLINK socket operation failed - couldn't find
ifindex for interface `eth1:0`)
Apr 18 13:07:43 fc14 libvirtd: 13:07:43.185: error :
interfaceGetXMLDesc:355 : internal error could not get interface XML
description (netcf: NETLINK socket operation failed - couldn't find
ifindex for interface `eth1:1`)
I see several references that indicate this may be a bug. Or have I
configured something wrong?
I have some interfaces configured to be a bridge and others are
configured as a regular network, with the guests being masqueraded.
It's certainly possible I've configured something incorrectly.
I'm not sure what information to provide to help troubleshoot this.
Any information would be greatly appreciated.
Thanks,
Alex
13 years, 8 months
[libvirt-users] Accessing a MAC address from inside the VM?
by David Lane
Greetings,
I have a very simple problem, but the resolution is proving rather complex.
Bare with me, I will attempt to explain.
I have a host machine with no GUI.
I attach an existing .img file to the host machine and need to change the
MAC address (since the image was created on another machine). Is there a
way from with in the guest to do this or do I have muck with the XML? And
if I muck with the XML and change it, how do I pass this information up to
the guest, or will the guest see it automagically or do I have to write it
down and then manually transfer it into the guest's ifcfg?
Using the GUI, when you change the NIC, the guest generally does not see the
new MAC and grouses until you change it.
Thanks.
DAVID
13 years, 8 months
[libvirt-users] USB2 passthrough
by Marco van Beek
Hi,
I am trying to get a USB device working on a Windows 7 virtual machine,
and it needs USB2 to work, so the USB passthrough does not work. I have
searched for an answer and either the answer is so obvious I am being
thick, or too complicated for anyone to address it.
Can I simply do a PCI passthrough of a USB host controller? Would that
then give me a whole load of USB2 ports I could connect to my computer?
I would have to find out which port was connected to which controller,
but surely it can't be that simple?
Thanks,
Marco
--
Marco van Beek
===================================================
Forget About IT Ltd.
Grove Park Studios,
188-192 Sutton Court Rd,
London, W4 3HR
===================================================
T: 0870 757 2924
F: 0870 757 2926
M: 0788 770 3604
E: mvanbeek(a)forgetaboutit.net
W: http://www.forgetaboutit.net/
===================================================
Forget About IT and FABIT are registered trademarks
===================================================
Company Registered in England No. 05375739
===================================================
13 years, 8 months
[libvirt-users] add file.img in libvirt
by Marco Mirabile
Good day
I downloaded an image of a VMs "centOS.img"
how can I open this image from libvirt?
I ask you with virt-install, but I could not
help me
dominioYP
13 years, 8 months
[libvirt-users] Problems setting up bridge
by Alex
Hi,
I have a fc14 box with two interfaces that I'm having some difficulty
setting up a bridge properly. I have a few kvm guests set up and
running, but I've switched from using NetworkManager to using standard
networking with a bridge. I've modified the ifcfg-eth0 and created
ifcfg-br0 as per the standard documentation, but I think I'm having
routing problems. This is what the network looks like:
[root@fc14 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
68.195.XXX.40 * 255.255.255.248 U 0 0 0 br0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.125.0 * 255.255.255.0 U 0 0 0 virbr0
link-local * 255.255.0.0 U 1003 0 0 eth1
link-local * 255.255.0.0 U 1004 0 0 br0
default ool-44c3c129.st 0.0.0.0 UG 0 0 0 br0
br0 Link encap:Ethernet HWaddr 40:61:86:4E:84:09
inet addr:68.195.XXX.42 Bcast:68.195.XXX.47 Mask:255.255.255.248
inet6 addr: fe80::a0e7:ecff:fefd:340a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3883 errors:0 dropped:0 overruns:0 frame:0
TX packets:3579 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1818327 (1.7 MiB) TX bytes:590720 (576.8 KiB)
eth0 Link encap:Ethernet HWaddr 40:61:86:4E:84:09
inet6 addr: fe80::4261:86ff:fe4e:8409/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3891 errors:0 dropped:0 overruns:0 frame:0
TX packets:3551 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:1873169 (1.7 MiB) TX bytes:588302 (574.5 KiB)
Interrupt:42
eth1 Link encap:Ethernet HWaddr 00:0E:0C:3B:36:F4
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20e:cff:fe3b:36f4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7622 errors:0 dropped:0 overruns:0 frame:0
TX packets:6936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1062687 (1.0 MiB) TX bytes:4304984 (4.1 MiB)
virbr0 Link encap:Ethernet HWaddr E6:ED:D2:6E:58:5C
inet addr:192.168.125.1 Bcast:192.168.125.255 Mask:255.255.255.0
UP BROADCAST RUNNING 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vnet0 Link encap:Ethernet HWaddr FE:54:00:67:2C:4C
inet6 addr: fe80::fc54:ff:fe67:2c4c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:391 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:300 (300.0 b) TX bytes:23358 (22.8 KiB)
I've left out the loopback for simplicity. The problem is that I can't
reach the br0 device from a server on the eth1 device (the 192.168.
network).
Is this a routing issue? Should I also add the eth1 device to the
bridge? If so, how would I do that?
Also, can you explain under what circumstances a tun device would be
used? Does that have any relation to bridging?
Thanks,
Alex
13 years, 8 months
[libvirt-users] Where actually is the callback triggered?
by kadir yüceer
Hi all,
Quick question:
When the hypervisor triggers a callback which is registered for generic
events, (assuming I'm connected through qemu+tcp) where exactly is the
callback triggered? On the hypervisor host or on my host?
Regards
Kadir
13 years, 8 months
[libvirt-users] custom iptables rules
by Kurian Thayil
Hi,
Is there a way that we can add custom IP-Tables rules in a nat'd
physical host? I need some custom rules mentioned in physical host to
access some services in the guest systems. Any hints on this?
Regards,
Kurian Thayil.
13 years, 8 months
[libvirt-users] virsh shutdown
by Zvi Dubitzky
Hi
For some reason recent libvirt code (0.8.3 and even before) the 'virsh
shutdown <domain> ' is not effective .
It issues an ok message but the domians remains in a runnning state .
Only th e destroy works fine.
Any idea ?
thanks
Zvi Dubitzky
Email:dubi@il.ibm.com
13 years, 8 months