public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Lalancette <clalance@redhat.com>
To: "Jamin W. Collins" <jcollins@asgardsrealm.net>
Cc: kvm@vger.kernel.org
Subject: Re: Windows Vista/7 repeatedly prompt to Set Network Location
Date: Wed, 27 Jan 2010 09:05:12 -0500	[thread overview]
Message-ID: <4B604818.7070603@redhat.com> (raw)
In-Reply-To: <4B5FBF85.9060907@asgardsrealm.net>

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

  reply	other threads:[~2010-01-27 14:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27  4:22 Windows Vista/7 repeatedly prompt to Set Network Location Jamin W. Collins
2010-01-27 14:05 ` Chris Lalancette [this message]
2010-01-27 14:20   ` Jamin W. Collins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B604818.7070603@redhat.com \
    --to=clalance@redhat.com \
    --cc=jcollins@asgardsrealm.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox