Guest network, wireless host

2009-08-29 Thread Thomas Koch
I found this howto about guests running on a host with wireless internet connection: (proxy arp) http://blog.bodhizazen.net/linux/bridge-wireless-cards/ The steps described there work so far, but it would be perfect, if the guest could somehow obtain an IP via DHCP and if the whole stuff could

Re: Poor network performance with cable modem assigned to guest

2009-08-29 Thread Jon Fairbairn
Brian Jackson i...@theiggy.com writes: On Friday 28 August 2009 01:14:42 pm Jon Fairbairn wrote: I'm experimenting with a virtual router. I did this a few years ago with Xen and it worked well enough, but then fedora changed and it stopped working, so I gave up for a while. Now I have a

[PATCH] KVM: prevent read from desc-shadow_ptes[-1] in rmap_desc_remove_entry()

2009-08-29 Thread Roel Kluin
prevent read from desc-shadow_ptes[-1] Signed-off-by: Roel Kluin roel.kl...@gmail.com --- If in rmap_remove() (bottom) we do: while (desc) { for (i = 0; i RMAP_EXT desc-shadow_ptes[i]; ++i) if (desc-shadow_ptes[i] == spte) {

[PATCH] x86 emulator: Add pusha and popa instructions

2009-08-29 Thread Mohammed Gamal
This adds pusha and popa instructions (opcodes 0x60-0x61), this enables booting MINIX with invalid guest state emulation on. Signed-off-by: Mohammed Gamal m.gamal...@gmail.com --- arch/x86/kvm/emulate.c | 52 +++- 1 files changed, 51 insertions(+), 1

[PATCH] Add pusha/popa instructions to the realmode test harness

2009-08-29 Thread Mohammed Gamal
This adds tests for pusha/popa to the test harness. Added some new typedefs while as well. Signed-off-by: Mohammed Gamal m.gamal...@gmail.com --- kvm/user/test/x86/realmode.c | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git

[PATCH] Add pusha/popa instructions to the realmode test harness

2009-08-29 Thread Mohammed Gamal
This adds tests for pusha/popa to the test harness. Added some new typedefs while as well. Signed-off-by: Mohammed Gamal m.gamal...@gmail.com --- kvm/user/test/x86/realmode.c | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git

[PATCH] Add pusha/popa instructions to the realmode test harness

2009-08-29 Thread Mohammed Gamal
This adds tests for pusha/popa to the test harness. Added some new typedefs while as well. Signed-off-by: Mohammed Gamal m.gamal...@gmail.com --- kvm/user/test/x86/realmode.c | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git

[PATCH] Add pusha/popa instructions to the realmode test harness

2009-08-29 Thread Mohammed Gamal
This adds tests for pusha/popa to the test harness. Added some new typedefs as well. Signed-off-by: Mohammed Gamal m.gamal...@gmail.com --- kvm/user/test/x86/realmode.c | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git

Re: kvm-88: KVM_APIC_READ: read reserved register b0

2009-08-29 Thread Christoph Lechner
Hi, just a quick status update. After switching to virtio networking, the problem disappeared. So far I transferred about 200GB from and to the virtual machine and no problem occurred. After the original posting, I discovered that the rtl8139 emulation suffers from loss of connection, too. 100%

Re: Poor network performance with cable modem assigned to guest

2009-08-29 Thread Jim Paris
Jon Fairbairn wrote: Brian Jackson i...@theiggy.com writes: On Friday 28 August 2009 01:14:42 pm Jon Fairbairn wrote: I'm experimenting with a virtual router. I did this a few years ago with Xen and it worked well enough, but then fedora changed and it stopped working, so I gave up for

Re: [PATCH] KVM: prevent read from desc-shadow_ptes[-1] in rmap_desc_remove_entry()

2009-08-29 Thread Avi Kivity
On 08/29/2009 03:13 PM, Roel Kluin wrote: prevent read from desc-shadow_ptes[-1] Signed-off-by: Roel Kluinroel.kl...@gmail.com --- If in rmap_remove() (bottom) we do: while (desc) { for (i = 0; i RMAP_EXT desc-shadow_ptes[i]; ++i) if (desc-shadow_ptes[i] == spte) {

Re: vhost_net_init returned -7

2009-08-29 Thread Michael S. Tsirkin
On Fri, Aug 28, 2009 at 03:10:43PM -0500, Brian Jackson wrote: I'm trying to tinker with vhost_net. I have a 2.6.31-rc4 host kernel patched to support vhost_net (v5) (along with ksm if it matters). The guest is a debian-5.0.2 (2.6.26) install CD for now. When the guest tries to load the

Re: vhost_net_init returned -7

2009-08-29 Thread Michael S. Tsirkin
On Fri, Aug 28, 2009 at 03:10:43PM -0500, Brian Jackson wrote: I'm trying to tinker with vhost_net. I have a 2.6.31-rc4 host kernel patched to support vhost_net (v5) (along with ksm if it matters). The guest is a debian-5.0.2 (2.6.26) install CD for now. When the guest tries to load the

Re: kvm-88: KVM_APIC_READ: read reserved register b0

2009-08-29 Thread Daniel Bareiro
On Friday, 28 August 2009 12:04:02 +0200, Christoph Lechner wrote: Hi all, Hi Christoph. running kvm-88 on a 2.6.26-1-amd64 kernel (stock Debian 5.0 kernel), I get the syslog on the host system flooded with the message: Aug 28 11:49:40 reactor kernel: [124035.611782] KVM_APIC_READ: read

Re: vhost_net_init returned -7

2009-08-29 Thread Brian Jackson
I'm guessing that's not something the windows virtio drivers support yet. Do you plan on adding support for guests without msi or am I stuck waiting for the windows drivers to add support for msi? On Aug 29, 2009, at 4:01 PM, Michael S. Tsirkin m...@redhat.com wrote: On Fri, Aug 28,

Re: Guest network, wireless host

2009-08-29 Thread Anthony Liguori
Thomas Koch wrote: I found this howto about guests running on a host with wireless internet connection: (proxy arp) http://blog.bodhizazen.net/linux/bridge-wireless-cards/ The steps described there work so far, but it would be perfect, if the guest could somehow obtain an IP via DHCP and if

Re: vhost_net_init returned -7

2009-08-29 Thread Michael S. Tsirkin
On Sat, Aug 29, 2009 at 04:38:25PM -0500, Brian Jackson wrote: I'm guessing that's not something the windows virtio drivers support yet. Do you plan on adding support for guests without msi or am I stuck waiting for the windows drivers to add support for msi? I do want to support non-MSI.

Re: [PATCH 4/5] kvmppc: Translate eaddr for fsl_booke mmu

2009-08-29 Thread Alexander Graf
On 24.08.2009, at 19:33, Hollis Blanchard wrote: On Mon, 2009-08-24 at 10:44 +0800, Liu Yu-B13201 wrote: IMHO userspace should do the translation and do an ioctl to fetch the required information (soft TLB cache / SLB / SDR1) so we can reuse the existing qemu infrastructure. BOOK3S has