[Qemu-devel] TRIM, UNMAP and QCOW2 release of block information - Thin provisioning

2012-08-12 Thread Gerhard Wiesinger
Hello, As far as I saw QEMU/KVM supports the trim command on IDE/SATA devices and the UNMAP command on SCSI devices/disks (thanks Paolo Bonzini). Will the qcow2 format (or other formats) use this information and also release the blocks for thin provisioning to save disk space on filesystems?

[Qemu-devel] [PATCH] hw/vmmouse.c: Disable vmmouse after reboot

2012-01-25 Thread Gerhard Wiesinger
e reboot. Also, the mouse stays in absolute mode even before X starts again. Fixed by: Disabling the vmmouse in its reset handler. Signed-off-by: Gerhard Wiesinger --- hw/vmmouse.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/vmmouse.c b/hw/vmmouse.c index 1113f33.

Re: [Qemu-devel] [PATCH] hw/vmmouse.c: Fix to disable vmmouse after reboot

2012-01-25 Thread Gerhard Wiesinger
On Tue, 24 Jan 2012, Jan Kiszka wrote: I can confirm the that this patch fixes a real issue. Setup: qemu.git, opensuse 11.4 guest, SDL graphic, system_reset while guest is using the vmmouse. Without the patch, the vmmouse become unusable after the reboot. Also, the mouse stays in absolute mode ev

Re: [Qemu-devel] [PATCH] kvm: flush the dirty log when unregistering a slot

2012-01-25 Thread Gerhard Wiesinger
On Sun, 15 Jan 2012, Avi Kivity wrote: On 01/15/2012 04:40 PM, Gerhard Wiesinger wrote: On Sun, 15 Jan 2012, Jan Kiszka wrote: On 2012-01-15 15:17, Avi Kivity wrote: Otherwise, the dirty log information is lost in the kernel forever. Fixes opensuse-12.1 boot screen, which changes the vga

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-25 Thread Gerhard Wiesinger
On Sun, 8 Jan 2012, Kevin O'Connor wrote: On Sun, Jan 08, 2012 at 05:17:45PM +0200, Gleb Natapov wrote: No - the option rom will always be executed. The purpose of placing it in the BCV list is to order its execution with respect to other BCVs so that if the legacy option rom hooks int13 it will

[Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-25 Thread Gerhard Wiesinger
fname=tap1,script=no,downscript=no,vlan=1 Signed-off-by: Gerhard Wiesinger --- hw/ne2000.c|2 +- hw/pci.c | 39 --- hw/pci.h |7 +++ hw/pcnet-pci.c |2 +- 4 files changed, 45 insertions(+), 5 deletions(-) diff --git a/hw/ne200

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-25 Thread Gerhard Wiesinger
On Thu, 12 Jan 2012, Gerd Hoffmann wrote: Hi, I'm not sure about the consequences (hotplugging feature, etc.) when changing it to romfile as in other PCI devices. There should be no noticable difference. I don't know the consequences there so I think it is better to let that code and jus

Re: [Qemu-devel] [PATCH] kvm: flush the dirty log when unregistering a slot

2012-01-26 Thread Gerhard Wiesinger
On Thu, 26 Jan 2012, Avi Kivity wrote: On 01/25/2012 10:15 PM, Gerhard Wiesinger wrote: On Sun, 15 Jan 2012, Avi Kivity wrote: On 01/15/2012 04:40 PM, Gerhard Wiesinger wrote: On Sun, 15 Jan 2012, Jan Kiszka wrote: On 2012-01-15 15:17, Avi Kivity wrote: Otherwise, the dirty log

Re: [Qemu-devel] [PATCH] hw/vmmouse.c: Disable vmmouse after reboot

2012-01-26 Thread Gerhard Wiesinger
On Thu, 26 Jan 2012, Andreas Färber wrote: Am 25.01.2012 21:04, schrieb Gerhard Wiesinger: Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2 mouse. Details: When a guest activated the vmmouse followed by a reboot the vmmouse was still enabled and the PS/2 mouse

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-26 Thread Gerhard Wiesinger
On Thu, 26 Jan 2012, Markus Armbruster wrote: Gerd Hoffmann writes: On 01/26/12 08:45, Markus Armbruster wrote: Gerhard Wiesinger writes: Option ROM for network interface cards (NICs) can now explicitly disabled with romfile=disabled (or romfile=no or romfile=none) parameter. With

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-27 Thread Gerhard Wiesinger
On Thu, 26 Jan 2012, Markus Armbruster wrote: Gerd Hoffmann writes: On 01/26/12 08:45, Markus Armbruster wrote: Gerhard Wiesinger writes: Option ROM for network interface cards (NICs) can now explicitly disabled with romfile=disabled (or romfile=no or romfile=none) parameter. With

Re: [Qemu-devel] [PATCH] hw/vmmouse.c: Disable vmmouse after reboot

2012-02-03 Thread Gerhard Wiesinger
On Fri, 3 Feb 2012, Anthony Liguori wrote: On 01/25/2012 02:04 PM, Gerhard Wiesinger wrote: Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2 mouse. Details: When a guest activated the vmmouse followed by a reboot the vmmouse was still enabled and the PS/2

Re: [Qemu-devel] [PATCH 3/3] vmmouse: replace PROP_PTR property with gpio pin to i8042

2012-02-04 Thread Gerhard Wiesinger
Hello Paolo, What will be fixed/enhanced by this patch? Scenario? Can you also add a more detailed commit message. Thnx. Ciao, Gerhard -- http://www.wiesinger.com/ On Sat, 4 Feb 2012, Paolo Bonzini wrote: Signed-off-by: Paolo Bonzini --- hw/pc.c |7 +++ hw/pc.h |1 -

[Qemu-devel] Missing patch in QEMU which is in QEMU-KVM

2012-02-12 Thread Gerhard Wiesinger
Hello, I miss the following patch in QEMU which is in QEMU-KVM: http://article.gmane.org/gmane.comp.emulators.kvm.devel/13557 commit a7fe0297840908a4fd65a1cf742481ccd45960eb Author: Andreas Winkelbauer Date: Sun Feb 24 10:33:27 2008 +0200 Extend vram size to 16MB this is useful for

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-02-12 Thread Gerhard Wiesinger
On Fri, 27 Jan 2012, Gerhard Wiesinger wrote: On Thu, 26 Jan 2012, Markus Armbruster wrote: Gerd Hoffmann writes: On 01/26/12 08:45, Markus Armbruster wrote: Gerhard Wiesinger writes: Option ROM for network interface cards (NICs) can now explicitly disabled with romfile=disabled (or

[Qemu-devel] Kernel mode VGAs?

2012-02-13 Thread Gerhard Wiesinger
Hello, Current QEMU-KVM VGA implementation have the following problem with legacy OS (e.g. DOS with INT10h calls): Performance is low on accessing A000:0 page and doing bank switching at the 64k page. Would a kernel mode VGA solve these problems? How complicated is it? Is it possible to have o

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-02-15 Thread Gerhard Wiesinger
On Mon, 13 Feb 2012, Gerhard Wiesinger wrote: On Fri, 27 Jan 2012, Gerhard Wiesinger wrote: On Thu, 26 Jan 2012, Markus Armbruster wrote: Gerd Hoffmann writes: On 01/26/12 08:45, Markus Armbruster wrote: Gerhard Wiesinger writes: Option ROM for network interface cards (NICs) can now

[Qemu-devel] [PATCH] Makefile vgabios.c: Add filename to VGA splash screen

2012-02-16 Thread Gerhard Wiesinger
Filename is now displayed at VGA splash screen to see which BIOS on different VGAs will be used. Signed-off-by: Gerhard Wiesinger --- Makefile |2 +- vgabios.c |3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 578721a..627b758 100644

Re: [Qemu-devel] [PATCH][v11] megasas: LSI Megaraid SAS HBA emulation

2012-02-17 Thread Gerhard Wiesinger
On Fri, 17 Feb 2012, Hannes Reinecke wrote: On 02/17/2012 03:03 PM, Gerhard Wiesinger wrote: Hello Hannes, Reason for my problems of non working megasas is that megasas.o was no compiled: Details: Makefile.objs #hw-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o # OK: hw-obj-y += megasas.o

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.3.0 release

2012-12-06 Thread Gerhard Wiesinger
On 03.12.2012 21:51, Anthony Liguori wrote: Hi, Major features include: - After nearly 6 years of work, all remaining differences between the qemu-kvm.git and qemu.git have been merged into qemu.git How is qemu-kvm enabled? --enable-kvm ? Is there a runtime only command line switch als

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.3.0 release

2012-12-07 Thread Gerhard Wiesinger
On 07.12.2012 08:37, Markus Armbruster wrote: Gerhard Wiesinger writes: On 03.12.2012 21:51, Anthony Liguori wrote: Hi, Major features include: - After nearly 6 years of work, all remaining differences between the qemu-kvm.git and qemu.git have been merged into qemu.git How is

[Qemu-devel] QXL stands for?

2012-12-09 Thread Gerhard Wiesinger
Hello, Didn't find it. For what does QXL stand for? Thanx. Ciao, Gerhard

Re: [Qemu-devel] Compile error

2012-10-09 Thread Gerhard Wiesinger
Hello, Still not compile clean, also on the build servers. Who is responsible for the fix? Ciao, Gerhard On 16.09.2012 18:25, Gerhard Wiesinger wrote: Hello, qemu is currently not compile clean on Fedora 17: CC fsdev/virtfs-proxy-helper.o fsdev/virtfs-proxy-helper.c: In function

Re: [Qemu-devel] [PATCH] hw: Add support for new LSI Logic devices.

2012-09-12 Thread Gerhard Wiesinger
On 11.09.2012 19:00, Don Slutz wrote: Add LSI53C1030, SAS1068, SAS1068e. Based on code from "VirtualBox Open Source Edition". Based on QEMU MegaRAID SAS 8708EM2. This is a common VMware disk controller. SEABIOS change for booting is in the works. Tested with Fedora 16, 17. CentoOS 6. Window

[Qemu-devel] Compile error

2012-09-16 Thread Gerhard Wiesinger
Hello, qemu is currently not compile clean on Fedora 17: CC fsdev/virtfs-proxy-helper.o fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’: fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of ‘setfsgid’, declared with attribute warn_unused_result [-Werror=unused-result] fsdev

[Qemu-devel] Compile error on FC17

2013-03-10 Thread Gerhard Wiesinger
Hello, qemu is currently not compile clean: CC util/hbitmap.o util/hbitmap.c: In function ‘hbitmap_iter_skip_words’: util/hbitmap.c:138:5: error: implicit declaration of function ‘trace_hbitmap_iter_skip_words’ [-Werror=implicit-function-declaration] util/hbitmap.c:138:5: error: nested extern de

Re: [Qemu-devel] Compile error on FC17

2013-03-10 Thread Gerhard Wiesinger
On 10.03.2013 14:20, Peter Maydell wrote: On 10 March 2013 20:28, Gerhard Wiesinger wrote: Hello, qemu is currently not compile clean: CC util/hbitmap.o util/hbitmap.c: In function ‘hbitmap_iter_skip_words’: util/hbitmap.c:138:5: error: implicit declaration of function

Re: [Qemu-devel] Compile error on FC17

2013-03-10 Thread Gerhard Wiesinger
On 10.03.2013 18:04, Peter Maydell wrote: Oh, right. Tracing functions moved from trace.h to the files in the trace/ subdirectory. This means that if you didn't do a make clean or distclean before doing the git update then the new makefile knows nothing about the old trace.h file and so won't d

Re: [Qemu-devel] uvesafb doesn't work with seabios

2014-05-13 Thread Gerhard Wiesinger
On 13.05.2014 17:41, Kevin O'Connor wrote: The x86emu code does not properly emulate "leal" (as near as I can tell it treats it as a "leaw" instead), which leads to all sorts of bizarre behavior when it tries to interpret the code. This type of issue has occurred for a bunch of instructions (o

[Qemu-devel] [PATCH] hw/vmmouse.c: Fix to disable vmmouse after reboot

2012-01-04 Thread Gerhard Wiesinger
Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2 mouse. Signed-off-by: Gerhard Wiesinger --- hw/vmmouse.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/vmmouse.c b/hw/vmmouse.c index 1113f33..f9f5b53 100644 --- a/hw/vmmouse.c +++ b

Re: [Qemu-devel] [PATCH] hw/vmmouse.c: Fix to disable vmmouse after reboot

2012-01-04 Thread Gerhard Wiesinger
abled on reset. Ciao, Gerhard -- http://www.wiesinger.com/ On Wed, 4 Jan 2012, Andreas Färber wrote: Am 04.01.2012 17:54, schrieb Gerhard Wiesinger: Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2 mouse. Could you please be a bit more verbose on what sympt

[Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-04 Thread Gerhard Wiesinger
Hello, I'm having the following boot order problem using an SCSI option ROM: Command line: /root/download/qemu/git/qemu-kvm/x86_64-softmmu/qemu-system-x86_64 -drive file=1.img,media=disk,if=scsi,bus=0,unit=0 -drive file=2.img,media=disk,if=scsi,bus=0,unit=1 -drive file=3.img,media=disk,if=scsi,b

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-04 Thread Gerhard Wiesinger
On Wed, 4 Jan 2012, Kevin O'Connor wrote: On Wed, Jan 04, 2012 at 07:02:34PM +0100, Gerhard Wiesinger wrote: There is a "bootindex" option that can be passed to the "-device" parameter of QEMU. This option give more fine grained control of boot order. However, the de

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Gerd Hoffmann wrote: On 01/04/12 19:02, Gerhard Wiesinger wrote: Hello, I'm having the following boot order problem using an SCSI option ROM: Still boots the cdrom instead of harddisk. So it is impossible to have a bootable CDROM in the VM without booting fr

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Gleb Natapov wrote: On Thu, Jan 05, 2012 at 09:23:02AM +0100, Gerhard Wiesinger wrote: On Thu, 5 Jan 2012, Gerd Hoffmann wrote: On 01/04/12 19:02, Gerhard Wiesinger wrote: Hello, I'm having the following boot order problem using an SCSI option ROM: Still boot

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Gerd Hoffmann wrote: Hi, Better use a empty string as romfile argument, that will make the ROM pci bar go away instead of creating one with an invalid rom. Thnx. Works well by specifying no romfile, that's the trick. I had the problem than otherwise devices were created.

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Gleb Natapov wrote: On Thu, Jan 05, 2012 at 10:09:44AM +0100, Gerhard Wiesinger wrote: On Thu, 5 Jan 2012, Gleb Natapov wrote: On Thu, Jan 05, 2012 at 09:23:02AM +0100, Gerhard Wiesinger wrote: On Thu, 5 Jan 2012, Gerd Hoffmann wrote: On 01/04/12 19:02, Gerhard

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Gleb Natapov wrote: On Thu, Jan 05, 2012 at 10:27:44AM +0100, Gerhard Wiesinger wrote: On Thu, 5 Jan 2012, Gleb Natapov wrote: On Thu, Jan 05, 2012 at 10:09:44AM +0100, Gerhard Wiesinger wrote: On Thu, 5 Jan 2012, Gleb Natapov wrote: On Thu, Jan 05, 2012 at 09:23:02AM

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Gleb Natapov wrote: boot option is deprecated in favor of bootindex. The later has much more fine grained control of boot sequence. What if you have 5 SCSI controllers? Even boot=c does not tell you much if you have more then one disk. Ok, then this is a documentation issue

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Gerd Hoffmann wrote: On 01/05/12 10:24, Gerhard Wiesinger wrote: On Thu, 5 Jan 2012, Gerd Hoffmann wrote: Hi, Better use a empty string as romfile argument, that will make the ROM pci bar go away instead of creating one with an invalid rom. Thnx. Works well by

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Gerd Hoffmann wrote: qemu-system-x86_64: -device rtl8139,macaddr=1a:46:0b:ca:bc:7c,vlan=0,romfile=: Property 'rtl8139.macaddr' not found Oops. It is mac=..., not macaddr=... Just for the records, working config looks like: /root/download/qemu/git/qemu-kvm/x86_64-softmmu/q

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-06 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Kevin O'Connor wrote: On Thu, Jan 05, 2012 at 08:39:15AM +0100, Gerhard Wiesinger wrote: BTW: I didn't get any answer to the following thread: https://lists.gnu.org/archive/html/qemu-devel/2011-11/msg00602.html Odd - that email never made it to my inbox. An

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-07 Thread Gerhard Wiesinger
On Thu, 5 Jan 2012, Kevin O'Connor wrote: On Thu, Jan 05, 2012 at 11:20:37AM +0200, Gleb Natapov wrote: On Thu, Jan 05, 2012 at 10:09:44AM +0100, Gerhard Wiesinger wrote: But as far as I remember therefore the option ROM registers through BIOS for INT 19h booting. So Seabios should kn

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-07 Thread Gerhard Wiesinger
On Fri, 6 Jan 2012, Kevin O'Connor wrote: I'm not sure what a SCSI rom would do with a CD drive. My guess is that it wouldn't map it to a BIOS visible drive id at all, as there's no way to select an id with any assurance that it wont conflict with one chosen by the BIOS or another rom. If QEMU

Re: [Qemu-devel] [Bug] System emulation with flash broken?

2012-01-07 Thread Gerhard Wiesinger
On Fri, 6 Jan 2012, Stefan Weil wrote: Hello Avi, latest QEMU seems to be broken when a system emulation with flash is started. I did not run git bisect, but it looks like the problem started with this change: c5705a7728b4a6bc9e4f2d35911adbaf28042b25 Author: Avi Kivity 2011-12-20 14:59:12

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-07 Thread Gerhard Wiesinger
On Sat, 7 Jan 2012, Kevin O'Connor wrote: On Sat, Jan 07, 2012 at 09:35:55AM +0100, Gerhard Wiesinger wrote: [...] 5. Legacy option rom 6. DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD] 7. iPXE (PCI 00:00.0) But there is still the iPXE ROM there (I think I didn't see iPXE because it i

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-07 Thread Gerhard Wiesinger
On Sat, 7 Jan 2012, Kevin O'Connor wrote: On Sat, Jan 07, 2012 at 10:00:56AM +0100, Gerhard Wiesinger wrote: On Fri, 6 Jan 2012, Kevin O'Connor wrote: I'm not sure what a SCSI rom would do with a CD drive. My guess is that it wouldn't map it to a BIOS visible drive id a

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-07 Thread Gerhard Wiesinger
On Sat, 7 Jan 2012, Gerhard Wiesinger wrote: No NIC: -net none => No iPXE ROM (correct). but with the previously listed config no iPXE ROM should be there. Saw this is done through paravirtualization from Seabios/QEMU or KVM. So there must be a bug with the empty romfile options with net

[Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-08 Thread Gerhard Wiesinger
cript=no,vlan=1 Signed-off-by: Gerhard Wiesinger --- hw/ne2000.c|2 +- hw/pci.c | 28 +--- hw/pci.h |5 + hw/pcnet-pci.c |2 +- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/hw/ne2000.c b/hw/ne2000.c index 62e082f..67

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-08 Thread Gerhard Wiesinger
On Sat, 7 Jan 2012, Gerhard Wiesinger wrote: On Sat, 7 Jan 2012, Gerhard Wiesinger wrote: No NIC: -net none => No iPXE ROM (correct). but with the previously listed config no iPXE ROM should be there. Saw this is done through paravirtualization from Seabios/QEMU or KVM. So there must b

Re: [Qemu-devel] [PATCH] hw/vmmouse.c: Fix to disable vmmouse after reboot

2012-01-08 Thread Gerhard Wiesinger
On Wed, 4 Jan 2012, Gerhard Wiesinger wrote: Testscenario: 1.) Boot e.g. OS with VMMouse support (e.g. Windows) 2.) reboot 3.) Boot e.g. OS without VMMouse support (e.g. DOS) => PS/2 mouse doesn't work any more. Fixes that issue. Reason is that VMMouse has priority and disables a

Re: [Qemu-devel] [Bug] System emulation with flash broken?

2012-01-08 Thread Gerhard Wiesinger
On Sun, 8 Jan 2012, Avi Kivity wrote: On 01/07/2012 08:03 PM, Gerhard Wiesinger wrote: On Fri, 6 Jan 2012, Stefan Weil wrote: Hello Avi, latest QEMU seems to be broken when a system emulation with flash is started. I did not run git bisect, but it looks like the problem started with this

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-08 Thread Gerhard Wiesinger
On Sun, 8 Jan 2012, Stefan Hajnoczi wrote: On Sun, Jan 8, 2012 at 11:55 AM, Gerhard Wiesinger wrote: Option ROM for network interface cards (NICs) can now explicitly disabled with romfile=disabled parameter. With hotplugable NICs (currently NE2000, PCNET) romfile=(empty) didn't work.

Re: [Qemu-devel] [PATCH][v7] megasas: LSI Megaraid SAS emulation

2012-01-08 Thread Gerhard Wiesinger
On Tue, 19 Jul 2011, Hannes Reinecke wrote: This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA. It is based off the 'block' tree from Kevin Wolf, as he pulled in the preliminary patches. I've tested it to work with Linux, Windows Vista, and Windows7. Why hasn't this patch already

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-12 Thread Gerhard Wiesinger
On Mon, 9 Jan 2012, Gerd Hoffmann wrote: Hi, if (!pci_dev->qdev.hotplugged) { static int loaded = 0; -if (!loaded) { +if (!loaded && pci_has_not_explicitly_disabled_option_romfile(pci_dev)) { rom_add_option("pxe-ne2k_pci.rom", -1); loade

Re: [Qemu-devel] [Bug] System emulation with flash broken?

2012-01-12 Thread Gerhard Wiesinger
On Sun, 8 Jan 2012, Avi Kivity wrote: On 01/08/2012 02:23 PM, Gerhard Wiesinger wrote: On Sun, 8 Jan 2012, Avi Kivity wrote: On 01/07/2012 08:03 PM, Gerhard Wiesinger wrote: On Fri, 6 Jan 2012, Stefan Weil wrote: Hello Avi, latest QEMU seems to be broken when a system emulation with

Re: [Qemu-devel] [PATCH] kvm: flush the dirty log when unregistering a slot

2012-01-15 Thread Gerhard Wiesinger
On Sun, 15 Jan 2012, Jan Kiszka wrote: On 2012-01-15 15:17, Avi Kivity wrote: Otherwise, the dirty log information is lost in the kernel forever. Fixes opensuse-12.1 boot screen, which changes the vga windows rapidly. Confirmed, problems solved here. Problem from: http://permalink.gmane.or

Re: [Qemu-devel] [PATCH 0/5] VMWare PVSCSI paravirtual device implementation

2012-03-18 Thread Gerhard Wiesinger
Hello Dmitry, Is PVSCSI also ready to boot through BIOS Int 13h? If not, do you plan a SEABIOS patch? Thnx. Ciao, Gerhard On 15.03.2012 10:02, Dmitry Fleytman wrote: Below is the implementation of VMWare PVSCSI device and command line parameters to configure vendor name and product name for S

Re: [Qemu-devel] [PATCH v4 0/9] VMXNET3 paravirtual NIC device implementation

2012-03-18 Thread Gerhard Wiesinger
ndows 2003 32bit Changes in V4: Fixed a few problems uncovered by NETIO test suit Assertion on failure to initialize MSI/MSI-X replaced with warning message and fallback to Legacy/MSI respectively Reported-by: Gerhard Wiesinger Various coding style adjustments and patch s

Re: [Qemu-devel] [PATCH v4 0/9] VMXNET3 paravirtual NIC device implementation

2012-03-18 Thread Gerhard Wiesinger
ndows 2003 32bit Changes in V4: Fixed a few problems uncovered by NETIO test suit Assertion on failure to initialize MSI/MSI-X replaced with warning message and fallback to Legacy/MSI respectively Reported-by: Gerhard Wiesinger Various coding style adjustments and patch s

Re: [Qemu-devel] [PATCH 0/5] VMWare PVSCSI paravirtual device implementation

2012-03-18 Thread Gerhard Wiesinger
Hello Dmitry, Is PVSCSI also ready to boot through BIOS Int 13h? If not, do you plan a SEABIOS patch? Thnx. Ciao, Gerhard On 15.03.2012 10:02, Dmitry Fleytman wrote: Below is the implementation of VMWare PVSCSI device and command line parameters to configure vendor name and product name for S

Re: [Qemu-devel] [PATCH v4 0/9] VMXNET3 paravirtual NIC device implementation

2012-03-19 Thread Gerhard Wiesinger
eytman. On Sun, Mar 18, 2012 at 10:29 AM, Gerhard Wiesinger wrote: Hello, I'm still having problems with v4 patch: ping works well, even with large packet sizes but ssh doesn't work at all. Tested with Knoppix 6.7 and Fedora 16. Thnx. Ciao, Gerhard On 15.03.2012 22:08, Dmitry Fl

Re: [Qemu-devel] [PATCH v4 0/9] VMXNET3 paravirtual NIC device implementation

2012-03-21 Thread Gerhard Wiesinger
Ciao, Gerhard Best regards, Dmitry Fleytman. On Mon, Mar 19, 2012 at 9:24 PM, Gerhard Wiesinger wrote: Hello Dmitry, Tried also v5 patch without success: /root/download/qemu/git/qemu-kvm/x86_64-softmmu/qemu-system-x86_64 -drive if=ide,index=3,media=cdrom,file=ISO/KNOPPIX_V6.7.1CD-2011-09-14-DE

Re: [Qemu-devel] [PATCH v4 0/9] VMXNET3 paravirtual NIC device implementation

2012-03-24 Thread Gerhard Wiesinger
Hello Dmitry, Tried it also on qemu, without success. Same behavior. I sniffed also with tcpdump: ICMP traffic is dumped immediately but TCP traffic not. Looks like a TCP problem. For config and other details see below. Ciao, Gerhard On 21.03.2012 07:59, Gerhard Wiesinger wrote: On

Re: [Qemu-devel] [PATCH v4 23/39] lsi53c895a: convert to memory API

2011-08-10 Thread Gerhard Wiesinger
Hello Avi, qemu/qemu-kvm doesn't boot any more with LSI option rom (-option-rom 8xx_64.rom). Guess it comes from changes of the memory API. Also latest git version from seabios. Sorry, no further details currently available. Ciao, Gerhard -- http://www.wiesinger.com/ On Mon, 8 Aug 2011, A

Re: [Qemu-devel] [PATCH 0/2] Fix wide ioport access cracking

2011-08-11 Thread Gerhard Wiesinger
Hello Avi, Thank for the fast fix. Unfortunatly it still doesn't work (but LSI BIOS is initialized correctly). I'm getting at boot time: qemu-system-x86_64: /qemu-kvm-test/memory.c:1168: memory_region_del_subregion: Assertion `subregion->parent == mr' failed. Thnx. Ciao, Gerhard -- http:/

Re: [Qemu-devel] [PATCH 0/2] Fix wide ioport access cracking

2011-08-11 Thread Gerhard Wiesinger
Hello Avi, #0 0x003a060328f5 in raise () from /lib64/libc.so.6 #1 0x003a060340d5 in abort () from /lib64/libc.so.6 #2 0x003a0602b8b5 in __assert_fail () from /lib64/libc.so.6 #3 0x00435339 in memory_region_del_subregion (mr=, subregion=)at /root/download/qemu/git/qem

Re: [Qemu-devel] [PATCH 0/2] Fix wide ioport access cracking

2011-08-11 Thread Gerhard Wiesinger
On Thu, 11 Aug 2011, Avi Kivity wrote: On 08/11/2011 12:01 PM, Gerhard Wiesinger wrote: Hello Avi, #0 0x003a060328f5 in raise () from /lib64/libc.so.6 #1 0x003a060340d5 in abort () from /lib64/libc.so.6 #2 0x003a0602b8b5 in __assert_fail () from /lib64/libc.so.6 #3

Re: [Qemu-devel] [PATCH 0/2] Fix wide ioport access cracking

2011-08-11 Thread Gerhard Wiesinger
On Thu, 11 Aug 2011, Avi Kivity wrote: This should be faster today with really new kernels (the problem is not in qemu) but I'm not sure if it's fast enough. What's a "really new" kernel? In which version were performance optimizations done? (Currently I'm using 2.6.34.7, hadn't time yet to u

Re: [Qemu-devel] [PATCH 0/2] Fix wide ioport access cracking

2011-08-11 Thread Gerhard Wiesinger
On Thu, 11 Aug 2011, Avi Kivity wrote: Or maybe it's just -O2 screwing up debug information. Please change ./configure to set -O1 and redo. Please print *r.memory as well. ./configure --target-list=x86_64-softmmu,i386-softmmu --enable-debug Rest below. Ciao, Gerhard -- http://www.wiesinger

Re: [Qemu-devel] [PATCH] pcnet-pci: fix wrong opaque given to I/O accessors

2011-08-22 Thread Gerhard Wiesinger
Hello Avi, Thnx, fixed: OK, maybe some credits :-) Acked-by: Gerhard Wiesinger This pattern is still present at (maybe some further problems!!!) and I guess it has to be fixed, too: grep -ir 'ops, s, "' . ./hw/rtl8139.c:memory_region_init_io(&s->bar_io, &rt

Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added.

2012-04-04 Thread Gerhard Wiesinger
On Wed, 4 Apr 2012, Izik Eidus wrote: What about this patch?, everything that was asked from Dmitry was accomplished... What prevent us from progressing with merging this patch? As already discussed on the list patch v5 doesn't work at least for me. Previous patches worked better but were not

Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added.

2012-04-05 Thread Gerhard Wiesinger
On Thu, 5 Apr 2012, Yan Vugenfirer wrote: On Thu, Apr 5, 2012 at 8:25 AM, Gerhard Wiesinger wrote: On Wed, 4 Apr 2012, Izik Eidus wrote: What about this patch?, everything that was asked from Dmitry was accomplished... What prevent us from progressing with merging this patch? As

[Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-12 Thread Gerhard Wiesinger
Hello, I'm having problems with recents kernels and qemu-kvm with a DOS VM: TD286 System: Bad selector: 0007 System: Bad selector: 0D87 System: Bad selector: 001F System: Bad selector: 0007 GP at 0020 21D4 EC 0DC4 Error 269 loading D:\BP\BIN\TD286.EXE into extended memory Another 286 DOS Extende

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-15 Thread Gerhard Wiesinger
On 15.04.2012 11:44, Avi Kivity wrote: On 04/12/2012 09:32 PM, Gerhard Wiesinger wrote: Hello, I'm having problems with recents kernels and qemu-kvm with a DOS VM: TD286 System: Bad selector: 0007 System: Bad selector: 0D87 System: Bad selector: 001F System: Bad selector: 0007 GP at 0020

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Gerhard Wiesinger
On Mon, 16 Apr 2012, Avi Kivity wrote: On 04/16/2012 01:30 PM, Roedel, Joerg wrote: On Mon, Apr 16, 2012 at 12:25:37PM +0200, Jan Kiszka wrote: On 2012-04-15 11:44, Avi Kivity wrote: Jan, Joerg, was an AMD erratum published for the bug? It wasn't an erratum but a documented feature limitati

Re: [Qemu-devel] DOS VM problem with QEMU-KVM and newer kernels

2012-04-16 Thread Gerhard Wiesinger
On 15.04.2012 11:44, Avi Kivity wrote: On 04/12/2012 09:32 PM, Gerhard Wiesinger wrote: Hello, I'm having problems with recents kernels and qemu-kvm with a DOS VM: TD286 System: Bad selector: 0007 System: Bad selector: 0D87 System: Bad selector: 001F System: Bad selector: 0007 GP at 0020

Re: [Qemu-devel] [PATCH 0/3] switch to seavgabios

2012-04-17 Thread Gerhard Wiesinger
Negative also here: Don't see anything on screen on startup... From log, latest qemu-kvm git version: Running option rom at c180:3d4e Running option rom at c180:3da2 Running option rom at c180:3df6 Running option rom at c580:0003 qemu-system-x86_64: /root/download/qemu/git/qemu-kvm/exec.c:2641:

Re: [Qemu-devel] [PATCH 0/7 V6] VMXNET3 paravirtual NIC device implementation

2012-04-17 Thread Gerhard Wiesinger
ready for commit :-) Formal: Tested-by: Gerhard Wiesinger Ciao, Gerhard On 17.04.2012 14:32, Dmitry Fleytman wrote: From: Dmitry Fleytman This set of patches implements VMWare VMXNET3 paravirtual NIC device. The device supports of all the device features including offload capabilties, VLANs and

Re: [Qemu-devel] [PATCH][v11] megasas: LSI Megaraid SAS HBA emulation

2012-02-18 Thread Gerhard Wiesinger
On Sat, 18 Feb 2012, Avi Kivity wrote: On 02/17/2012 07:11 PM, Gerhard Wiesinger wrote: gcc --version gcc (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1) Please submit a new patch which removes unused variables, etc. As already mentioned, this patch is against qemu.git, not qemu-kvm.git. The latter

Re: [Qemu-devel] [PATCH][v12] megasas: LSI Megaraid SAS HBA emulation

2012-02-20 Thread Gerhard Wiesinger
On Mon, 20 Feb 2012, Hannes Reinecke wrote: On 02/18/2012 01:38 PM, Gerhard Wiesinger wrote: Hello Hannes, Patch applies well to qemu tree and with a one line modification to qemu-kvm. My testcase was to install Fedora 16 x64 on qemu-kvm. Unfortunatly it was NOT successful. 1.) Strange

Re: [Qemu-devel] [PATCH] Makefile vgabios.c: Add filename to VGA splash screen

2012-02-22 Thread Gerhard Wiesinger
Any comments? Ciao, Gerhard -- http://www.wiesinger.com/ On Fri, 17 Feb 2012, Gerhard Wiesinger wrote: Filename is now displayed at VGA splash screen to see which BIOS on different VGAs will be used. Signed-off-by: Gerhard Wiesinger --- Makefile |2 +- vgabios.c |3 +++ 2 files

Re: [Qemu-devel] [PATCH][v14] megasas: LSI Megaraid SAS HBA emulation

2012-02-22 Thread Gerhard Wiesinger
Tested-by: Gerhard Wiesinger Ciao, Gerhard -- http://www.wiesinger.com/ On Thu, 23 Feb 2012, Andreas Färber wrote: Am 23.02.2012 08:03, schrieb Gerhard Wiesinger: Ping? On Tue, 21 Feb 2012, Gerhard Wiesinger wrote: Can confirm that all issues are fixed now and v14 is ready for commit

[Qemu-devel] Core dumps - commit a0abe474d587499a1553372c1692811f81fd3eda

2012-02-23 Thread Gerhard Wiesinger
Hi, I'm getting coredumps: #0 qemu_opt_find (opts=0x0, name=0x7f18e8c833db "kernel") at qemu-option.c:535 535 QTAILQ_FOREACH_REVERSE(opt, &opts->head, QemuOptHead, next) { I bisected it down to the following commit: a0abe474d587499a1553372c1692811f81fd3eda is the first bad commit commit

[Qemu-devel] Compile/link errors

2012-02-24 Thread Gerhard Wiesinger
Hello, I'm having compile/link errors on 85f38553031b1a6e07f786c9ab0d403af7252b4f: LINK x86_64-softmmu/qemu-system-x86_64 ../libhw64/virtio-pci.o: In function `virtio_scsi_exit_pci': /root/download/qemu/git/qemu/hw/virtio-pci.c:956: undefined reference to `virtio_scsi_exit' ../libhw64/virt

[Qemu-devel] Parameter parsing broken

2012-02-24 Thread Gerhard Wiesinger
Hello, Finally this commmit is no longer working: commit 9ebe95fb606a8d6bebe29de3efc9b506c6428c62 Author: Gerd Hoffmann Date: Wed Feb 8 16:02:11 2012 +0100 nic: zap obsolote romloading bits from ne2k + pcnet These days one just needs to specify the romfile in PCiDeviceInfo and ev

Re: [Qemu-devel] [PATCH 1/2] qdev: accept empty string properties

2012-02-28 Thread Gerhard Wiesinger
Works well, Tested-by: Gerhard Wiesinger Ciao, Gerhard -- http://www.wiesinger.com/ On Tue, 28 Feb 2012, Paolo Bonzini wrote: These were stored as NULL due to wrong cut-and-paste from set_pointer. Reported-by: Gerhard Wiesinger Signed-off-by: Paolo Bonzini --- hw/qdev-properties.c

[Qemu-devel] Compile error at master HEAD of repository (7c51c1aa03a52b9fd75ed1ade2e65d079ae4d50e)

2012-03-01 Thread Gerhard Wiesinger
Hello, qemu repository is not compile clean. I'm getting the following compile erors: CClibcacard/vcard_emul_nss.o vcard_emul_nss.c:528:47: error: left-hand operand of comma expression has no effect [-Werror=unused-value] vcard_emul_nss.c:528:57: error: left-hand operand of comma express

Re: [Qemu-devel] [PATCH][v14] megasas: LSI Megaraid SAS HBA emulation

2012-03-01 Thread Gerhard Wiesinger
Hello Hannes, When can we expect a V15? BTW: signature/patch must also be rebased due to SCSI interface chances: static void megasas_command_complete(SCSIRequest *req, uint32_t status, size_t resid) Ciao, Gerhard -- http://www.wiesinger.com/

[Qemu-devel] XP install cores with SCSI LSI 53C895A disks

2012-03-04 Thread Gerhard Wiesinger
Hello, Clean XP install cores with SCSI LSI 53C89A disk when copying files. Reproduceable. Driver used is sym_hi. Details are below. Tried also old versions 1.0, 0.15.1, cores too. Any ideas? Thnx. Ciao, Gerhard -- http://www.wiesinger.com/ Image created with: qemu-img create -f qcow2 XP

Re: [Qemu-devel] RFC: rtl8139 improvements

2012-03-06 Thread Gerhard Wiesinger
Ping. Any comments? Thnx. Ciao, Gerhard -- http://www.wiesinger.com/ On Mon, 5 Mar 2012, Gerhard Wiesinger wrote: Hello, I'm trying to implement better emulation and wider OS support for the rtl8139 card. Therefore I want to see the following testcases to be successful: * Testcase

Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks

2012-03-06 Thread Gerhard Wiesinger
Ping. Any comments? Thnx. Ciao, Gerhard -- http://www.wiesinger.com/ On Sun, 4 Mar 2012, Gerhard Wiesinger wrote: Hello, Clean XP install cores with SCSI LSI 53C89A disk when copying files. Reproduceable. Driver used is sym_hi. Details are below. Tried also old versions 1.0, 0.15.1

Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks

2012-03-07 Thread Gerhard Wiesinger
On Wed, 7 Mar 2012, Brian Jackson wrote: I think most people trying to use qemu for anything useful have given up on if=scsi. Some distros even disable support because they don't want to QA it. That should be a decent sign that you may want to avoid it. OK, but SAS (Serial attached SCSI) is tec

Re: [Qemu-devel] Interpretation of key symbols in QEMU's VNC server

2012-03-07 Thread Gerhard Wiesinger
Hello Fabian, I'm having also isssues with german keymappings. E.g. Under DOS when pressing shift keys will always be uppercase. Also ALT-GR doesn't work. Testcase in this order: a => a a => a Shift-a => a (should be A) a => A (should be a) a => A (should be a) a => A (should be a) Shift-a =>

Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks

2012-03-08 Thread Gerhard Wiesinger
On Thu, 8 Mar 2012, Gerd Hoffmann wrote: On 03/07/12 20:58, Gerhard Wiesinger wrote: On Wed, 7 Mar 2012, Brian Jackson wrote: I think most people trying to use qemu for anything useful have given up on if=scsi. Some distros even disable support because they don't want to QA it. That shou

Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks

2012-03-08 Thread Gerhard Wiesinger
On Thu, 8 Mar 2012, Michael Tokarev wrote: On 08.03.2012 11:44, Gerd Hoffmann wrote: On 03/07/12 20:58, Gerhard Wiesinger wrote: On Wed, 7 Mar 2012, Brian Jackson wrote: I think most people trying to use qemu for anything useful have given up on if=scsi. Some distros even disable support

Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks

2012-03-08 Thread Gerhard Wiesinger
On Thu, 8 Mar 2012, Gerd Hoffmann wrote: On 03/08/12 09:54, Michael Tokarev wrote: On 08.03.2012 11:44, Gerd Hoffmann wrote: OK, but SAS (Serial attached SCSI) is technology in the area of storage interface technology where all big storage vendors see future (e.g. they give up: FC and SATA dri

Re: [Qemu-devel] [PATCH v3] VMXNET3 paravirtual NIC device implementation

2012-03-08 Thread Gerhard Wiesinger
Hello Dmitry, Issue is solved in V3 but I'm still having problems (core dumps) with qemu and qemu-kvm: 1.) qemu crashes works well with basic ping tests but with generating load on the network interface (my standard netio tests (netio -s, netio -t server), http://www.ars.de/ars/ars.nsf/docs/

Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks

2012-03-08 Thread Gerhard Wiesinger
On Fri, 9 Mar 2012, Gerd Hoffmann wrote: Hi, #2 isn't an issue actually, at least for Debian users -- Well, it is, to some degree. Because vanilla upstream doesn't support booting from lsi it has alot less users and alot less regression testing (like autotest runs of lsi-scsi installs), wh

Re: [Qemu-devel] Compile error at master HEAD of repository (7c51c1aa03a52b9fd75ed1ade2e65d079ae4d50e)

2012-03-09 Thread Gerhard Wiesinger
Has been fixed with commit 0202181245297a9e847c05f4a18623219d95e93e BTW: Is also a gcc 4.6.2 issue. Thnx. Ciao, Gerhard -- http://www.wiesinger.com/ On Thu, 1 Mar 2012, Gerhard Wiesinger wrote: Hello, qemu repository is not compile clean. I'm getting the following compile erors:

  1   2   3   >