Re: [kvm-devel] Chaning disks from IDE to SCSI on a Windows VM

2008-04-14 Thread Jun Koi
On Tue, Apr 15, 2008 at 3:41 PM, Felix Leimbach <[EMAIL PROTECTED]> wrote: > On 14.04.2008 Alberto Treviño wrote: > > If anyone can attest to this procedures and report, it would be > greatly appreciated. > > Hello Alberto, > > I can confirm that this method works on Windows 2003 Server. Look

Re: [kvm-devel] Chaning disks from IDE to SCSI on a Windows VM

2008-04-14 Thread Felix Leimbach
On 14.04.2008 Alberto Treviño wrote: > If anyone can attest to this procedures and report, it would be greatly appreciated. Hello Alberto, I can confirm that this method works on Windows 2003 Server. > Along those lines, if anyone knows how to grab an existing Windows VM that > was set up i

Re: [kvm-devel] [patch 2/2] QEMU: decrease console "refresh rate" with -nographic

2008-04-14 Thread Carsten Otte
Avi Kivity wrote: > Anthony Liguori wrote: >> BTW, when we set O_ASYNC on the tap fd, we're eliminating O_NONBLOCK. >> This means that we have to poll loop select() when readv()'ing packets >> instead of just reading until hitting AGAIN. This means at least an >> extra syscall per packet. > >

Re: [kvm-devel] [patch 2/2] QEMU: decrease console "refresh rate" with -nographic

2008-04-14 Thread Avi Kivity
Marcelo Tosatti wrote: > On Mon, Apr 14, 2008 at 07:24:06PM +0300, Avi Kivity wrote: > >>> Issue is that the dumb console timer "wakes up" the vcpu to do IO >>> processing in main_loop_wait(). >>> >>> So while you're right that vga_hw_update() is a no-op for the -nographic >>> case, the indirect

Re: [kvm-devel] [patch 2/2] QEMU: decrease console "refresh rate" with -nographic

2008-04-14 Thread Avi Kivity
Anthony Liguori wrote: > > BTW, when we set O_ASYNC on the tap fd, we're eliminating O_NONBLOCK. > This means that we have to poll loop select() when readv()'ing packets > instead of just reading until hitting AGAIN. This means at least an > extra syscall per packet. I didn't know that O_ASYN

Re: [kvm-devel] Extboot Option Rom rewritten in C

2008-04-14 Thread Nguyen Anh Quynh
On 4/15/08, Nguyen Anh Quynh <[EMAIL PROTECTED]> wrote: > > You should be able to get very far along the Windows boot process with > > extboot. If you just install the LSI driver in Win2k, you can boot up > > completely. Someone just posted instructions for doing scsi boot with > > Windows

Re: [kvm-devel] Extboot Option Rom rewritten in C

2008-04-14 Thread Nguyen Anh Quynh
On 4/15/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > Nguyen Anh Quynh wrote: > > > On 4/15/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > > > > > > > Hi Nguyen, > > > > > > Nguyen Anh Quynh wrote: > > > > > > > > > > > > > Hi Anthony, > > > > > > > > I spot a bug and few dead code in the ext

[kvm-devel] Как происходит арест имущества

2008-04-14 Thread Исполнение судебных актов
Исполнительное производство: правовые механизмы взыскания долгов. Новое в законодательстве, Ф3 от 02.10.2007 N229-ФЗ В г.Санкт-Петербурге, с 28 по 29 апреля 2008г. Т Е Л Е Ф О Н ( 8 1 2 ) 9 8 3 2

Re: [kvm-devel] [PATCH] [kvm-userspace] Make "make sync" in kernel dir work for multiple archs

2008-04-14 Thread Anthony Liguori
Jerone Young wrote: > 1 file changed, 13 insertions(+), 5 deletions(-) > kernel/Makefile | 18 +- > > > This patch add the ability for make sync in the kernel directory to work for > mulitiple architectures and not just x86. > > Signed-off-by: Jerone Young <[EMAIL PROTECTED]> > >

Re: [kvm-devel] Extboot Option Rom rewritten in C

2008-04-14 Thread Anthony Liguori
Nguyen Anh Quynh wrote: > On 4/15/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > >> Hi Nguyen, >> >> Nguyen Anh Quynh wrote: >> >> >>> Hi Anthony, >>> >>> I spot a bug and few dead code in the extboot option rom. Perhaps the >>> reason they are there is because less people want to look a

Re: [kvm-devel] Extboot Option Rom rewritten in C

2008-04-14 Thread Nguyen Anh Quynh
On 4/15/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > Hi Nguyen, > > Nguyen Anh Quynh wrote: > > > Hi Anthony, > > > > I spot a bug and few dead code in the extboot option rom. Perhaps the > > reason they are there is because less people want to look at assembly > > code, and it looks indeed sc

Re: [kvm-devel] Extboot Option Rom rewritten in C

2008-04-14 Thread Anthony Liguori
Hi Nguyen, Nguyen Anh Quynh wrote: > Hi Anthony, > > I spot a bug and few dead code in the extboot option rom. Perhaps the > reason they are there is because less people want to look at assembly > code, and it looks indeed scary. > > So I decided to rewrite it in C, using .code16gcc directive. Som

[kvm-devel] Email Marketing & Survey

2008-04-14 Thread Lisa wu
Title: Johnson Group Advertisi         Email Marketing  & Survey    

[kvm-devel] Extboot Option Rom rewritten in C

2008-04-14 Thread Nguyen Anh Quynh
Hi Anthony, I spot a bug and few dead code in the extboot option rom. Perhaps the reason they are there is because less people want to look at assembly code, and it looks indeed scary. So I decided to rewrite it in C, using .code16gcc directive. Some advantages: - C code is easier to understand,

[kvm-devel] [PATCH] [kvm-userspace] Make "make sync" in kernel dir work for multiple archs

2008-04-14 Thread Jerone Young
1 file changed, 13 insertions(+), 5 deletions(-) kernel/Makefile | 18 +- This patch add the ability for make sync in the kernel directory to work for mulitiple architectures and not just x86. Signed-off-by: Jerone Young <[EMAIL PROTECTED]> diff --git a/kernel/Makefile b/kerne

Re: [kvm-devel] [PATCH 0 of 9] mmu notifier #v12

2008-04-14 Thread Christoph Lameter
On Tue, 8 Apr 2008, Andrea Arcangeli wrote: > The difference with #v11 is a different implementation of mm_lock that > guarantees handling signals in O(N). It's also more lowlatency friendly. Ok. So the rest of the issues remains unaddressed? I am glad that we finally settled on the locking. Bu

Re: [kvm-devel] [PATCH 2 of 9] Core of mmu notifiers

2008-04-14 Thread Christoph Lameter
Where is the documentation on locking that you wanted to provide? - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority cod

Re: [kvm-devel] [PATCH 3 of 9] Moves all mmu notifier methods outside the PT lock (first and not last

2008-04-14 Thread Christoph Lameter
Not sure why this patch is not merged into 2 of 9. Same comment as last round. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. U

Re: [kvm-devel] [PATCH 2 of 9] Core of mmu notifiers

2008-04-14 Thread Christoph Lameter
On Tue, 8 Apr 2008, Andrea Arcangeli wrote: > + /* > + * Called when nobody can register any more notifier in the mm > + * and after the "mn" notifier has been disarmed already. > + */ > + void (*release)(struct mmu_notifier *mn, > + struct mm_struct *mm)

Re: [kvm-devel] [patch 2/2] QEMU: decrease console "refresh rate" with -nographic

2008-04-14 Thread Anthony Liguori
Marcelo Tosatti wrote: > On Mon, Apr 14, 2008 at 07:24:06PM +0300, Avi Kivity wrote: > >>> Issue is that the dumb console timer "wakes up" the vcpu to do IO >>> processing in main_loop_wait(). >>> >>> So while you're right that vga_hw_update() is a no-op for the -nographic >>> case, the indirect

[kvm-devel] [PATCH 0 of 4] Sync kernel headers to kvm-userspace

2008-04-14 Thread Jerone Young
This patch does several things: - Adds "make sync" of kvm kernel headers & required linux headers to kvm-userspace directory from the kernel - Modifies build systems of libkvm, user, & qemu so that they now include headers from this now synced includes directory

[kvm-devel] Chaning disks from IDE to SCSI on a Windows VM

2008-04-14 Thread Alberto Treviño
Anthony Liguori provided patches that allowed booting from SCSI disks back in December of 2005. He also reported the following: > I have successfully booted Linux, Win2k, and WinXP from SCSI with > this patch. Windows takes a bit of prep work to be able to boot from > SCSI. For win2k, you just

Re: [kvm-devel] [patch 2/2] QEMU: decrease console "refresh rate" with -nographic

2008-04-14 Thread Marcelo Tosatti
On Mon, Apr 14, 2008 at 07:24:06PM +0300, Avi Kivity wrote: > >Issue is that the dumb console timer "wakes up" the vcpu to do IO > >processing in main_loop_wait(). > > > >So while you're right that vga_hw_update() is a no-op for the -nographic > >case, the indirect effect of the timer triggering ma

Re: [kvm-devel] [patch 2/2] QEMU: decrease console "refresh rate" with -nographic

2008-04-14 Thread Avi Kivity
Marcelo Tosatti wrote: > On Sun, Apr 13, 2008 at 06:30:34PM +0200, Anders wrote: > >> Marcelo Tosatti wrote: >> >> >>> With SIGIO enabled on stdio, there's no need to wakeup the thread >>> performing IO every 30ms. >>> >>> Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> >>> >>> Index: kv

Re: [kvm-devel] [PATCH] wrong pa calculation fix (extboot)

2008-04-14 Thread Anthony Liguori
Nguyen Anh Quynh wrote: > On 4/14/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > >> In practice, this check isn't actually necessary since a guest always has >> at least 1MB of memory. >> > > Agreed. But it needs to be fixed, anyway. Or we can remove it. > I should mention, the reaso

Re: [kvm-devel] [PATCH] wrong pa calculation fix (extboot)

2008-04-14 Thread Anthony Liguori
Nguyen Anh Quynh wrote: > This patch fixes a wrong calculation in the physical address of > extboot (qemu/hw/extboot.c). Looks like a typo. > > Signed-off-by: Nguyen Anh Quynh <[EMAIL PROTECTED]> > > diff --git a/qemu/hw/extboot.c b/qemu/hw/extboot.c > index 056fb59..0dac34c 100644 > --- a/qemu/

Re: [kvm-devel] [PATCH] wrong pa calculation fix (extboot)

2008-04-14 Thread Anthony Liguori
Nguyen Anh Quynh wrote: > On 4/14/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > >> Nguyen Anh Quynh wrote: >> >> >> In practice, this check isn't actually necessary since a guest always has >> at least 1MB of memory. >> > > Agreed. But it needs to be fixed, anyway. Or we can remove

Re: [kvm-devel] [patch 2/2] QEMU: decrease console "refresh rate" with -nographic

2008-04-14 Thread Marcelo Tosatti
On Sun, Apr 13, 2008 at 06:30:34PM +0200, Anders wrote: > Marcelo Tosatti wrote: > > >With SIGIO enabled on stdio, there's no need to wakeup the thread > >performing IO every 30ms. > > > >Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> > > > >Index: kvm-userspace.io/qemu/vl.c > >===

Re: [kvm-devel] [PATCH] wrong pa calculation fix (extboot)

2008-04-14 Thread Nguyen Anh Quynh
On 4/14/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > Nguyen Anh Quynh wrote: > > > > > This patch fixes a wrong calculation in the physical address of > > extboot (qemu/hw/extboot.c). Looks like a typo. > > > > Signed-off-by: Nguyen Anh Quynh <[EMAIL PROTECTED]> > > diff --git a/qemu/hw/extboo

Re: [kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Avi Kivity
Anthony Liguori wrote: > > I think as we split libkvm into it's own library and remove the > dependency of kernel headers from libkvm consumers, this will stop > being a problem in practice. > That will take a while, as there are many structures used for libkvm<->user communications which are p

Re: [kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Anthony Liguori
Avi Kivity wrote: > Christoph Hellwig wrote: > >> It would be nice to just be able to build kvm from git without a kernel >> around. The lack of that is what in fact keeps from hacking kvm >> userspace currently. >> >> > > It would be nice, but committing all header changes twice is not

Re: [kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Anthony Liguori
Christoph Hellwig wrote: > On Mon, Apr 14, 2008 at 03:37:04AM -0500, Jerone Young wrote: > >> 2 files changed, 25 insertions(+), 4 deletions(-) >> Makefile | 21 - >> configure |8 +--- >> >> >> This patch adds ability for kvm-userspace build system to sync needed ke

Re: [kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Anthony Liguori
Jerone Young wrote: > 2 files changed, 25 insertions(+), 4 deletions(-) > Makefile | 21 - > configure |8 +--- > > > This patch adds ability for kvm-userspace build system to sync needed kernel > headers locally without the need of compiled kernel source. > make s

[kvm-devel] My rod is as big as my fist

2008-04-14 Thread Pall
Don't be limited by your hardware http://www.kinetoaw.com/ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2

Re: [kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Avi Kivity
Christoph Hellwig wrote: > It would be nice to just be able to build kvm from git without a kernel > around. The lack of that is what in fact keeps from hacking kvm > userspace currently. > It would be nice, but committing all header changes twice is not so nice and error prone as well. Anyo

Re: [kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Christoph Hellwig
On Mon, Apr 14, 2008 at 02:47:16PM +0300, Avi Kivity wrote: >> Please just keep a copy of the kernel headers in the userspace tree so >> it can be built standalone. >> >> > > The tarballs do contain a copy of the kernel headers; the 'make sync' > mechanism is for developers to generate the tarb

Re: [kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Avi Kivity
Christoph Hellwig wrote: > On Mon, Apr 14, 2008 at 03:37:04AM -0500, Jerone Young wrote: > >> 2 files changed, 25 insertions(+), 4 deletions(-) >> Makefile | 21 - >> configure |8 +--- >> >> >> This patch adds ability for kvm-userspace build system to sync needed ke

Re: [kvm-devel] bugreport: guest crashes on reboot in KVM 65 on AMD

2008-04-14 Thread Avi Kivity
Joerg Roedel wrote: > On Mon, Apr 14, 2008 at 01:29:50PM +0300, Avi Kivity wrote: > >> Joerg Roedel wrote: >> >>> Only the state saved in the VMCB is undefined after an intercepted >>> shutdown event. >>> >> The vmcb stores two types of states, guest state and control >> information

Re: [kvm-devel] bugreport: guest crashes on reboot in KVM 65 on AMD

2008-04-14 Thread Joerg Roedel
On Mon, Apr 14, 2008 at 01:29:50PM +0300, Avi Kivity wrote: > Joerg Roedel wrote: > >Only the state saved in the VMCB is undefined after an intercepted > >shutdown event. > > The vmcb stores two types of states, guest state and control > information. Are both undefined? Only the guest state is

[kvm-devel] [PATCH] wrong pa calculation fix (extboot)

2008-04-14 Thread Nguyen Anh Quynh
This patch fixes a wrong calculation in the physical address of extboot (qemu/hw/extboot.c). Looks like a typo. Signed-off-by: Nguyen Anh Quynh <[EMAIL PROTECTED]> diff --git a/qemu/hw/extboot.c b/qemu/hw/extboot.c index 056fb59..0dac34c 100644 --- a/qemu/hw/extboot.c +++ b/qemu/hw/extboot.c @@ -8

Re: [kvm-devel] bugreport: guest crashes on reboot in KVM 65 on AMD

2008-04-14 Thread Joerg Roedel
On Mon, Apr 14, 2008 at 12:43:30PM +0300, Avi Kivity wrote: > Michal Ludvig wrote: > >Hi all, > > > >in short: CentOS 5 guest (32bit) crashes when I run "reboot" in the VM with > >qemu message: > >kvm_run: failed entry, reason 65535 > >kvm_run returned -8 > > > >In dmesg is this message: > >kvm: 2

Re: [kvm-devel] bugreport: guest crashes on reboot in KVM 65 on AMD

2008-04-14 Thread Avi Kivity
Joerg Roedel wrote: > On Mon, Apr 14, 2008 at 12:43:30PM +0300, Avi Kivity wrote: > >> Michal Ludvig wrote: >> >>> Hi all, >>> >>> in short: CentOS 5 guest (32bit) crashes when I run "reboot" in the VM with >>> qemu message: >>> kvm_run: failed entry, reason 65535 >>> kvm_run returned -8 >

Re: [kvm-devel] bugreport: guest crashes on reboot in KVM 65 on AMD

2008-04-14 Thread Avi Kivity
Michal Ludvig wrote: > Hi all, > > in short: CentOS 5 guest (32bit) crashes when I run "reboot" in the VM > with qemu message: > kvm_run: failed entry, reason 65535 > kvm_run returned -8 > > In dmesg is this message: > kvm: 23769: cpu0 kvm_set_msr_common: MSR_IA32_MC0_STATUS 0x0, nop > > Details:

[kvm-devel] (no subject)

2008-04-14 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可 以代办:出口欧盟许可证,欧盟产地证;并且还有(广州国际贸易交易会)的摊 位可以转让;有意者请

[kvm-devel] Testez gratuitement notre guide des exportateurs

2008-04-14 Thread Globecom Editeur du FANE
Vous souhaitez développer vos ventes à l’exportation ? En Afrique et Moyen Orient ? En Amérique du Sud ? En Asie ? En Europe de l’Est ? La confiance, ça se gagne ! Testez gratuitement notre support papier sur l’édition de votre choix ! (1/8 de page, hors frais tech

Re: [kvm-devel] [patch 1/2] KVM: hlt emulation should take in-kernel APIC/PIT timers into account

2008-04-14 Thread Carsten Otte
Avi Kivity wrote: > Why? This one does'nt work for us. Our arch defines various reasons why we would not fall asleep but do something else, and we need to check them while in atomic of a lock that other archs don't have before sleeping. See kvm_s390_handle_wait in arch/s390/kvm/interrupt.c.

[kvm-devel] (no subject)

2008-04-14 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可 以代办:出口欧盟许可证,欧盟产地证;并且还有(广州国际贸易交易会)的摊 位可以转让;有意者请

Re: [kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Christoph Hellwig
On Mon, Apr 14, 2008 at 03:37:04AM -0500, Jerone Young wrote: > 2 files changed, 25 insertions(+), 4 deletions(-) > Makefile | 21 - > configure |8 +--- > > > This patch adds ability for kvm-userspace build system to sync needed kernel > headers locally without the

[kvm-devel] (no subject)

2008-04-14 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可 以代办:出口欧盟许可证,欧盟产地证;并且还有(广州国际贸易交易会)的摊 位可以转让;有意者请

[kvm-devel] [PATCH 3 of 4] Fix user to include synced headers & remove kerneldir option

2008-04-14 Thread Jerone Young
5 files changed, 1 insertion(+), 8 deletions(-) user/Makefile |1 + user/config-i386.mak|1 - user/config-powerpc.mak |1 - user/config-x86_64.mak |1 - user/configure |5 - This patch fixes user directory to now include synced headers. It also removes

[kvm-devel] [PATCH 4 of 4] Remove kvm kernel-path option from qemu

2008-04-14 Thread Jerone Young
2 files changed, 2 insertions(+), 8 deletions(-) qemu/Makefile.target |3 +-- qemu/configure |7 +-- Now that kvm headers are synced locally, qemu does not need a specific option to find the kernel headers as they can now be specified in the --extra-cflags option. Signed-off-b

[kvm-devel] [PATCH 2 of 4] Fix libfdt to include synced headers

2008-04-14 Thread Jerone Young
1 file changed, 3 insertions(+), 3 deletions(-) libkvm/Makefile |6 +++--- This modifies libfdt makefile to now include from synced header directory. Signed-off-by: Jerone Young <[EMAIL PROTECTED]> diff --git a/libkvm/Makefile b/libkvm/Makefile --- a/libkvm/Makefile +++ b/libkvm/Makefile @@

[kvm-devel] [PATCH 1 of 4] Add "make sync" to sync need kernel headers to kvm-userspace

2008-04-14 Thread Jerone Young
2 files changed, 25 insertions(+), 4 deletions(-) Makefile | 21 - configure |8 +--- This patch adds ability for kvm-userspace build system to sync needed kernel headers locally without the need of compiled kernel source. Signed-off-by: Jerone Young <[EMAIL PROTECT

[kvm-devel] KVM Test result, kernel 1c5f974.., userspace f1fbe45..

2008-04-14 Thread Yunfeng Zhao
Hi All, This is today's KVM test result against kvm.git 1c5f974ab7e82d0f3a28cd8fc72088a6e0a4b5fb and kvm-userspace.git f1fbe45cad078d376a04f8d92bef34c3be3f06be. Issue list: 1. Fails to save/restore ia32e guests https://sourceforge.net/tracker/?f