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
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
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
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
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
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
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
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
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
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
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);
^
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 +++
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 @@
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
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
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
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
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
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
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:
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
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
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
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 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
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 +
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
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
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
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 ++
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
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
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
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-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.
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.
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 +++--
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
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
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
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
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
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
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
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
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 ++
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
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
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
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
++
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 --
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.
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
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
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
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
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
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
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
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
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:
> >>
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 @@
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
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
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
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
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
> +
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
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
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
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.
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
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
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
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,
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
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
77 matches
Mail list logo