Re: [Qemu-devel] OEM Windows in Qemu

2011-12-23 Thread Jernej Simončič
On Friday, December 23, 2011, 7:11:08, in...@expertcomputerrepair.com wrote: > I think the key is those specific > memory addresses I mentioned earlier. That's the exact reason - the strings have to be present in the correct memory region. You can use SLICToolkit (in SLP1.0 tab) to verify if the

Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI

2011-12-23 Thread Paolo Bonzini
On 12/22/2011 09:51 PM, ronnie sahlberg wrote: The difference between qcow2 and iscsi and the problem is that .open() is called for all devices before the monitor is started, so .open() is called before we would have a chance to even hand the password to qemu. For qcow2 this is not a problem sin

Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI

2011-12-23 Thread ronnie sahlberg
I do recognize that there is real need to provide password to iscsi (and rbd?) via the monitor. I myself do not use libvirt (it is just too much pain to be worth it to try to upgrade it out-of-step with your distribution) but I recognize that likely vast majority of users would use libvirt. Once

Re: [Qemu-devel] [PATCH RFC v3 0/2] Initial support for Microsoft Hyper-V.

2011-12-23 Thread Marcelo Tosatti
On Sun, Dec 18, 2011 at 10:48:12PM +0200, Vadim Rozenfeld wrote: > With the following series of patches we are starting to implement > some basic Microsoft Hyper-V Enlightenment functionality. This series > is mostly about adding support for relaxed timing, spinlock, > and virtual apic. > > For mo

[Qemu-devel] [PATCH v5 03/11] hw/sysbus.h: Increase maximum number of device IRQs.

2011-12-23 Thread Evgeny Voevodin
Samsung exynos4210 Interrupt Combiner needs 512 IRQ sources. Signed-off-by: Evgeny Voevodin --- hw/sysbus.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/sysbus.h b/hw/sysbus.h index 2f4025b..6b8f0e2 100644 --- a/hw/sysbus.h +++ b/hw/sysbus.h @@ -8,7 +8,7 @@ #de

[Qemu-devel] [PATCH v5 10/11] hw/exynos4210.c: Add LAN support for SMDKC210.

2011-12-23 Thread Evgeny Voevodin
SMDKC210 uses lan9215 chip, but lan9118 in 16-bit mode seems to be enough. Signed-off-by: Evgeny Voevodin --- hw/exynos4_boards.c | 27 ++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/hw/exynos4_boards.c b/hw/exynos4_boards.c index 5410a6f..a005e0a 1

[Qemu-devel] [PATCH v5 07/11] ARM: exynos4210: MCT support.

2011-12-23 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin --- Makefile.target |2 +- hw/exynos4210.c | 19 + hw/exynos4210_mct.c | 1494 +++ 3 files changed, 1514 insertions(+), 1 deletions(-) create mode 100644 hw/exynos4210_mct.c diff --git a/Makefile.targe

[Qemu-devel] [PATCH v5 00/11] ARM: Samsung Exynos4210-based boards support.

2011-12-23 Thread Evgeny Voevodin
This set of patches adds support for Samsung S5PC210-based boards NURI and SMDKC210. Tested on Linux kernel v3.x series. Usage of "-smp 2" option is required for now. Changelog: v4->v5 - hw/exynos4210_gic.c: Use memory aliases for CPU interface and Distributer. Excessive RW functions are re

[Qemu-devel] [PATCH v5 01/11] ARM: Samsung exynos4210-based boards emulation

2011-12-23 Thread Evgeny Voevodin
From: Maksim Kozlov Add initial code for support of NURI and SMDKC210 boards Signed-off-by: Evgeny Voevodin --- Makefile.target |1 + hw/exynos4210.c | 103 +++ hw/exynos4210.h | 63 hw/exynos4_boards.c | 133

[Qemu-devel] [PATCH v5 02/11] ARM: exynos4210: UART support

2011-12-23 Thread Evgeny Voevodin
From: Maksim Kozlov Add basic support of exynos4210 UART Signed-off-by: Evgeny Voevodin --- Makefile.target |2 +- hw/exynos4210.c | 24 ++ hw/exynos4210.h |9 + hw/exynos4210_uart.c | 670 ++ 4 files changed, 704 insert

[Qemu-devel] Use Clang to compile Qemu?

2011-12-23 Thread 陳韋任
Hi all, I am trying to build QEMU by using clang, but get error message below. --- In file included from /z/tmp/chenwj/qemu-1.0/user-exec.c:21: /z/tmp/chenwj/qemu-1.0/dyngen-exec.h:64:20: error: global register variables are not supported register CPUState *env asm(AREG0); ^

[Qemu-devel] [PATCH v5 04/11] ARM: exynos4210: IRQ subsystem support.

2011-12-23 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin --- Makefile.target |3 +- hw/exynos4210.c | 179 ++- hw/exynos4210.h | 46 + hw/exynos4210_combiner.c | 384 hw/exynos4210_gic.c | 437 +++

[Qemu-devel] [PATCH v5 09/11] hw/lan9118: Add basic 16-bit mode support.

2011-12-23 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin --- hw/lan9118.c | 115 +++--- 1 files changed, 110 insertions(+), 5 deletions(-) diff --git a/hw/lan9118.c b/hw/lan9118.c index 7e64c5d..21b7b23 100644 --- a/hw/lan9118.c +++ b/hw/lan9118.c @@ -212,6 +212,17 @@

[Qemu-devel] [PATCH v5 06/11] hw/arm_boot.c: Extend secondary CPU bootloader.

2011-12-23 Thread Evgeny Voevodin
Secondary CPU bootloader enables interrupt and issues wfi until start address is written to system controller. The position where to find this start address is hardcoded to 0x1030. This commit extends bootloader for secondary CPU to allow a target board to cpecify a position where to find start

[Qemu-devel] [PATCH v5 05/11] ARM: exynos4210: PWM support.

2011-12-23 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin --- Makefile.target |2 +- hw/exynos4210.c | 12 ++ hw/exynos4210_pwm.c | 416 +++ 3 files changed, 429 insertions(+), 1 deletions(-) create mode 100644 hw/exynos4210_pwm.c diff --git a/Makefile.targe

[Qemu-devel] [PATCH v5 08/11] hw/exynos4210.c: Boot secondary CPU.

2011-12-23 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin --- hw/exynos4210.c | 14 ++ hw/exynos4210.h |7 ++- hw/exynos4_boards.c |9 + 3 files changed, 29 insertions(+), 1 deletions(-) diff --git a/hw/exynos4210.c b/hw/exynos4210.c index f958980..badeacf 100644 --- a/hw/exynos4

[Qemu-devel] qemu on centos

2011-12-23 Thread Reed Kotler
We have been seeing various problems running qemu for MIPS target on Centos 5. We are running linux user mode programs. Qemu segfaults. We recently tried upgrading to Centos 6 and the problem there is much worse, making it basically unusable. The same programs have no problem when running on

Re: [Qemu-devel] Use Clang to compile Qemu?

2011-12-23 Thread David Turner
Some parts of QEMU (the JIT) require the use of a global register variable to point to the "env" CPU state variable. This feature is not supported by Clang (which is not very surprising given that it uses LLVM as its backend, and LLVM explicitely doesn't support this) Until the JIT is modified to

Re: [Qemu-devel] [target-mips] qemu on centos

2011-12-23 Thread Andreas Färber
Hi, Am 23.12.2011 13:44, schrieb Reed Kotler: > We have been seeing various problems running qemu for MIPS target on > Centos 5. > We are running linux user mode programs. > > Qemu segfaults. > > We recently tried upgrading to Centos 6 and the problem there is much > worse, making it basically u

Re: [Qemu-devel] [PATCH] sheepdog: use coroutines

2011-12-23 Thread Christoph Hellwig
FYI, this causes segfaults when doing large streaming writes when running against a sheepdog cluster which: a) has relatively fast SSDs and b) uses buffered I/O. Unfortunately I can't get a useful backtrace out of gdb. When running just this commit I at least get some debugging messages:

Re: [Qemu-devel] [PATCH v2] w32: Build windows and console executables

2011-12-23 Thread Stefan Weil
Am 23.12.2011 03:31, schrieb TeLeMan: On Thu, Dec 22, 2011 at 18:20, Stefan Weil wrote: System emulation executables with SDL are typically windows executables. Sometimes console executables are more useful, so create both variants if linker option -mwindows was detected. v2: This version uses

Re: [Qemu-devel] [PATCH] Fix KVM dirty logging with 32-bit qemu & >32-bit physical addresses

2011-12-23 Thread Alexander Graf
On 23.12.2011, at 01:15, Benjamin Herrenschmidt wrote: > We were using the wrong types in kvm_get_dirty_pages_log_range(). > > This would break dirty logging if the region to log resides at a > physical address above 32-bit, which can happen with 64-bit guest > but also with 32-bit guests that s

Re: [Qemu-devel] [PATCH] PPC: Add description for the Freescale e500mc core.

2011-12-23 Thread Alexander Graf
On 22.12.2011, at 23:26, Scott Wood wrote: > From: Varun Sethi > > This core is found on chips such as p4080, p3041, p2040, and p5020. > > More needs to be done to make this viable for TCG (such as missing SPRs > and instructions), but this suffices to get KVM running with appropriate > kernel

[Qemu-devel] [Bug 907994] Re: converting VDI to IMG

2011-12-23 Thread Stefan Weil
Which version of QEMU do you use? You can run QEMU with the original (=vdi) image (and use -snapshot, then QEMU won't write to the image), too. A Windows blue screen or a start menu is a clear indication that the image conversion was successful. Therefore I assume that this is not a QEMU related

[Qemu-devel] [PATCH] virtio-blk: refuse SG_IO requests with scsi=off

2011-12-23 Thread Paolo Bonzini
QEMU does have a "scsi" option (to be used like -device virtio-blk-pci,drive=foo,scsi=off). However, it only masks the feature bit, and does not reject the command if a malicious guest disregards the feature bits and issues a request. Without this patch, using scsi=off does not protect you from C

[Qemu-devel] [RFC 2/2] ahci: Add migration support for ICH9

2011-12-23 Thread Andreas Färber
Introduce generic vmstate_ahci and VMSTATE_AHCI macro. Resolve name conflict and hook it up for ich9-ahci. Signed-off-by: Andreas Färber Cc: Kevin Wolf Cc: Alexander Graf --- hw/ide/ahci.c | 41 + hw/ide/ahci.h | 10 ++ hw/ide/ich.c | 11 +

[Qemu-devel] [RFC 0/2] ahci: Make ich9-ahci migratable

2011-12-23 Thread Andreas Färber
Hello, Since mjt asked about it, I'm posting a first draft of AHCI migration support I recently pieced together. Some more pressing issues came up, including ide-cd being broken with AHCI, so that I have hardly tested this yet. The initial issue was that the ports were dynamically allocated in ic

[Qemu-devel] [RFC 1/2] ahci: Refactor ports as a fixed-size array for VMState

2011-12-23 Thread Andreas Färber
It seems, VMState cannot handle a dynamically allocated array of structs at this time. Change AHCIState to use an AHCIDevice array of size AHCI_MAX_PORTS. Of those 32, only 6 are being used for ich9. Signed-off-by: Andreas Färber Cc: Juan Quintela Cc: Kevin Wolf Cc: Alexander Graf --- hw/ide

[Qemu-devel] [PATCH v2] vectorize is_dup_page

2011-12-23 Thread Paolo Bonzini
is_dup_page is already proceeding in 32-bit chunks. Changing it to 16 bytes using Altivec or SSE is easy. Signed-off-by: Paolo Bonzini --- arch_init.c | 28 ++-- 1 files changed, 22 insertions(+), 6 deletions(-) diff --git a/arch_init.c b/arch_init.c index d4c92b0..84

[Qemu-devel] [PATCH v2] prepare for future GPLv2+ relicensing

2011-12-23 Thread Paolo Bonzini
All files under GPLv2 will get GPLv2+ changes starting next Christmas. Files that were only ever touched by Red Hat employees can be relicensed now. Signed-off-by: Paolo Bonzini --- aio.c |2 ++ block-migration.c |2 ++ block/raw-posix-aio.h |2 ++

[Qemu-devel] [PULL 00/26] nbd refactoring, fully asynchronous operation, flushing, fixes

2011-12-23 Thread Paolo Bonzini
Anthony, the following changes since commit 3799ce4ab64f578eb818689a276e4f0c73d01fb5: sd: Remember to reset .expecting_acmd on reset. (2011-12-21 05:04:21 +0100) are available in the git repository at: git://github.com/bonzini/qemu.git nbd-for-anthony Thanks, Paolo Chunyan Liu (1): Upda

[Qemu-devel] [PATCH 01/26] add qemu_send_full and qemu_recv_full

2011-12-23 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- osdep.c | 67 + qemu-common.h |4 +++ 2 files changed, 71 insertions(+), 0 deletions(-) diff --git a/osdep.c b/osdep.c index 56e6963..70bad27 100644 --- a/osdep.c +++ b/osdep.c @@ -166,3 +166,70

[Qemu-devel] [PATCH 02/26] sheepdog: move coroutine send/recv function to generic code

2011-12-23 Thread Paolo Bonzini
Outside coroutines, avoid busy waiting on EAGAIN by temporarily making the socket blocking. The API of qemu_recvv/qemu_sendv is slightly different from do_readv/do_writev because they do not handle coroutines. It returns the number of bytes written before encountering an EAGAIN. The specificity

[Qemu-devel] [PATCH 03/26] nbd: switch to asynchronous operation

2011-12-23 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- block/nbd.c | 188 ++ nbd.c |8 +++ 2 files changed, 131 insertions(+), 65 deletions(-) diff --git a/block/nbd.c b/block/nbd.c index 95212da..bea7acd 100644 --- a/block/nbd.c +++ b/block/nbd.c @@

[Qemu-devel] [PATCH 04/26] nbd: split requests

2011-12-23 Thread Paolo Bonzini
qemu-nbd has a limit of slightly less than 1M per request. Work around this in the nbd block driver. Signed-off-by: Paolo Bonzini --- block/nbd.c | 52 ++-- 1 files changed, 46 insertions(+), 6 deletions(-) diff --git a/block/nbd.c b/block/nbd.

[Qemu-devel] [PATCH 12/26] qemu-nbd: remove data_size argument to nbd_trip

2011-12-23 Thread Paolo Bonzini
The size of the buffer is in practice part of the protocol. Signed-off-by: Paolo Bonzini --- nbd.c |6 +++--- nbd.h |4 +++- qemu-nbd.c |4 +--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nbd.c b/nbd.c index 1df2b91..d8cc331 100644 --- a/nbd.c +++ b/nbd.

[Qemu-devel] [PATCH 19/26] qemu-nbd: introduce NBDRequest

2011-12-23 Thread Paolo Bonzini
Move the buffer from NBDExport to a new structure, so that it will be possible to have multiple in-flight requests for the same export (and for the same client too---we get that for free). Signed-off-by: Paolo Bonzini --- nbd.c | 65 +++--

[Qemu-devel] [PATCH 25/26] qemu-nbd: throttle requests

2011-12-23 Thread Paolo Bonzini
Limiting the number of in-flight requests is implemented very simply with a can_read callback. It does not require a semaphore, unlike the client side in block/nbd.c, because we can throttle directly the creation of coroutines. The client side can have a coroutine created at any time when an I/O

[Qemu-devel] [PATCH 26/26] nbd: add myself as maintainer

2011-12-23 Thread Paolo Bonzini
Not planning to do much else, hence listing it as "Odd Fixes". Signed-off-by: Paolo Bonzini --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e22bfa1..764c92d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -473,6 +473,13

[Qemu-devel] [PATCH 07/26] nbd: add support for NBD_CMD_FLAG_FUA

2011-12-23 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- block/nbd.c |4 nbd.c | 13 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/block/nbd.c b/block/nbd.c index 3f693e3..2f483cd 100644 --- a/block/nbd.c +++ b/block/nbd.c @@ -352,6 +352,10 @@ static int nbd_co_writev_1(B

[Qemu-devel] [PATCH v5 1/2] ptimer: move declarations to ptimer.h

2011-12-23 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- hw/arm_timer.c|1 + hw/etraxfs_timer.c|1 + hw/grlib_apbuart.c|1 + hw/grlib_gptimer.c|1 + hw/lan9118.c |1 + hw/leon3.c|1 + hw/lm32_timer.c |1 + hw/mcf5206.c |1 + hw/mcf52

[Qemu-devel] [PATCH 09/26] nbd: add support for NBD_CMD_TRIM

2011-12-23 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- block/nbd.c | 25 + nbd.c | 15 +-- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/block/nbd.c b/block/nbd.c index 097b418..161b299 100644 --- a/block/nbd.c +++ b/block/nbd.c @@ -435,6 +435,30 @@ stati

[Qemu-devel] [PATCH 24/26] qemu-nbd: asynchronous operation

2011-12-23 Thread Paolo Bonzini
Using coroutines enable asynchronous operation on both the network and the block side. Network can be owned by two coroutines at the same time, one writing and one reading. On the send side, mutual exclusion is guaranteed by a CoMutex. On the receive side, mutual exclusion is guaranteed because

[Qemu-devel] [PATCH 11/26] qemu-nbd: remove offset argument to nbd_trip

2011-12-23 Thread Paolo Bonzini
The argument is write-only. Signed-off-by: Paolo Bonzini --- nbd.c |8 +++- nbd.h |2 +- qemu-nbd.c |3 +-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/nbd.c b/nbd.c index 73fedeb..1df2b91 100644 --- a/nbd.c +++ b/nbd.c @@ -583,8 +583,9 @@ static int

[Qemu-devel] [PATCH 06/26] nbd: fix error handling in the server

2011-12-23 Thread Paolo Bonzini
bdrv_read and bdrv_write return negative errno values, not -1. Signed-off-by: Paolo Bonzini --- nbd.c | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/nbd.c b/nbd.c index ff701d3..5b718b5 100644 --- a/nbd.c +++ b/nbd.c @@ -595,6 +595,7 @@ int nbd_trip

[Qemu-devel] [PATCH 05/26] nbd: allow multiple in-flight requests

2011-12-23 Thread Paolo Bonzini
Allow sending up to 16 requests, and drive the replies to the coroutine that did the request. The code is written to be exactly the same as before this patch when MAX_NBD_REQUESTS == 1 (modulo the extra mutex and state). Signed-off-by: Paolo Bonzini --- block/nbd.c | 69 ++

[Qemu-devel] [PATCH 15/26] qemu-nbd: introduce nbd_do_send_reply

2011-12-23 Thread Paolo Bonzini
Group the sending of a reply and the associated data into a new function. Without corking, the caller would be forced to leave 12 free bytes at the beginning of the data pointer. Not too ugly, but still ugly. :) Using nbd_do_send_reply everywhere will help when the routine will set up the write h

[Qemu-devel] [PATCH 17/26] qemu-nbd: introduce nbd_do_receive_request

2011-12-23 Thread Paolo Bonzini
Group the receiving of a response and the associated data into a new function. Signed-off-by: Paolo Bonzini --- nbd.c | 68 1 files changed, 47 insertions(+), 21 deletions(-) diff --git a/nbd.c b/nbd.c index 053ad8d..964a732 100

[Qemu-devel] [PATCH 22/26] qemu-nbd: move client handling to nbd.c

2011-12-23 Thread Paolo Bonzini
This patch sets up the fd handler in nbd.c instead of qemu-nbd.c. It introduces NBDClient, which wraps the arguments to nbd_trip in a single structure, so that we can add a notifier to it. This way, qemu-nbd can know about disconnections. Signed-off-by: Paolo Bonzini --- nbd.c | 62

[Qemu-devel] [PATCH 13/26] move corking functions to osdep.c

2011-12-23 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- block/sheepdog.c | 20 ++-- osdep.c |9 + qemu_socket.h|1 + 3 files changed, 12 insertions(+), 18 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index 00ea5a0..17a79be 100644 --- a/block/sheepdog.c ++

[Qemu-devel] [PATCH 20/26] link the main loop and its dependencies into the tools

2011-12-23 Thread Paolo Bonzini
Using the main loop code from QEMU enables tools to operate fully asynchronously. Advantages include better Windows portability (for some definition of portability) over glib's. Signed-off-by: Paolo Bonzini --- Makefile |5 +++-- main-loop.h |6 ++ os-posix.c| 42 --

[Qemu-devel] [PATCH 23/26] qemu-nbd: add client pointer to NBDRequest

2011-12-23 Thread Paolo Bonzini
By attaching a client to an NBDRequest, we can avoid passing around the socket descriptor and data buffer. Also, we can now manage the reference count for the client in nbd_request_get/put request instead of having to do it ourselved in nbd_read. This simplifies things when coroutines are used.

[Qemu-devel] [PATCH 14/26] qemu-nbd: simplify nbd_trip

2011-12-23 Thread Paolo Bonzini
Use TCP_CORK to remove a violation of encapsulation, that would later require nbd_trip to know too much about an NBD reply. We could also switch to sendmsg (qemu_co_sendv) later, it is even easier once coroutines are in. Signed-off-by: Paolo Bonzini --- nbd.c | 25 - 1

[Qemu-devel] [PATCH 16/26] qemu-nbd: more robust handling of invalid requests

2011-12-23 Thread Paolo Bonzini
Fail invalid requests with EINVAL instead of dropping them into the void. Signed-off-by: Paolo Bonzini --- nbd.c | 57 ++--- 1 files changed, 30 insertions(+), 27 deletions(-) diff --git a/nbd.c b/nbd.c index 025c5b0..053ad8d 100644 --- a/nb

[Qemu-devel] [PATCH 18/26] qemu-nbd: introduce NBDExport

2011-12-23 Thread Paolo Bonzini
Wrap the common parameters of nbd_trip and nbd_negotiate in a single opaque struct. Signed-off-by: Paolo Bonzini --- nbd.c | 64 +--- nbd.h | 11 +++-- qemu-nbd.c | 15 - 3 files changed, 61 insertions(+), 29

[Qemu-devel] [PATCH 21/26] qemu-nbd: use common main loop

2011-12-23 Thread Paolo Bonzini
Using a single main loop for sockets will help yielding from the socket coroutine back to the main loop, and later reentering it. Signed-off-by: Paolo Bonzini --- qemu-nbd.c | 112 1 files changed, 45 insertions(+), 67 deletions(-) d

[Qemu-devel] [PATCH 10/26] Update ioctl order in nbd_init() to detect EBUSY

2011-12-23 Thread Paolo Bonzini
From: Chunyan Liu Update ioctl(s) in nbd_init() to detect device busy early. Current nbd_init() issues NBD_CLEAR_SOCKET before NBD_SET_SOCKET, if issuing "qemu-nbd -c /dev/nbd0 disk.img" twice, the second time won't detect EBUSY in nbd_init(), but in nbd_client will report EBUSY and do clear soc

[Qemu-devel] [PATCH 08/26] nbd: add support for NBD_CMD_FLUSH

2011-12-23 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- block/nbd.c | 45 + nbd.c | 15 ++- 2 files changed, 51 insertions(+), 9 deletions(-) diff --git a/block/nbd.c b/block/nbd.c index 2f483cd..097b418 100644 --- a/block/nbd.c +++ b/block/nbd.c @@ -40

Re: [Qemu-devel] [PATCH v2] prepare for future GPLv2+ relicensing

2011-12-23 Thread Andreas Färber
Am 23.12.2011 16:19, schrieb Paolo Bonzini: > All files under GPLv2 will get GPLv2+ changes starting next Christmas. > Files that were only ever touched by Red Hat employees can be relicensed > now. Quoting from IRC: "it's just event_notifier.c and exec-obsolete.h" Would be nice if the committer

[Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails

2011-12-23 Thread Dr. David Alan Gilbert
OK, here is a eglibc patch that adds the context routines; seems to pass Stefan's magic coroutine test, pass all the context specific tests in eglibc and boots a debian image on qemu. (Not run a full eglibc test run yet). Dave ** Attachment added: "eglibc patch for ARM context routines" http

Re: [Qemu-devel] [Spice-devel] Seem thread Competition

2011-12-23 Thread Ademar de Souza Reis Jr.
On Thu, Dec 22, 2011 at 07:07:14PM +0800, ZhouPeng wrote: > On Thu, Dec 22, 2011 at 6:00 PM, Alon Levy wrote: > > On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote: > >> On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy wrote: > >> > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote: > >>

[Qemu-devel] [PATCH] qmp: Add missing gcc format attribute and fix format string

2011-12-23 Thread Stefan Weil
Signed-off-by: Stefan Weil --- test-qmp-input-visitor.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test-qmp-input-visitor.c b/test-qmp-input-visitor.c index 1f3ab03..bc410c6 100644 --- a/test-qmp-input-visitor.c +++ b/test-qmp-input-visitor.c @@ -38,8 +38,9 @@

Re: [Qemu-devel] Fwd: Re: [target-mips] qemu on centos

2011-12-23 Thread Stefan Weil
Am 23.12.2011 19:05, schrieb Brendan Kirby: Attached are three MIPS binaries that I have seen segfault intermittently on CentOS 6 machines. Just run them with no arguments several times. Brendan On Fri, 2011-12-23 at 09:00 -0800, Reed Kotler wrote: Please work with this guy. If possible, sub

Re: [Qemu-devel] Fwd: Re: [target-mips] qemu on centos

2011-12-23 Thread Brendan Kirby
On Fri, 2011-12-23 at 23:57 +0100, Stefan Weil wrote: > Am 23.12.2011 19:05, schrieb Brendan Kirby: > > Attached are three MIPS binaries that I have seen segfault > > intermittently on CentOS 6 machines. Just run them with no arguments > > several times. > > > > Brendan > > > > On Fri, 2011-12-23 a

Re: [Qemu-devel] [target-mips] qemu on centos

2011-12-23 Thread Stefan Weil
Am 23.12.2011 23:57, schrieb Stefan Weil: Am 23.12.2011 19:05, schrieb Brendan Kirby: Attached are three MIPS binaries that I have seen segfault intermittently on CentOS 6 machines. Just run them with no arguments several times. Brendan I tried your binaries with latest QEMU. All three fail h

Re: [Qemu-devel] [PATCH v2 1/9] arm: add missing scu registers

2011-12-23 Thread Peter Maydell
On 22 December 2011 18:20, Mark Langsdorf wrote: > From: Rob Herring > > Add power control and non-secure access ctrl registers Commit message says it's adding the non-secure access control register, but the patch is only doing power control. > > Signed-off-by: Rob Herring > Signed-off-by: Mar

Re: [Qemu-devel] [PATCH v2 2/9] arm: Set frequencies for arm_timer

2011-12-23 Thread Peter Maydell
On 22 December 2011 18:20, Mark Langsdorf wrote: > Use qdev properties to allow board modelers to set the frequencies > for the sp804 timer. Each of the sp804's timers can have an > individual frequency. The timers default to 1MHz. > > +    /* The timers are configurable between 32kHz and 1MHz > +

Re: [Qemu-devel] [PATCH v2 3/9] arm: add dummy v7 cp15 config_base_register

2011-12-23 Thread Peter Maydell
On 22 December 2011 18:20, Mark Langsdorf wrote: > +        if (ARM_CPUID(env) == ARM_CPUID_CORTEXA9) { > +            switch (crm) { > +            case 0: > +                /* The config_base_address should hold the value of > +                 * the peripheral base. ARM should get this from a

Re: [Qemu-devel] [PATCH v2 4/9] arm: add dummy gic security registers

2011-12-23 Thread Peter Maydell
On 22 December 2011 18:20, Mark Langsdorf wrote: > From: Rob Herring > > Implement handling for the RAZ/WI gic security registers. > > Signed-off-by: Rob Herring > Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell -- PMM

Re: [Qemu-devel] [PATCH 5/9] ahci: convert ahci_reset to use AHCIState

2011-12-23 Thread Peter Maydell
On 22 December 2011 18:20, Mark Langsdorf wrote: > From: Rob Herring > > Use AHCIState instead of AHCIPCIState so the function can be used for > non-PCI based AHCI controllers. Just a note that I'm assuming Kevin will review the IDE related patches. -- PMM

Re: [Qemu-devel] [PATCH 6/9] ahci: add support for non-PCI based controllers

2011-12-23 Thread Peter Maydell
On 22 December 2011 18:20, Mark Langsdorf wrote: > From: Rob Herring > > Add support for ahci on sysbus. Again, IDE isn't my domain, but some minor points: > +typedef struct PlatAHCIState { > +        SysBusDevice busdev; > +        AHCIState ahci; > +} PlatAHCIState; Indentation is wrong here.

Re: [Qemu-devel] [PATCH v2 7/9] add L2x0/PL310 cache controller device

2011-12-23 Thread Peter Maydell
On 22 December 2011 18:20, Mark Langsdorf wrote: > From: Rob Herring > > This is just a dummy device for ARM L2 cache controllers, based on the > pl310. The cache type parameter can be defined by a property value > and has a meaningful default. > > Signed-off-by: Rob Herring > Signed-off-by: Mar

Re: [Qemu-devel] [PATCH 9/9] arm: increase a9mp interrupts to 160

2011-12-23 Thread Rob Herring
Mark, On 12/22/2011 12:20 PM, Mark Langsdorf wrote: > From: Rob Herring > > Signed-off-by: Rob Herring > Signed-off-by: Mark Langsdorf > --- > hw/a9mpcore.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/a9mpcore.c b/hw/a9mpcore.c > index 875ae98..93b0498 1

Re: [Qemu-devel] [PATCH 9/9] arm: increase a9mp interrupts to 160

2011-12-23 Thread Peter Maydell
On 24 December 2011 00:54, Rob Herring wrote: > Mark, > > On 12/22/2011 12:20 PM, Mark Langsdorf wrote: >> From: Rob Herring >> >> Signed-off-by: Rob Herring >> Signed-off-by: Mark Langsdorf >> --- >>  hw/a9mpcore.c |    2 +- >>  1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git

Re: [Qemu-devel] Use Clang to compile Qemu?

2011-12-23 Thread 陳韋任
On Fri, Dec 23, 2011 at 02:07:53PM +0100, David Turner wrote: > Some parts of QEMU (the JIT) require the use of a global register variable > to point to the "env" CPU state variable. > > This feature is not supported by Clang (which is not very surprising given > that it uses LLVM as its backend,

[Qemu-devel] metal mesh

2011-12-23 Thread andy
Dear Sir or Madam It is glad to write to you with keen hope to open a business relationship with you. I obtained your company name and email address from the Internet. Boli hardware industrial limited is a factory specialized in wire and wire

Re: [Qemu-devel] OEM Windows in Qemu

2011-12-23 Thread inbox
Jernej Simon?i? wrote: >That's the exact reason - the strings have to be present in the >correct memory region. You can use SLICToolkit (in SLP1.0 tab) to >verify if the strings are present at the right address. Alright then, do you know how to modify those values in qemu? Brian