I'm learning about bridged networking and how it is applied to virtual
environments (bypassing all the automation provided by libvirtd etc) .
I have a question regarding ip configuration for the virtual bridge.
Let's say I have a host (my machine) where I want to run 3 VMs bridged
to my home network (thru eth0). I have a DHCP server running on my DSL
router, and I have dhcp enabled on my 3 VMs so they all should get a
lease from the DHCP.
As far as a I know these are the raw steps needed to accomplish this:
1- create br0
2- remove current ip address from eth0
3- enslave eth0 to br0
4- create tap devices
5- attach tap devices to br0
6- assign tap devices to every VM
As you can see I haven't assigned an ip address to the virtual bridge
(br0). Why is it that (on almost any site that I visit with this setup)
they always end up assigning an ip address to br0?
Thanks in advance!
virsh start --console "some-guest"
How can a different kernel be booted from?
If kernel=0 won't complete boot.
On one Guest, cannot enter luks pw.
It shows where to enter it,
just no asterisks.
even though all console=tty*
is in last position on grub2 cmd line.
"Jack of all, fubars"
I have this silly script I use to make a copy of a Windows XP
virtual machine, changing the machine name and default
I've just tried to use it for the first time in fedora 17
and the part that updates the cached wallpaper image with
the .bmp file XP wants seems to not work.
I don't see any errors when I run it, but the background
comes up solid blue. If I right click and look at desktop
properties, it does claim to have the correct default
background set, and if I re-set it, it does display
Here's the relevant bit of code in my script:
# But wait! There's more, we not only need to fix the registry, but also
# update the cached bitmap image of the jpg file.
guestfish --ro -i -a $name.img download 'WIN:C:\WINDOWS\Web\Wallpaper\'"$wallpaper"'.jpg' $tmpdir/wall.jpg
convert $tmpdir/wall.jpg $bmp
guestfish -i -a $name.img upload $bmp 'WIN:C:\Documents and Settings\'"$user"'\Local Settings\Application Data\Microsoft\Wallpaper1.bmp'
Does this look like it ought to work? (Or maybe ImageMagick is
busted and isn't making a .bmp that XP likes?).
We have two vm clients and neither have sound.
hosting platform is Fedora 16 x86_64
first client is Fedora 17 i686
second client is Ubuntu 12.04 i686
Tried both VNC and Spice modes. Did set, vnc_allow_host_audio = 1, in
/etc/libvirt/qemu.conf file. Just in case we put selinux in Permissive
mode. Still no sound.
Another question is, when and if graphics 3D acceleration will work? We
tried the HoN game, disabled graphics detection, it segfaulted.
Hi have a situation with a Windows 2003 server that uses a fax modem.
I'd love to P2V this server but I need support for a Brooktrout
faxmodem. The idea is, just pass anything to/from this hardware
directly to the Windows guest VM, so the guest VM "thinks" it's
connected to the faxmodem. I haven't run across anything that says I
can do that with KVM virtual machines. Any ideas?
- Greg Scott
it should be possible to use virtio-scsi, even if not completely
integrated in libvirt.
And installation would require this part for the hard disk:
-drive if=none,id=hd,file=/path/to/test.img -device
virtio-scsi-pci,id=scsi -device scsi-hd,drive=hd
I have now an F17 host (kernel 3.3.7) and F17 guest (3.4.0) configured
with a virtio_blk disk
guest definition for the disk is this:
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
Can I change it with "virsh edit" so that I can use virtio-scsi inside
guest and test?
What would be the xml snippet for it? Or do I have to use also a
wrapper to start qemu-kvm with particular options as during install?
Thanks in advance,
Just wondering if there are any plans to add $SUBJECT.
Ian Pilcher arequipeno(a)gmail.com
"If you're going to shift my paradigm ... at least buy me dinner first."
I have a box with a LGA775 cpu socket.
Anybody know where I can find a list of LGA775 cpus that support VT-X
hardware virtualization, that is has the vmx flag?
"You can see a lot by just looking."
-- Yogi Berra