Gary Dale wrote:
> Michael Tokarev wrote:
>> Gary Dale wrote:
>>  
>>> Package: qemu-kvm
>>> Followup-For: Bug #572784
>>>
>>> Networking starts only on the first time that I start an XP virtual
>>> machine after a reboot of the actual machine. If I subsequently restart
>>> the virtual machine, or the XP instance within it, the network only
>>> comes up enough for me to connect to my Samba server. I can't get
>>> out to the Internet or ping some machines on my network.
>>
>> Gary, can you please describe why do you think your problem is
>> the same as #572784?
[]
> My problem looked similar based on the subject line.
> 
> My qemu-kvm command line is
>  kvm -cpu phenom -enable-kvm -vga std -localtime -hda
> ~/.virt/windowsxp/windows.qcow -m 1G

Aha.  So it is user-mode networking.

Gary, that's.. difficult.  The thing is, there is no way
I can think of the situation you describe.  With user-mode
networking, kvm is just a normal user-space process, like
your web browser etc.  You restart it, and it acts the same
way as before -- unless something else started on your host
which prevents it from working correctly.

> My virtual machine is running Windows XP/Pro with SP3 and all the later
> patches. I have very little else on it other than Pinnacle Studio 9.
> 
> My main board is a Gigabyte GA-MA790GP-UD4H with a Realtek 8111C NIC
> onboard. I'm connecting to a Linksys WRT610N router which provides dhcp
> services while my Samba server is running Debian/Lenny.

This is all not really relevant.  Note that with user-mode net
in kvm, the dhcp server used is built-in to kvm, not any your
local one.  It provides fixed ip address - 10.2.2.2 if memory
serves me right.  See http://www.linux-kvm.org/page/Networking
for additional networking options.


> My /etc/network/interfaces file is:
> 
> auto lo
> iface lo inet loopback
> address 127.0.0.1
> netmask 255.0.0.0
> 
> mapping eth1
>        script grep
>        map eth1
> 
> iface eth0 inet manual
> 
> auto br0
> iface br0 inet dhcp
>   pre-up /usr/sbin/tunctl -u garydale -t tap0
>   pre-up ifconfig tap0 up
>   bridge_ports all tap0
>   post-down ifconfig tap0 down
>   post-down tunctl -d tap0

Note that you almost completed bridged networking setup
for kvm for non-root user, only the kvm command line is
missing.

Please check your networking setup, and if you still
has the issue please file a new bug.  Thanks.

/mjt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to