On 01/26/2010 11:22 PM, Jamin W. Collins wrote: > Every time I start a Windows Vista or Windows 7 virtual machine it > request a that a location be set for the network, regardless of the fact > that the network location has already been set the same way every time > the system is started. Near as I can tell the VM's NIC MAC, IP address, > DNS servers, default gateway, and all other network related items are > the same every single time. While this does not stop the VM from > working it is annoying. > > I'm starting the VM the same way through libvirt every single time. The > resultant kvm command line is: > > /usr/bin/kvm -S -M pc-0.11 -cpu qemu32 -enable-kvm -m 1536 -smp 1 -name > win7 -uuid 6671f42a-b974-6bb9-bd7e-fd1da95cabe5 -monitor > unix:/var/lib/libvirt/qemu/win7.monitor,server,nowait -localtime -boot c > -drive file=/media/devel/testing/win7/testing.img,if=ide,index=0,boot=on > -drive > file=/media/devel/testing/isos/en_windows_7_professional_x86_dvd_x15-65804.iso,if=ide,media=cdrom,index=2 > -net nic,macaddr=54:52:00:37:4a:ce,vlan=0,model=rtl8139,name=rtl8139.0 > -net tap,fd=38,vlan=0,name=tap.0 -serial pty -parallel none -usb > -usbdevice tablet -vga cirrus > > While the uuid isn't the same from one execution to the next, to my > knowledge it's not something the VM ever sees and is only an identifier > within KVM. Has anyone else seen anything like this? Actually, that's not true (if I remember correctly). The uuid is exposed to the guest via the SMBIOS tables, so that might be causing the problem. Try setting the UUID in the libvirt XML, and that may solve it. -- Chris Lalancette -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html