Re: network between host and guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



on 05/13/2010 10:48 PM dryden@xxxxxxxxxxxxx wrote the following:
> Ar 10.05.10 10:46, scríobh Thanasis:
>> I have installed kvm (app-emulation/qemu-kvm-0.12.3-r1) on linux (a
>> laptop with gentoo linux) and MS Windows 7 as guest.
>> Here is what info I get about the network on each one:
>> 1) on linux (host):
>
> [snip]
>
> Hi there:
>
> The precise KVM command would be useful in determining what's going on.
>
> Since I'm guessing, I may as well presume you used "-net
> nic,(options...) -net user".  If you did, the magick is in the qemu
> binary which is both providing a DHCP service to the guest and
> performing the necessary outbound source NAT.
>
> But as others have mentioned, more information on how you started KVM
> might be useful to determine what's going on.  The reason is that there
> are several ways to set up networking in KVM.
>
The command is (and running as a user, not root):

$ kvm win7kvm.img -m 1024 -boot c -usb -usbdevice tablet

$ which kvm
/usr/bin/kvm
$ ls -l /usr/bin/kvm
lrwxrwxrwx 1 root root 17 Apr 21 15:10 /usr/bin/kvm -> /usr/bin/qemu-kvm
$ file /usr/bin/qemu-kvm
/usr/bin/qemu-kvm: POSIX shell script text executable
$ cat /usr/bin/qemu-kvm
#!/bin/sh
exec /usr/bin/qemu-system-x86_64 --enable-kvm "$@"
$ file /usr/bin/qemu-system-x86_64
/usr/bin/qemu-system-x86_64: ELF 64-bit LSB executable, x86-64, version
1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9,
stripped
$



--
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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux