Re: 63 sectors

2008-09-04 Thread Laurent Vivier
Le jeudi 04 septembre 2008 à 09:58 +0100, Ian Kirk a écrit : > Avi Kivity wrote: > > > - add a partitioning tool (or option to qemu-img) to format the disk, > > placing > > the first partition on the fourth cylinder, aligning it. tell the users not > > to wipe the disks out but instead install t

Re: [PATCH] Clear temporary interrupt blocking on halt in real mode

2008-09-04 Thread Laurent Vivier
Le dimanche 10 août 2008 à 11:36 +0300, Avi Kivity a écrit : > Laurent Vivier wrote: > > When "halt" is emulated, skip_emulated_instruction() is called and > > interruptibility state is cleared. > > But when halt is emulated in real mode, skip_emulated_instructi

Re: [PATCH] KVM: VMX: Leave atomic context while emulating real mode

2008-09-10 Thread Laurent Vivier
Le mercredi 20 août 2008 à 14:01 +, Avi Kivity a écrit : > From: Avi Kivity <[EMAIL PROTECTED]> > > Emulation requires access to user memory, and potentially schedules. > > Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> > > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > index d5d25a2.

Re: tape support

2008-09-11 Thread Laurent Vivier
Le jeudi 11 septembre 2008 à 12:54 +0200, Dietmar Maurer a écrit : > Is there a way to use a scsi tape? I tried -drive file=/dev/sg0, but > that does not work (eject, rewind works, but read/write fails - no date > is written - no errors) try "-drive file=/dev/sg0,if=scsi" Laurent --

Re: tape support

2008-09-13 Thread Laurent Vivier
Le samedi 13 septembre 2008 à 07:51 +0300, Avi Kivity a écrit : > Laurent Vivier wrote: > > Le jeudi 11 septembre 2008 à 12:54 +0200, Dietmar Maurer a écrit : > > > >> Is there a way to use a scsi tape? I tried -drive file=/dev/sg0, but > >> that does not wo

Re: [PATCH] KVM: Device Assignment with VT-d

2008-09-16 Thread Laurent Vivier
Le mardi 16 septembre 2008 à 00:58 +, Avi Kivity a écrit : > From: Ben-Ami Yassour <[EMAIL PROTECTED]> > > Based on a patch by: Kay, Allen M <[EMAIL PROTECTED]> > > This patch enables PCI device assignment based on VT-d support. > When a device is assigned to the guest, the guest memory is pi

Re: Windows 2003, virtio Ethernet and USB - Strange Interaction

2008-09-30 Thread Laurent Vivier
Le mardi 30 septembre 2008 à 10:41 +0200, Sven Rudolph a écrit : > Hello, > > I have an (as far as I understand it) complex problem. I just got some > good debugging hints, so I tried some more things and reproduced the > problem with recent KVM. > > I tested it now with kvm-76 (both kernel and u

[PATCH][BIOS] Add BCV option rom in boot menu

2008-12-05 Thread Laurent Vivier
ROM modified to be a BCV one. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- bios/rombios.c | 71 ++- 1 files changed, 64 insertions(+), 7 deletions(-) diff --git a/bios/rombios.c b/bios/rombios.c index 9a1cdd6..70b3584 100644

[PATCH][BIOS] Fill IPL table according discovered ATA drives

2008-12-05 Thread Laurent Vivier
This patch shows in boot menu only available devices. This patch has been tested with Bochs BIOS version from the KVM source tree. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- bios/rombios.c | 54 +- 1 files changed, 37 inse

Re: [Bochs-developers] [PATCH][BIOS] Fill IPL table accordingdiscovered ATA drives

2008-12-08 Thread Laurent Vivier
Le dimanche 07 décembre 2008 à 19:11 +0100, Sebastian Herbszt a écrit : > Laurent Vivier wrote: > > This patch shows in boot menu only available devices. > > > > This patch has been tested with Bochs BIOS version from the KVM source tree. > > > > Signed-off-by:

[PATCH][BIOS][v2] Fill IPL table according discovered ATA drives

2008-12-08 Thread Laurent Vivier
This patch shows in boot menu only available devices. This patch has been tested with Bochs BIOS version from the KVM source tree. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- bios/rombios.c | 49 ++--- 1 files changed, 38 insertions(

[PATCH][BIOS][v2] Add BCV option rom in boot menu

2008-12-08 Thread Laurent Vivier
ROM modified to be a BCV one. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- bios/rombios.c | 75 ++- 1 files changed, 68 insertions(+), 7 deletions(-) diff --git a/bios/rombios.c b/bios/rombios.c index 9a1cdd6..e0a419f 100644

[PATCH 0/3] Add BIOS splash image support

2008-12-16 Thread Laurent Vivier
This series of patches adds a nice BIOS startup splash screen. It adds a "-splash" option allowing to specify the picture file name (a 640x480 (or less) and true color PNG) to display. You can enable/disable fade in, fade out and bootmenu. The time to display the image can be also given (in secon

[PATCH 2/3] [BIOS] Add splash image support

2008-12-16 Thread Laurent Vivier
This patch adds Qemu firmware configuration device interface to display a splash image at BIOS startup. Idea and some parts of code are stollen from VirtualBox. Signed-off-by: Laurent Vivier --- bios/Makefile |4 +- bios/logo.c| 206

[PATCH 1/3] Correct fw_cfg_add_callback()

2008-12-16 Thread Laurent Vivier
This patch is needed to be able to register firmware configuration device callback. It is already included in qemu as commit r5978. Signed-off-by: Laurent Vivier --- qemu/hw/fw_cfg.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/qemu/hw/fw_cfg.c b/qemu/hw

[PATCH 3/3] [QEMU] Add BIOS splash image

2008-12-16 Thread Laurent Vivier
to display the image can be also given (in seconds). Signed-off-by: Laurent Vivier --- qemu/Makefile.target |2 +- qemu/configure| 19 +++ qemu/hw/bootmenu_pixmap.h | 231 + qemu/hw/fw_cfg.h |1 + qemu/hw/pc.c

Re: [Qemu-devel] [PATCH 0/3] Add BIOS splash image support

2008-12-16 Thread Laurent Vivier
Le mardi 16 décembre 2008 à 22:46 +0200, Blue Swirl a écrit : > On 12/16/08, Anthony Liguori wrote: > > Blue Swirl wrote: > > > The control channel may still be needed. > > > > > > Alternatively the BIOS could load the image and fade parameters from a > > > new ROM or from the configuration devi

Re: [Qemu-devel] [PATCH 0/3] Add BIOS splash image support

2008-12-17 Thread Laurent Vivier
Le mercredi 17 décembre 2008 à 01:10 +0100, Carl-Daniel Hailfinger a écrit : > On 16.12.2008 22:51, Laurent Vivier wrote: > > Le mardi 16 décembre 2008 à 22:46 +0200, Blue Swirl a écrit : > > > >> On 12/16/08, Anthony Liguori wrote: > >

Re: [Bochs-developers] [PATCH 0/3] Add BIOS splash image support

2008-12-17 Thread Laurent Vivier
Le mercredi 17 décembre 2008 à 22:58 +0100, Sebastian Herbszt a écrit : > Laurent Vivier wrote: > > This series of patches adds a nice BIOS startup splash screen. > > > > It adds a "-splash" option allowing to specify the picture file name (a > > 640

[PATCH 0/2][v2] Add BIOS splash image support

2008-12-18 Thread Laurent Vivier
This series of patches adds a nice BIOS startup splash screen. It adds a "-splash" option allowing to specify the picture file name (a 640x480 (or less) and true color PNG) to display. You can enable/disable a fade in, fade out and the bootmenu. The time to display the image can be also given (in

[PATCH 1/2][v2][BIOS] Add splash image support

2008-12-18 Thread Laurent Vivier
This patch adds Qemu firmware configuration device interface to display a splash image at BIOS startup. Idea stollen from VirtualBox. Signed-off-by: Laurent Vivier --- bios/Makefile |4 +- bios/rombios.c | 142 --- bios/splash.c | 144

[PATCH 2/2][v2][QEMU] Add BIOS splash image

2008-12-18 Thread Laurent Vivier
to display the image can be also given (in seconds). Signed-off-by: Laurent Vivier --- qemu/Makefile.target |5 +- qemu/configure | 19 +++ qemu/hw/fw_cfg.h |1 + qemu/hw/pc.c | 11 ++- qemu/hw/press_f12.h | 231 +++ qemu/h

Re: [PATCH 1/2][RFC][v2] kvm: Batch writes to MMIO

2008-05-19 Thread Laurent Vivier
Kivity a écrit : > [resend to new list] > > Laurent Vivier wrote: > > This patch is the kernel part of the "batch writes to MMIO" patch. > > > > It intoduces the ioctl interface to define MMIO zone it is allowed to delay. > > Inside a zone, we can define sub-part w

Re: [PATCH 1/2][RFC][v2] kvm: Batch writes to MMIO

2008-05-20 Thread Laurent Vivier
Le lundi 19 mai 2008 à 22:04 -0500, Hollis Blanchard a écrit : > On Monday 19 May 2008 03:36:30 Laurent Vivier wrote: > > Thank you for your comments. > > > > I agree with all. > > > > I'll move my code to mulator_write_emulated_onepage(). > > I

Re: [PATCH 1/2][RFC][v2] kvm: Batch writes to MMIO

2008-05-20 Thread Laurent Vivier
Le mardi 20 mai 2008 à 10:43 -0500, Hollis Blanchard a écrit : > On Tuesday 20 May 2008 02:39:42 Laurent Vivier wrote: > > Le lundi 19 mai 2008 à 22:04 -0500, Hollis Blanchard a écrit : > > > On Monday 19 May 2008 03:36:30 Laurent Vivier wrote: > > > &g

[PATCH 1/5] kvm_io_device: extend in_range() to manage len and write attribute

2008-05-23 Thread Laurent Vivier
Modify member in_range() of structure kvm_io_device to pass length and the type of the I/O (write or read). This modification allows to use kvm_io_device with MMIO batching. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- arch/ia64/kvm/kvm-ia64.c |6 +++--- arch/x86/kvm/i

[PATCH 3/7] libkvm: delayed MMIO support (powerpc part)

2008-05-23 Thread Laurent Vivier
This patch enables MMIO batching for powerpc architecture. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- libkvm/libkvm-powerpc.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/libkvm/libkvm-powerpc.c b/libkvm/

[PATCH 5/7] qemu: delayed MMIO support (core)

2008-05-23 Thread Laurent Vivier
This patch introduces in qemu the MMIO batching. It defines qemu_kvm_register_delayed_mmio() and qemu_kvm_unregister_delayed_mmio() to register and unregister delayed MMIO zone. It calls qemu_kvm_unregister_delayed_mmio() on pci_update_mappings(). Signed-off-by: Laurent Vivier <[EMAIL PROTEC

[PATCH 0/7] kvm-userspace: Batch writes to MMIO

2008-05-23 Thread Laurent Vivier
MMIO support (VGA) This patch defines delayed MMIO zones for VGA cards. [PATCH 7/7] qemu: delayed MMIO support (e1000) This patch defines delayed MMIO zones for e1000 ethernet card. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> -- To unsubscribe from this list: send th

[PATCH 4/7] libkvm: delayed MMIO support (ia64 part)

2008-05-23 Thread Laurent Vivier
This patch enables MMIO batching for ia64 architecture. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- libkvm/libkvm-ia64.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/libkvm/libkvm-ia64.c b/libkvm/libkvm-ia64.c

[PATCH 4/5] Add delayed MMIO support (powerpc part)

2008-05-23 Thread Laurent Vivier
This patch enables MMIO batching for powerpc architecture. It defines KVM_MMIO_PAGE_OFFSET and KVM_CAP_DELAYED_MMIO. It enables the compilation of delayed_mmio.c. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- arch/powerpc/kvm/Makefile

[PATCH 6/7] qemu: delayed MMIO support (VGA)

2008-05-23 Thread Laurent Vivier
This patch defines delayed MMIO zones for VGA cards. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- qemu/hw/cirrus_vga.c |2 ++ qemu/hw/vga.c|4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/qemu/hw/cirrus_vga.c b/qemu/hw/cirrus_vga.c index 2

[PATCH 3/5] Add delayed MMIO support (x86 part)

2008-05-23 Thread Laurent Vivier
This patch enables MMIO batching for x86 architecture. It defines KVM_MMIO_PAGE_OFFSET and KVM_CAP_DELAYED_MMIO. It enables the compilation of delayed_mmio.c. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- arch/x86/kvm/Makefile |3 ++- arch/x86/kvm/x86.c

[PATCH 5/5] Add delayed MMIO support (ia64 part)

2008-05-23 Thread Laurent Vivier
This patch enables MMIO batching for ia64 architecture. It defines KVM_MMIO_PAGE_OFFSET and KVM_CAP_DELAYED_MMIO. It enables the compilation of delayed_mmio.c. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- arch/ia64/kvm/Makefile |3 ++-

[PATCH 0/5] kvm: Batch writes to MMIO

2008-05-23 Thread Laurent Vivier
. [PATCH 5/5] Add delayed MMIO support (ia64 part) This patch enables MMIO batching for ia64 architecture. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body

[PATCH 2/7] libkvm: delayed MMIO support (x86 part)

2008-05-23 Thread Laurent Vivier
This patch enables MMIO batching for x86 architecture. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- libkvm/libkvm-x86.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/libkvm/libkvm-x86.c b/libkvm/libkvm-x86.c index d46fdcc..6762b91 100644 --- a/libkvm/

[PATCH 1/7] libkvm: delayed MMIO support (common part)

2008-05-23 Thread Laurent Vivier
register a delayed MMIO zone, and kvm_unregister_delayed_mmio() to unregister it. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- libkvm/kvm-common.h |2 + libkvm/libkvm.c | 73 +++ libkvm/libkvm.h |2 + 3 files chang

[PATCH 7/7] qemu: delayed MMIO support (e1000)

2008-05-23 Thread Laurent Vivier
This patch defines delayed MMIO zones for e1000 ethernet card. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- qemu/hw/e1000.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/qemu/hw/e1000.c b/qemu/hw/e1000.c index 01f8983..97f46f6 100644

[PATCH 2/5] Add delayed MMIO support (common part)

2008-05-23 Thread Laurent Vivier
start of th kvm_run structure. The MMIO ring buffer is defined by the structure kvm_batch. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- include/linux/kvm.h | 26 include/linux/kvm_host.h |4 + virt/kvm/delayed_mmio.c

[PATCH 1/5] kvm_io_device: extend in_range() to manage len and write attribute

2008-05-30 Thread Laurent Vivier
Modify member in_range() of structure kvm_io_device to pass length and the type of the I/O (write or read). This modification allows to use kvm_io_device with coalesced MMIO. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- arch/ia64/kvm/kvm-ia64.c |6 +++--- arch/x86/kvm/i

[PATCH 2/5] Add coalesced MMIO support (common part)

2008-05-30 Thread Laurent Vivier
the start of th kvm_run structure. The MMIO ring buffer is defined by the structure kvm_coalesced_mmio_ring. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- include/linux/kvm.h | 29 include/linux/kvm_host.h |4 + virt/kvm/coalesced_mmio.c

[PATCH 3/5] Add coalesced MMIO support (x86 part)

2008-05-30 Thread Laurent Vivier
This patch enables coalesced MMIO for x86 architecture. It defines KVM_MMIO_PAGE_OFFSET and KVM_CAP_COALESCED_MMIO. It enables the compilation of coalesced_mmio.c. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- arch/x86/kvm/Makefile |3 ++- arch/x86/kvm/x86.c

[PATCH 4/5] Add coalesced MMIO support (powerpc part)

2008-05-30 Thread Laurent Vivier
This patch enables coalesced MMIO for powerpc architecture. It defines KVM_MMIO_PAGE_OFFSET and KVM_CAP_COALESCED_MMIO. It enables the compilation of coalesced_mmio.c. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- arch/powerpc/kvm/Makefile

[PATCH 0/5] kvm: Batch writes to MMIO

2008-05-30 Thread Laurent Vivier
. WARNING: this has not been tested. [PATCH 5/5] Add coalesced MMIO support (ia64 part) This patch enables coalesced MMIO for ia64 architecture. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> -- To unsubscribe from this list: send th

[PATCH 5/5] Add coalesced MMIO support (ia64 part)

2008-05-30 Thread Laurent Vivier
This patch enables coalesced MMIO for ia64 architecture. It defines KVM_MMIO_PAGE_OFFSET and KVM_CAP_COALESCED_MMIO. It enables the compilation of coalesced_mmio.c. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- arch/ia64/kvm/Makefile

[PATCH 0/7] kvm-userspace: Batch writes to MMIO

2008-05-30 Thread Laurent Vivier
/7] qemu: coalesced MMIO support (VGA) This patch defines coalesced MMIO zones for VGA cards. [PATCH 7/7] qemu: coalesced MMIO support (e1000) This patch defines coalesced MMIO zones for e1000 ethernet card. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> -- To unsubscribe fro

[PATCH 1/7] libkvm: coalesced MMIO support (common part)

2008-05-30 Thread Laurent Vivier
() to register a coalesced MMIO zone, and kvm_unregister_coalesced_mmio() to unregister it. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- libkvm/kvm-common.h |2 + libkvm/libkvm.c | 75 +++ libkvm/libkvm.h |4 +++ 3

[PATCH 2/7] libkvm: coalesced MMIO support (x86 part)

2008-05-30 Thread Laurent Vivier
This patch enables coalesced MMIO for x86 architecture. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- libkvm/kvm-x86.h|2 ++ libkvm/libkvm-x86.c |4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/libkvm/kvm-x86.h b/libkvm/kvm-x86.h index 1dccf64..e

[PATCH 3/7] libkvm: coalesced MMIO support (powerpc part)

2008-05-30 Thread Laurent Vivier
This patch enables coalesced MMIO for powerpc architecture. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- libkvm/kvm-powerpc.h|7 +++ libkvm/libkvm-powerpc.c |6 ++ 2 files changed, 13 insertions(+), 0 deletions(-) diff -

[PATCH 4/7] libkvm: coalesced support (ia64 part)

2008-05-30 Thread Laurent Vivier
This patch enables coalesced MMIO for ia64 architecture. WARNING: this has not been tested. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- libkvm/kvm-ia64.h|3 +++ libkvm/libkvm-ia64.c |6 ++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/libkvm/kvm-

[PATCH 7/7] qemu: coalesced MMIO support (e1000)

2008-05-30 Thread Laurent Vivier
This patch defines coalesced MMIO zones for e1000 ethernet card. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- qemu/hw/e1000.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/qemu/hw/e1000.c b/qemu/hw/e1000.c index 01f8983..5b3a365 100644 ---

[PATCH 5/7] qemu: coalesced MMIO support (core)

2008-05-30 Thread Laurent Vivier
This patch introduces in qemu the coalesced MMIO. It defines qemu_kvm_register_coalesced_mmio() and qemu_kvm_unregister_coalesced_mmio() to register and unregister coalesced MMIO zone. It calls qemu_kvm_unregister_coalesced_mmio() on pci_update_mappings(). Signed-off-by: Laurent Vivier <[EM

[PATCH 6/7] qemu: coalesced MMIO support (VGA)

2008-05-30 Thread Laurent Vivier
This patch defines coalesced MMIO zones for VGA cards. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- qemu/hw/cirrus_vga.c |2 ++ qemu/hw/vga.c|4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/qemu/hw/cirrus_vga.c b/qemu/hw/cirrus_vga.c index 2

[PATCH] Add virtio-net driver

2008-06-10 Thread Laurent Vivier
This patch allows to boot from network using the virtio-net adapter provided by KVM. It applies on etherboot-5.4 sources from git://git.etherboot.org/scm/etherboot.git [why etherboot-5.4 ? because it doesn't hang like gPXE and ROM size is only 32 KB] Signed-off-by: Laurent Vivier &l

[ROM] virtio-net etherboot ROM

2008-06-10 Thread Laurent Vivier
You can find attached to this e-mail an etherboot ROM supporting virtio-net device. Laurent -- - [EMAIL PROTECTED] --- "The best way to predict the future is to invent it." - Alan Kay pxe-virtio.bin Description: Binary data

[PATCH] call virtio_update_irq() to clear irq according isr

2008-06-11 Thread Laurent Vivier
if we clear vdev->isr, it seems logic to call virtio_update_irq(vdev) to update irq. The bug appears when we boot with etherboot virtio driver which never read the interrupt status and so never clear it. Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> --- qemu/hw/virtio.c |1 +

Re: VT enabled in BIOS, still kvm says 'disabled by bios'

2008-06-12 Thread Laurent Vivier
Hi, You need to go through a power-down/power-up cycle. (See the help associated with the flag in the BIOS) Laurent Le jeudi 12 juin 2008 à 16:04 +0530, Sukanto Ghosh a écrit : > Hi all, > > On my system: > > Processor: Intel Core 2 Duo 6300 1.86 GHz > Motherboard: Intel DG965RY > OS: Ubuntu

[PATCH] [v2] etherboot: add virtio-net driver

2008-06-13 Thread Laurent Vivier
This patch allows to boot from network using the virtio-net adapter provided by KVM. It applies on etherboot-5.4 sources from git://git.etherboot.org/scm/etherboot.git Changelog: v2: Clear ISR on reset, some cosmetic changes, implement virtnet_irq(). Signed-off-by: Laurent Vivier <[EM

[ROM][v2] virtio-net etherboot ROM

2008-06-13 Thread Laurent Vivier
This new version of virtio-net etherboot ROM clears the ISR on reset, and thus allows linux to use it again (on Qemu/KVM). Laurent -- - [EMAIL PROTECTED] --- "The best way to predict the future is to invent it." - Alan Kay pxe-virtio.bin Description: Binary data

Re: [ kvm-Bugs-1985977 ] Guests crash while rebooting

2008-06-14 Thread Laurent Vivier
Le samedi 14 juin 2008 à 11:58 -0700, Avi Kivity a écrit : > Yunfeng Zhao wrote: > > > >> Date: 2008-06-12 16:26 > >> > >> Message: > >> Logged In: YES user_id=539971 > >> Originator: NO > >> > >> Okay, I reverted the patch. > >> > > Avi, > > > > The issue still exists on our nightly testing mac

Re: [ kvm-Bugs-1985977 ] Guests crash while rebooting

2008-06-16 Thread Laurent Vivier
Le samedi 14 juin 2008 à 12:12 -0700, Avi Kivity a écrit : > Laurent Vivier wrote: > > Perhaps you can re-apply 36742c5470 ? > > > > As it's not 100% reliable, I prefer to wait until it is fixed. I'm not able to reproduce the failure we met originally. Could you

Re: [ kvm-Bugs-1985977 ] Guests crash while rebooting

2008-06-16 Thread Laurent Vivier
Le lundi 16 juin 2008 à 14:29 -0300, Marcelo Tosatti a écrit : > On Mon, Jun 16, 2008 at 03:31:10PM +0200, Laurent Vivier wrote: > > Le samedi 14 juin 2008 à 12:12 -0700, Avi Kivity a écrit : > > > Laurent Vivier wrote: > > > > Perhaps you can re-apply 36742c5470 ? &

Re: [PATCH] libkvm: export init for coalesced MMIO support

2008-06-18 Thread Laurent Vivier
Le mercredi 18 juin 2008 à 00:22 -0500, Carlo Marcelo Arenas Belon a écrit : > complement 2680f3df932a3119880a692609943587ecc8f409 to export the > definition for kvm_init_coalesced_mmio as it is used by the per > arch libkvm as shown by the following warning : > > libkvm-x86.c: In function 'kvm_

Re: [ROM][v2] virtio-net etherboot ROM

2008-06-19 Thread Laurent Vivier
Le mercredi 18 juin 2008 à 06:26 -0700, Avi Kivity a écrit : > Laurent Vivier wrote: > > This new version of virtio-net etherboot ROM clears the ISR on reset, > > and thus allows linux to use it again (on Qemu/KVM). > > > > What's the status of upstreaming this?

Re: Sharing disks between two kvm guests

2008-06-20 Thread Laurent Vivier
Le vendredi 20 juin 2008 à 09:07 -0500, Javier Guerra a écrit : > On Fri, Jun 20, 2008 at 7:23 AM, carlopmart <[EMAIL PROTECTED]> wrote: > > Felix Leimbach wrote: > >> > >>> This is my first post to this list. I have already installed kvm-70 > >>> under rhel5.2. My intention is to share on disk im

Re: Sharing disks between two kvm guests

2008-06-20 Thread Laurent Vivier
Le vendredi 20 juin 2008 à 11:37 -0500, Anthony Liguori a écrit : > Laurent Vivier wrote: > > Le vendredi 20 juin 2008 à 09:07 -0500, Javier Guerra a écrit : > > > >> On Fri, Jun 20, 2008 at 7:23 AM, carlopmart <[EMAIL PROTECTED]> wrote: > &

Re: [PATCH] Use qemu_memalign instead of qemu_malloc

2008-06-25 Thread Laurent Vivier
Le mercredi 25 juin 2008 à 16:15 +0200, Kevin Wolf a écrit : > Anthony Liguori schrieb: > > Kevin Wolf wrote: > >> Anthony Liguori schrieb: > >> > >>> I guess the main block code is not as defensive as I thought it was. > >>> This patch > >>> uses qemu_memalign to allocate the buffers for IO so

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 09:37 +0100, Daniel P. Berrange a écrit : > The following two command lines should be identical from the user's > point of view: > > # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 > > # qemu-kvm -drive > file=/home/berrange/boot.iso,if=ide,media=cdrom,index=2

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 09:51 +0100, Daniel P. Berrange a écrit : > On Tue, Jul 08, 2008 at 10:48:18AM +0200, Laurent Vivier wrote: > > Le mardi 08 juillet 2008 à 09:37 +0100, Daniel P. Berrange a écrit : > > > The following two command lines should be identical from the use

Re: KVM Test result, kernel a81a686.., userspace 619ca34..

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 16:58 +0800, Xu, Jiajun a écrit : > Hi All, > > This is today's KVM test result against kvm.git > a81a686682d6f04c842ebf9e084e30cd875f1048 and kvm-userspace.git > 619ca34310a8968b6939fa6aba5b85a16b20315e. > There's no new issue today. > > Three Old Issues: > ===

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 11:17 +0200, Soren Hansen a écrit : > On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: > > The following two command lines should be identical from the user's > > point of view: > > > > # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 > > > >

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 10:21 +0100, Daniel P. Berrange a écrit : > On Tue, Jul 08, 2008 at 11:17:24AM +0200, Soren Hansen wrote: > > On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: > > > The following two command lines should be identical from the user's > > > point of view:

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 08:01 -0500, Anthony Liguori a écrit : > Daniel P. Berrange wrote: > > On Tue, Jul 08, 2008 at 11:17:24AM +0200, Soren Hansen wrote: > > > >> On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: > >> > >>> The following two command lines should be i

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 09:59 -0500, Anthony Liguori a écrit : > Laurent Vivier wrote: > > So, "boot=on" means in fact "bootable=true" > > > > I guess. I don't know that the later is more clear. I think the source > of the confusion

Re: [ROM][v2] virtio-net etherboot ROM

2008-08-04 Thread Laurent Vivier
Le mercredi 18 juin 2008 à 06:26 -0700, Avi Kivity a écrit : > Laurent Vivier wrote: > > This new version of virtio-net etherboot ROM clears the ISR on reset, > > and thus allows linux to use it again (on Qemu/KVM). > > > > What's the status of upstreaming this?

[PATCH] Clear temporary interrupt blocking on halt in real mode

2008-08-05 Thread Laurent Vivier
op because interrupts are not delivered to increase %fs:(0x6c): movl%fs:(0x6c), %eax 1: pushf sti hlt popf cmpl%fs:(0x6c), %eax je 1b This patch clears the interruptibility state when halt is emulated in real mode. Signed-off-by: Laur

Re: [PATCH] KVM: PPC: Fix emulation of H_SET_DABR/X on POWER8

2015-11-20 Thread Laurent Vivier
, r4, 3 > std r4, VCPU_DAWR(r3) > std r5, VCPU_DAWRX(r3) > Nice catch. Reviewed-by: Laurent Vivier -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 0/2] KVM: PPC: Book3S HV: Dynamic micro-threading/split-core

2015-06-17 Thread Laurent Vivier
48 > ++ > arch/powerpc/kvm/book3s_hv_builtin.c | 32 +- > arch/powerpc/kvm/book3s_hv_rm_xics.c | 4 +- > arch/powerpc/kvm/book3s_hv_rmhandlers.S | 111 - > 7 files changed, 740 insertions(+), 106 deletions(-) Tested-by: Laurent Vivier

Re: [PATCH 0/2] KVM: PPC: Book3S HV: Dynamic micro-threading/split-core

2015-06-22 Thread Laurent Vivier
On 22/06/2015 02:09, Paul Mackerras wrote: > On Wed, Jun 17, 2015 at 07:30:09PM +0200, Laurent Vivier wrote: >> >> Tested-by: Laurent Vivier >> >> Performance is better, but Paul could you explain why it is better if I >> disable dynamic micro-threading ? &

Re: [PATCH] KVM: Add Kconfig option to signal cross-endian guests

2015-07-09 Thread Laurent Vivier
On 09/07/2015 09:49, Thomas Huth wrote: > The option for supporting cross-endianness legacy guests in > the vhost and tun code should only be available on systems > that support cross-endian guests. I'm sure I misunderstand something, but what happens if we use QEMU with TCG instead of KVM, i.e.

Re: [PATCH 0/2] Two fixes for dynamic micro-threading

2015-07-16 Thread Laurent Vivier
> > arch/powerpc/kvm/book3s_hv.c | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) Tested-by: Laurent Vivier [this series has corrected a host kernel crash when CPU are overcommitted] -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body

Re: [PATCH 0/2] Two fixes for dynamic micro-threading

2015-07-24 Thread Laurent Vivier
On 23/07/2015 14:02, Alexander Graf wrote: > > > On 20.07.15 08:49, David Gibson wrote: >> On Thu, Jul 16, 2015 at 05:11:12PM +1000, Paul Mackerras wrote: >>> This series contains two fixes for the new dynamic micro-threading >>> code that was added recently for HV-mode KVM on Power servers. >>