* Windows Vista/7 repeatedly prompt to Set Network Location
@ 2010-01-27 4:22 Jamin W. Collins
2010-01-27 14:05 ` Chris Lalancette
0 siblings, 1 reply; 3+ messages in thread
From: Jamin W. Collins @ 2010-01-27 4:22 UTC (permalink / raw)
To: kvm
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?
Please CC me, as I'm not subscribed to the list.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Windows Vista/7 repeatedly prompt to Set Network Location
2010-01-27 4:22 Windows Vista/7 repeatedly prompt to Set Network Location Jamin W. Collins
@ 2010-01-27 14:05 ` Chris Lalancette
2010-01-27 14:20 ` Jamin W. Collins
0 siblings, 1 reply; 3+ messages in thread
From: Chris Lalancette @ 2010-01-27 14:05 UTC (permalink / raw)
To: Jamin W. Collins; +Cc: kvm
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Windows Vista/7 repeatedly prompt to Set Network Location
2010-01-27 14:05 ` Chris Lalancette
@ 2010-01-27 14:20 ` Jamin W. Collins
0 siblings, 0 replies; 3+ messages in thread
From: Jamin W. Collins @ 2010-01-27 14:20 UTC (permalink / raw)
To: Chris Lalancette; +Cc: kvm
Chris Lalancette wrote:
> On 01/26/2010 11:22 PM, Jamin W. Collins wrote:
>>
>> 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.
Even with the UUID defined in the XML I'm still repeatedly getting the
prompt to define the network location. If I simply reboot the virtual
machine all is well. However, if I actually shut the virtual machine
down, on the next startup it will ask for the network location type.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-27 14:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 4:22 Windows Vista/7 repeatedly prompt to Set Network Location Jamin W. Collins
2010-01-27 14:05 ` Chris Lalancette
2010-01-27 14:20 ` Jamin W. Collins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox