Re: [kvm-devel] tools to dump guest memory and generate core file

2008-03-18 Thread Uri Lublin
Avi Kivity wrote: david ahern wrote: Attaching gdb to qemu you work with addresses as seen by the qemu process; the idea is to work with addresses as seen inside the guest. Now, if you attach gdb to the qemu process, gdb /usr/local/bin/qemu-system-x86_64 2346 I meant

Re: [kvm-devel] no mouse

2008-03-12 Thread Uri Lublin
From: aGaTHoS CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ kvm version: 62 kernel: 2.6.23-hardened-r7 (with gentoo standard and hardened patches, it is anyway compiled without ssp and pie) arch: x86_64 guest OS: various, windows XP and various linux livecds command line: 1 (windows) #

Re: [kvm-devel] PCI IO regions must be power of two

2008-03-12 Thread Uri Lublin
From: Marcelo Tosatti Index: kvm-userspace.hotplug2/qemu/hw/pci.c === --- kvm-userspace.hotplug2.orig/qemu/hw/pci.c +++ kvm-userspace.hotplug2/qemu/hw/pci.c @@ -236,6 +236,13 @@ void pci_register_io_region(PCIDevice *p if

[kvm-devel] [PATCH] qemu: acpi: notify a powerdown event to the guest only if acpi is enabled

2008-03-12 Thread Uri Lublin
Without this patch when '-no-acpi' is added to the command line and the user issues a 'system_powerdown' qemu monitor command, we get a segmentation fault. Signed-off-by: Uri Lublin [EMAIL PROTECTED] --- qemu/hw/acpi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [kvm-devel] [PATCH 3/6] kvm: qemu: Add option for enable/disable in kernel PIT

2008-03-04 Thread Uri Lublin
Yang, Sheng wrote: From 40cf60009d1031891a34685b690dad47290a0b04 Mon Sep 17 00:00:00 2001 From: Sheng Yang [EMAIL PROTECTED] Date: Tue, 4 Mar 2008 09:29:55 +0800 Subject: [PATCH] kvm: qemu: Add option for enable/disable in kernel PIT diff --git a/libkvm/libkvm-x86.c b/libkvm/libkvm-x86.c

Re: [kvm-devel] [ANNOUNCE] kvm-62 release

2008-02-27 Thread Uri Lublin
From: [EMAIL PROTECTED] on behalf of Jim Paris - add file:// migration protocol (Uri Lublin) commit 70d2a9dc3594446f3ad66b32abc94c08b74118d4 Author: Uri Lublin [EMAIL PROTECTED] Date: Thu Feb 21 15:00:50 2008 +0200 kvm: qemu: migration: added file:// migration protocol Instead

Re: [kvm-devel] Clock off in guest

2008-02-13 Thread Uri Lublin
From: [EMAIL PROTECTED] on behalf of Dan Kenigsberg Sent: Wed 13/02/2008 13:25 To: Koen Vermeer Cc: kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] Clock off in guest On Wed, Feb 13, 2008 at 10:41:44AM +0100, Koen Vermeer wrote: Hi, I'm running an Linux AMD64 guest on an AMD64 host.

Re: [kvm-devel] Clock off in guest

2008-02-13 Thread Uri Lublin
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wed 13/02/2008 14:52 To: Uri Lublin Cc: kvm-devel@lists.sourceforge.net Subject: RE: [kvm-devel] Clock off in guest This would not work if you are using an old version of kvm ( with no in-kernel-apic ) I recommend upgrading to kvm-60

Re: [kvm-devel] [PATCH]: Make migration handle errors a little better

2008-01-24 Thread Uri Lublin
Chris Lalancette wrote: All, Attached is a fairly simple patch to the migration code to make it handle errors better. In particular, if the remote side wasn't set up properly (i.e. the memory size didn't match), the migration would fail, but the source host didn't actually react

Re: [kvm-devel] Migration problems

2008-01-24 Thread Uri Lublin
Chris Lalancette wrote: All, I've been doing some migration testing of KVM guests, and have been running into some problems. Let me describe the setup and what I've tried, and maybe somebody has some ideas about what might be going on here. When I try to do live migration this way,

Re: [kvm-devel] current kvm userspace git doesn't compile on i386

2008-01-15 Thread Uri Lublin
Christoph Hellwig wrote: On Sun, Jan 13, 2008 at 01:37:11PM +0200, Uri Lublin wrote: Try to build the kernel modules too (remove '--with-patched-kernel' from ./configure arguments ): ./configure --prefix=/opt/kvm --qemu-cc=/usr/bin/gcc-3.4 ; make -C kernel LINUX=path-to-linux-git-tree

Re: [kvm-devel] current kvm userspace git doesn't compile on i386

2008-01-13 Thread Uri Lublin
Christoph Hellwig wrote: Current kvm userspace git configured with ./configure --prefix=/opt/kvm --with-patched-kernel --qemu-cc=/usr/bin/gcc-3.4 gives: /usr/bin/gcc-3.4 -L /home/hch/work/kvm-userspace/qemu/../libkvm -g -o qemu-system-x86_64 vl.o osdep.o monitor.o pci.o loader.o

Re: [kvm-devel] kvm 58 and vncviewer

2008-01-03 Thread Uri Lublin
Jerry Geis wrote: Anthony Liguori wrote: Jerry Geis wrote: I have kvm-amd working fine. when I am at my desktop everything works normal. However, when I vncviewer into my desktop and startup my session I mouse over the XP desktop but I cannot click in the desktop and make it

Re: [kvm-devel] Is there any way to get Windbg to work with QEMU/KVM?

2007-12-13 Thread Uri Lublin
[EMAIL PROTECTED] wrote: G'day folks. After blindly trying applying an oldish QEMU patch mentioned here (http://www.damogran.de/blog/archives/14-WinDbg-and-QEMU.html) I got ever so slightly further, to the point that I reached the Windbg command prompt and could enter commands (e.g. '.dl').

Re: [kvm-devel] [PATCH] fix -kernel option

2007-12-09 Thread Uri Lublin
Glauber de Oliveira Costa wrote: Currently, the -kernel option is not working. Reason is, because we're registering chunks for regions 0-0xa and 0x10-ram_size, the phys_ram_addr + PA is broken. The real fix should be to rewrite all the load_linux() code to not rely on this, but

Re: [kvm-devel] QEMU/KVM reboot after loading from statefile

2007-12-06 Thread Uri Lublin
Lukasz Lempart wrote: Hi, I am having a problem with starting qemu/kvm from a previously saved statefile. qemu/kvm starts and the console output is the same as when I initially stopped the vm and saved state. However, after a 'cont' the guest reboots (i.e. takes me back to the grub menu).

Re: [kvm-devel] Strange network behaviour

2007-12-05 Thread Uri Lublin
Mike wrote: You can download the requested trace at http://www.eliteserver.biz/trace.tar.gz the peaks were around 12:04:30 Mike Avi Kivity schrieb: Mike wrote: Avi Kivity schrieb: Mike wrote: Now I noticed a strange behaviour. I have a gameserver running in

Re: [kvm-devel] VM Snapshots ?

2007-12-03 Thread Uri Lublin
From: [EMAIL PROTECTED] on behalf of Slohm Gadaburi Sent: Mon 03/12/2007 12:10 To: kvm-devel@lists.sourceforge.net Subject: [kvm-devel] VM Snapshots ? Hi all.. I want to use VM Snapshots.. But I read QEMU's docs saying that one must use qcow2 file image for that. The problem is that

Re: [kvm-devel] VM Snapshots ?

2007-12-03 Thread Uri Lublin
From: Slohm Gadaburi [mailto:[EMAIL PROTECTED] On 12/3/07, Uri Lublin [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] on behalf of Slohm Gadaburi I want to use VM Snapshots.. But I read QEMU's docs saying that one must use qcow2 file image for that. The problem is that My Ubuntu

Re: [kvm-devel] Compile problem with GIT repo on Scientific Linux

2007-11-22 Thread Uri Lublin
Thanks for reporting the problem. You do not need to make -C kernel sync with kvm-tarballs. For more information look at http://kvm.qumranet.com/kvmwiki/HOWTO -- Unpacking and configuring kvm components Uri. -Original Message- From: [EMAIL PROTECTED] on behalf of Cam Macdonell Sent:

Re: [kvm-devel] unhandled vm exit on kvm36 with Etch 32 guest on AMD64

2007-09-10 Thread Uri Lublin
Using kvm-37, I was able to install a debian guest using debian-40r0-i386-DVD-1.iso, and run it, on both AMD and Intel machine. My hosts are both running Fedora 7 with linux kernel versions 2.6.21-1 and 2.6.23-rc3. Does your guest boot when adding '-no-kvm' to the command line ? Uri. Joseph

Re: [kvm-devel] frozen winXP on kvm after savevm

2007-08-19 Thread Uri Lublin
commit 93f590514fa96dedc02274183fd1c57fcbba6fdc Author: Uri Lublin [EMAIL PROTECTED] Date: Mon Jul 23 11:57:33 2007 +0300 migration: save/load usb devices (specifically mouse/tablet) Taken (slightly modified) from xen (hg 14366:2955b0677310 Tim Deegan) Signed-off-by: Uri Lublin

Re: [kvm-devel] migration with exec giving truncated images

2007-08-09 Thread Uri Lublin
Thanks for the patches. There is still the mystery of different file sizes for different migration-exec commands, all files are valid saved image. It seems to me that some unmodified pages are being marked as dirty, and are being saved twice (and later loaded twice). I'm still chasing that.

Re: [kvm-devel] migration with exec giving truncated images

2007-08-08 Thread Uri Lublin
I've never encountered that problem. I haven't used exec migration protocol too many times though. I have not used libvirt too many times either. I'll look into it too. Thanks, Uri. Jim Paris wrote: I wrote: It's almost as if migrate_write() is being called after migrate_finish() ??

Re: [kvm-devel] kvm+virtmanager can't save machine state?

2007-07-02 Thread Uri Lublin
Actually, although not intended (and was not tested), KVM's migration capability enables save/restore of non-qcow images. I used it to debug the migration code. Please look at the bottom of http://kvm.qumranet.com/kvmwiki/Migration (savevm/loadvm to an external state file). BTW, my little trick

Re: [kvm-devel] Migration and disk-image filesystem semantics?

2007-04-19 Thread Uri Lublin
You are correct. The disk image(s) must be available to both the sending and receiving qemu/kvm processes. Otherwise, we would have to copy (or rsync if a base copy exists) the disk image. This copy operation would usually take a long time as the image is very big. Also, writing to temporary

Re: [kvm-devel] kvm-18 breaks Cisco VPN on WinXP SP1

2007-03-30 Thread Uri Lublin
When using rtc to keep qemu/host time, which is the default, qemu gets periodically SIGIO signals. From: [EMAIL PROTECTED] on behalf of Avi Kivity Sent: Fri 30/03/2007 09:48 To: Leslie Mann Cc: kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] kvm-18

Re: [kvm-devel] KVM-17 WinXP network setup hangs

2007-03-20 Thread Uri Lublin
Hi, Do you use a software bridge and a tun/tap device ? If you do, what is your network configuration (host + guest) ? If you do not, search the list to find how to do it. You'll need to setup a bridge (either manually or using an init script posted), and add a '-net

Re: [kvm-devel] savevm causes 'Bus error'

2007-03-08 Thread Uri Lublin
Hi Jon, It seems KVM's savevm/loadvm has been broken since the upgrade to version 0.9.0 of QEMU. Please apply the attached patch and retry. Currently, saved images (aka snapshots) of QEMU are not compatible with those of KVM, and vice versa. In other words if you savevm a VM started with

[kvm-devel] Live Migration support for KVM

2007-02-25 Thread Uri Lublin
Hi, FYI, as of last Thursday, KVM supports live migration. The migration code is based on Anthony Liguori's live migration patch for Qemu; Thanks Anthony. I added the part needed for KVM (based on KVM's dirty pages logging written by Avi). Regards, Uri.

Re: [kvm-devel] kvm 12 windows XP network

2007-01-30 Thread Uri Lublin
Please run the following commands and report their output: rpm -q bridge-utils /sbin/lsmod | grep bridge /usr/sbin/brctl show /sbin/ip route list | grep default -Original Message- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Tue 30/01/2007 13:26 To: Dor Laor Cc:

Re: [kvm-devel] [PATCH] svm_set_idt() - don't store/get idt to/from LDTsave

2007-01-23 Thread Uri Lublin
I've committed this patch. In addition to the reboot problem, it fixes savevm/loadvm/migration on AMD machines. Thanks, Uri. -Original Message- From: [EMAIL PROTECTED] on behalf of Leonard Norrgard Sent: Fri 19/01/2007 16:49 To: kvm-devel@lists.sourceforge.net Subject: [kvm-devel]

Re: [kvm-devel] exception 13 (0)

2007-01-19 Thread Uri Lublin
Hi, The procedure for installing a windows guest is described at kvm.sf.net/faq.html (and is copied below) Bill, did you follow this procedure ? If not please do and report if it helps or not. I have never tried installing windows 98. Has anyone been able to run a virtualized-by-KVM windows

Re: [kvm-devel] exception 13 (0)

2007-01-19 Thread Uri Lublin
Hi Vineet, There are so many distributions out there, naturally we can not test them all. ubuntu desktop i386 install was not tested yet. We'll try to reproduce and investigate the problem. Is your host cpu is a 32 bits or 64 bits cpu ? If 64, did you try to install ubuntu image for a 64 bits

Re: [kvm-devel] exception 13 (0) ???

2007-01-18 Thread Uri Lublin
Hi Vineet, What guest OS are you trying to run ? Do you see anything meaningful in the system log (or dmesg) ? What happens if you run it with '-no-kvm' ? Sometimes exception 13 means something is wrong with your guest image. Try running a different guest image. Uri. -Original

Re: [kvm-devel] compiler problem in Read Hat ES 4

2007-01-18 Thread Uri Lublin
- From: Francesc [mailto:[EMAIL PROTECTED] Sent: Thu 18/01/2007 10:32 To: Uri Lublin Cc: kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] compiler problem in Read Hat ES 4 Hi Uri, I did it what you said but it's the same: [EMAIL PROTECTED] kvm-11]# make clean ; ./configure --qemu-cc=gcc

Re: [kvm-devel] compiler problem in Read Hat ES 4

2007-01-17 Thread Uri Lublin
Hi, It seems like a gcc32 problem. Please try to use your default gcc (3.4.6) to compile qemu instead of gcc32 Just type in kvm-dir configure --qemu-cc=gcc Hope that helps, Uri. -Original Message- From: [EMAIL PROTECTED] on behalf of Francesc Sent: Tue 16/01/2007 12:02 To:

Re: [kvm-devel] compiler problem in Read Hat ES 4

2007-01-17 Thread Uri Lublin
Hi Frank, The modules were probably already made. Try to remake (from kvm-dir): make clean ; ./configure --qemu-cc=gcc ; make Uri. -Original Message- From: Francesc [mailto:[EMAIL PROTECTED] Sent: Wed 17/01/2007 14:31 To: Uri Lublin Cc: kvm-devel@lists.sourceforge.net Subject: Re: [kvm

Re: [kvm-devel] Talking about regressions...

2007-01-16 Thread Uri Lublin
: Michael Riepe [mailto:[EMAIL PROTECTED] Sent: Tue 16/01/2007 15:23 To: Uri Lublin Cc: kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] Talking about regressions... Hi! Just for the records: On the Xeon 53xx, netbsd produces a few kernel messages before it dies with a protection fault: kvm

Re: [kvm-devel] Talking about regressions...

2007-01-15 Thread Uri Lublin
O.K. I'll try to reproduce it with netbsd, and investigate a little. Uri. From: Michael Riepe [mailto:[EMAIL PROTECTED] Sent: Mon 15/01/2007 20:38 To: Uri Lublin Cc: kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] Talking about regressions... Hi! Uri

Re: [kvm-devel] Windows XP internal Power error

2006-12-19 Thread Uri Lublin
Please try with attached patch. -Original Message- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Tue 19/12/2006 13:15 To: Avi Kivity Cc: kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] Windows XP internal Power error Sorry, you can find it attacched here. I use

Re: [kvm-devel] Windows XP internal Power error

2006-12-19 Thread Uri Lublin
Sorry, the patch is broken, please ignore it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 19/12/2006 15:05 To: Uri Lublin Cc: kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] Windows XP internal Power error Must I rewind the other patches