All other boolean arguments accept on|off - except for slirp's restrict.
Fix that while still accepting the formerly allowed yes|y|no|n, but
reject everything else. This avoids accidentally allowing external
connections because syntax errors were so far interpreted as
'restrict=no'.
CC: Gleb Natap
Hi,
Good spotting, this is indeed a issue which needs fixing. It isn't
introduced by this patch though, it exists even without the usb patch
queue.
Something like the attached patch should fix it.
cheers,
Gerd
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index bc31850..e9993a7 100644
--- a/
Remove a preprocessor #define which is never used.
Signed-off-by: Peter Maydell
---
target-arm/exec.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/target-arm/exec.h b/target-arm/exec.h
index 44e1b55..db6608e 100644
--- a/target-arm/exec.h
+++ b/target-arm/exec.h
@@ -
On 05/23/2011 09:29 AM, Markus Armbruster wrote:
Anthony Liguori writes:
JavaScript's implementation of JSON sets limits on the range of numbers,
namely they need to fit into IEEE doubles.
Our implementation sets different limits. IIRC, it's something like
"numbers with a fractional part or a
Jan Kiszka writes:
> On 2011-05-23 15:14, Markus Armbruster wrote:
>> Jan Kiszka writes:
>>
>>> On 2011-05-23 11:28, Markus Armbruster wrote:
Jan Kiszka writes:
> Include the client type name into the output of 'info network'. The
> result looks like this:
>
> (qemu)
On Mon, May 23, 2011 at 10:07:21AM -0500, Anthony Liguori wrote:
> On 05/23/2011 09:29 AM, Markus Armbruster wrote:
> >Anthony Liguori writes:
> >
> >JavaScript's implementation of JSON sets limits on the range of numbers,
> >namely they need to fit into IEEE doubles.
> >
> >Our implementation set
On 05/23/2011 10:19 AM, Richard W.M. Jones wrote:
On Mon, May 23, 2011 at 10:07:21AM -0500, Anthony Liguori wrote:
On 05/23/2011 09:29 AM, Markus Armbruster wrote:
Anthony Liguori writes:
JavaScript's implementation of JSON sets limits on the range of numbers,
namely they need to fit into IE
Kevin Wolf writes:
> Am 20.05.2011 21:53, schrieb Blue Swirl:
>> On Fri, May 20, 2011 at 10:42 PM, Anthony Liguori
>> wrote:
>>> On 05/20/2011 02:25 PM, Blue Swirl wrote:
On Fri, May 20, 2011 at 9:48 PM, Corey Bryant wrote:
>
> sVirt provides SELinux MAC isolation for Qemu gu
On Mon, May 23, 2011 at 10:24:07AM -0500, Anthony Liguori wrote:
> On 05/23/2011 10:19 AM, Richard W.M. Jones wrote:
> >On Mon, May 23, 2011 at 10:07:21AM -0500, Anthony Liguori wrote:
> >>On 05/23/2011 09:29 AM, Markus Armbruster wrote:
> >>>Anthony Liguori writes:
> >>>
> >>>JavaScript's implem
On Mon, May 23, 2011 at 1:58 PM, Kevin Wolf wrote:
> Am 23.05.2011 12:00, schrieb Stefan Hajnoczi:
>> On Mon, May 23, 2011 at 8:04 AM, Supriya Kannery wrote:
>>> On 05/20/2011 01:50 PM, Stefan Hajnoczi wrote:
On Thu, May 19, 2011 at 10:38:03PM +0530, Supriya Kannery wrote:
>
> M
On Mon, May 23, 2011 at 10:24:07AM -0500, Anthony Liguori wrote:
> On 05/23/2011 10:19 AM, Richard W.M. Jones wrote:
> >On Mon, May 23, 2011 at 10:07:21AM -0500, Anthony Liguori wrote:
> >>On 05/23/2011 09:29 AM, Markus Armbruster wrote:
> >>>Anthony Liguori writes:
> >>>
> >>>JavaScript's implem
This patch adds USBBusOps struct with (for now) only a single callback
which is called when a device is about to be destroyed. The USB Host
adapters are implementing this callback and use it to cancel any async
requests which might be in flight before the device actually goes away.
Signed-off-by:
Am 23.05.2011 17:24, schrieb Markus Armbruster:
> Kevin Wolf writes:
>
>> Am 20.05.2011 21:53, schrieb Blue Swirl:
>>> On Fri, May 20, 2011 at 10:42 PM, Anthony Liguori
>>> wrote:
On 05/20/2011 02:25 PM, Blue Swirl wrote:
>
> On Fri, May 20, 2011 at 9:48 PM, Corey Bryant wrote:
>>
On 05/23/2011 10:29 AM, Richard W.M. Jones wrote:
On Mon, May 23, 2011 at 10:24:07AM -0500, Anthony Liguori wrote:
On 05/23/2011 10:19 AM, Richard W.M. Jones wrote:
What I suggested would let us work with any JSON client, but if
clients loose precision after 53-bits, those clients would not work
Kevin Wolf writes:
> Am 23.05.2011 12:00, schrieb Stefan Hajnoczi:
>> On Mon, May 23, 2011 at 8:04 AM, Supriya Kannery wrote:
>>> On 05/20/2011 01:50 PM, Stefan Hajnoczi wrote:
On Thu, May 19, 2011 at 10:38:03PM +0530, Supriya Kannery wrote:
>
> Monitor commands "hostcache_set"
On Mon, May 23, 2011 at 10:59:29AM -0500, Anthony Liguori wrote:
> On 05/23/2011 10:29 AM, Richard W.M. Jones wrote:
> >On Mon, May 23, 2011 at 10:24:07AM -0500, Anthony Liguori wrote:
> >>On 05/23/2011 10:19 AM, Richard W.M. Jones wrote:
> >>What I suggested would let us work with any JSON client,
This series includes the following improvements to the SCSI subsystem:
1) introduction of SCSIBusOps that generalize the existing
command_complete callback;
2) widespread use of the SCSIRequest abstraction, with simpler memory
management (refcounting) and with various common idioms converted into
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/scsi-bus.c |6 ++
trace-events |6 ++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index ceeb4ec..0fd85fc 100644
--- a/hw/scsi-bus.c
+++ b/hw/scsi-bus.c
@@ -4,6 +4
The code for canceling requests upon reset is already the same. Clean
it up and move it to scsi-bus.c.
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/scsi-bus.c | 12
hw/scsi-disk.c| 18 ++
hw/scsi-generic.c | 18 ++
This covers the case of canceling a request's I/O and still
completing it.
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/scsi-bus.c|9 +
hw/scsi.h|1 +
hw/spapr_vscsi.c |8 ++--
3 files changed, 12 insertions(+), 6 deletions(-)
diff --gi
scsi-generic scsi_read_complete() should not -both- call the client
complete callback with SCSI_REASON_DATA -and- call
scsi_command_complete(). The former will cause the client to queue a
new read or write request, while the later will free the request data
structure, thus causing the new read or
There are more operations than a SCSI bus can handle, besides completing
commands. The current callback in fact is overloaded and can be called
with two different meanings already. Another example, which this series
will introduce, is cleaning up after a request is cancelled.
Signed-off-by: Paol
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/esp.c |2 +-
hw/lsi53c895a.c |3 +--
hw/scsi-bus.c|5 +
hw/scsi.h|1 +
hw/spapr_vscsi.c |2 +-
hw/usb-msd.c |2 +-
6 files changed, 10 insertions(+), 5 deletions(-)
diff --git
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/scsi-generic.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/scsi-generic.c b/hw/scsi-generic.c
index 16bf185..2b3ebd9 100644
--- a/hw/scsi-generic.c
+++ b/hw/scsi-generic.c
@@ -287,7 +287,6 @@ s
This abstracts calling the command_complete callback, reducing churn
in the following patches.
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/scsi-bus.c | 11 +++
hw/scsi-disk.c|8
hw/scsi-generic.c |6 +++---
hw/scsi.h |1 +
tr
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/lsi53c895a.c | 63 +-
1 files changed, 38 insertions(+), 25 deletions(-)
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index ccea6ad..3b67155 100644
--- a/hw/lsi53c895a.c
++
From: Hannes Reinecke
scsi_req_parse() already provides for a data direction setting,
so we should be using it to check for correct direction.
And we should return the sense code 'INVALID FIELD IN CDB'
in these cases.
Signed-off-by: Hannes Reinecke
Signed-off-by: Paolo Bonzini
Reviewed-by: Chr
Move the common part of scsi-disk.c and scsi-generic.c to the SCSI layer.
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/esp.c |2 +-
hw/lsi53c895a.c |2 +-
hw/scsi-bus.c |3 ++-
hw/scsi-disk.c|1 -
hw/scsi-generic.c |1 -
hw/scsi.h
With the next patch, a device may hold SCSIRequest for an indefinite
time. Split a rather big patch, and protect against access errors,
by reference counting them.
There is some ugliness in scsi_send_command implementation due to
the need to unref the request when it fails. This will go away
wit
This is for when the request must be dropped in the void,
but still memory should be freed. To this end, the devices
register a second callback in SCSIBusOps.
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/esp.c | 16 ++--
hw/lsi53c895a.c | 30 +++
Signed-off-by: Paolo Bonzini
Cc: Christoph Hellwig
---
hw/esp.c | 10 +-
hw/lsi53c895a.c | 20 ++--
hw/spapr_vscsi.c | 29 +
hw/usb-msd.c | 10 +-
4 files changed, 33 insertions(+), 36 deletions(-)
diff --git a/hw/
The sg driver currently has a hardcoded limit of commands it
can handle simultaneously. When this limit is reached the
driver will return -EDOM. So we need to capture this to
enable proper return values here.
Signed-off-by: Hannes Reinecke
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hell
From: Hannes Reinecke
Currently the SCSIRequest structure is abstracted away and cannot accessed
directly from the driver. This requires the handler to do a lookup on
an abstract 'tag' which identifies the SCSIRequest structure.
With this patch the SCSIRequest structure is exposed to the driver.
Signed-off-by: Paolo Bonzini
Cc: Christoph Hellwig
---
hw/esp.c | 26 ++
hw/lsi53c895a.c | 22 --
hw/scsi-bus.c| 16 +---
hw/scsi.h|1 +
hw/spapr_vscsi.c | 26 ++
hw/usb-msd.c |
This mirrors the LSI patch that was recently committed.
Signed-off-by: Paolo Bonzini
Cc: Christoph Hellwig
---
hw/esp.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/esp.c b/hw/esp.c
index 381a8fb..0b80529 100644
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -61,7 +61,
From: Hannes Reinecke
The SCSI spec has a quite detailed list of sense codes available.
It even mandates the use of specific ones for some failure cases.
The current implementation just has one type of generic error
which is actually a violation of the spec in certain cases.
This patch introduces
... and remove some SCSIDevice variables or fields that now become unused.
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/esp.c |2 +-
hw/lsi53c895a.c |2 +-
hw/scsi-bus.c|5 +
hw/scsi.h|1 +
hw/spapr_vscsi.c |8 ++--
hw/usb-m
The LUN field in the CDB is a historical relic. Ignore it as reserved,
which is what modern SCSI specifications actually say.
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/scsi-disk.c|6 +++---
hw/scsi-generic.c |5 ++---
2 files changed, 5 insertions(+), 6 del
From: Hannes Reinecke
The get_sense callback copies existing sense information into
the provided buffer. This is required if sense information
should be transferred together with the command response.
Signed-off-by: Hannes Reinecke
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
-
The return value is unused anyway.
Signed-off-by: Paolo Bonzini
Reviewed-by: Christoph Hellwig
---
hw/scsi-disk.c|6 ++
hw/scsi-generic.c |7 ++-
hw/scsi.h |2 +-
3 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
inde
Signed-off-by: Paolo Bonzini
Cc: Christoph Hellwig
---
hw/esp.c | 60 +---
hw/lsi53c895a.c | 48 +++---
hw/scsi-bus.c|4 +-
hw/scsi.h|9 +
hw/spapr_vscsi.c | 101 ++--
Anthony Liguori writes:
> On 05/23/2011 10:19 AM, Richard W.M. Jones wrote:
>> On Mon, May 23, 2011 at 10:07:21AM -0500, Anthony Liguori wrote:
>>> On 05/23/2011 09:29 AM, Markus Armbruster wrote:
Anthony Liguori writes:
JavaScript's implementation of JSON sets limits on the rang
On 2011-05-23 17:11, Markus Armbruster wrote:
>> Checked again: net_client is terminated by a NULL entry. If we put
>> certain entries on fixed slots, that would created premature list
>> termination if some features is missing (e.g. VDE is configured out). So
>> we actually need a separate name ar
On 05/23/2011 11:18 AM, Markus Armbruster wrote:
Anthony Liguori writes:
If it's left up to the application, doesn't that mean that we can't
ever send 64-bit memory/disk faithfully?
Because a client would be allowed to represent integers as signed
32-bit numbers.
A client is allowed to repr
Hi,
On 05/23/2011 04:34 PM, Gerd Hoffmann wrote:
Hi,
The problem is that the USBDevice lifetime may be shorter then the
USBPacket lifetime, USBPackets are created by uhci.c (for example),
where as the device is managed from the monitor (for example), doing
a usb_del in the monitor using the gu
Hi,
On 05/23/2011 04:53 PM, Gerd Hoffmann wrote:
Hi,
Good spotting, this is indeed a issue which needs fixing. It isn't
introduced by this patch though, it exists even without the usb patch
queue.
Something like the attached patch should fix it.
The diff looks incomplete (missing changes t
Hi,
Looks good to me, good way to fix this!
Acked-by: Hans de Goede
Regards,
Hans
On 05/23/2011 05:40 PM, Gerd Hoffmann wrote:
This patch adds USBBusOps struct with (for now) only a single callback
which is called when a device is about to be destroyed. The USB Host
adapters are implementi
Hi, Everybody
I am a freshman in QEMU.
I want to figure out what is happening in emulating the floating point
calculation in QEMU. I checked the codes in target-i386/translate.c, but I
cannot find anything about floating point calculation, I can only find the
emulation about integer "mul" or
On 05/23/2011 01:36 PM, Guan, Qiang wrote:
> I want to figure out what is happening in emulating the floating point
> calculation in QEMU. I checked the codes in target-i386/translate.c, but I
> cannot find anything about floating point calculation, I can only find the
> emulation about integer "mu
On 05/23/2011 11:24 AM, Markus Armbruster wrote:
Kevin Wolf writes:
Am 20.05.2011 21:53, schrieb Blue Swirl:
On Fri, May 20, 2011 at 10:42 PM, Anthony Liguori wrote:
On 05/20/2011 02:25 PM, Blue Swirl wrote:
On Fri, May 20, 2011 at 9:48 PM, Corey Bryant wrote:
sVirt provides SELinux
On Mon, May 23, 2011 at 5:40 PM, Kirill Batuzov wrote:
> Gather generated spills statistics. It is useful for debugging and evaluating
> of new register allocator.
>
> Signed-off-by: Kirill Batuzov
> ---
> tcg/tcg.c | 69
> +
> tcg/
On Mon, May 23, 2011 at 7:08 PM, Paolo Bonzini wrote:
> There are more operations than a SCSI bus can handle, besides completing
> commands. The current callback in fact is overloaded and can be called
> with two different meanings already. Another example, which this series
> will introduce, is
On Mon, May 23, 2011 at 7:09 PM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> Cc: Christoph Hellwig
> ---
> hw/esp.c | 60 +---
> hw/lsi53c895a.c | 48 +++---
> hw/scsi-bus.c | 4 +-
> hw/scsi.h | 9 +
> h
On Mon, May 23, 2011 at 6:56 PM, Kevin Wolf wrote:
> Am 23.05.2011 17:24, schrieb Markus Armbruster:
>> Kevin Wolf writes:
>>
>>> Am 20.05.2011 21:53, schrieb Blue Swirl:
On Fri, May 20, 2011 at 10:42 PM, Anthony Liguori
wrote:
> On 05/20/2011 02:25 PM, Blue Swirl wrote:
>>
>>
Changes from v4 -> v5
* Claim official ownership of the Alpha port, rather
than leave it as "unmaintained".
* Drop all the patches in hw/ for now. While they're necessary
to actually make the port work, these are the subset of the whole
patchset for which I'm confident I'm doing
I've been maintaining this port for a while now.
Signed-off-by: Richard Henderson
---
MAINTAINERS |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index e6f853d..35d4496 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -56,8 +56,8 @@ M: Paul Broo
The QEMU emulation PALcode will use EV6 PALcode insns regardless
of the "real" cpu instruction set being emulated.
Signed-off-by: Richard Henderson
---
alpha-dis.c |4
dis-asm.h |3 +++
disas.c |2 +-
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/alpha-dis
Don't bother including executive and supervisor modes.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h | 37 -
target-alpha/translate.c |7 ---
2 files changed, 32 insertions(+), 12 deletions(-)
diff --git a/target-alpha/cpu.h b/target
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h |8 +++-
target-alpha/translate.c |6 ++
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index 4407b32..a59b39a 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/c
All of the "raw" memory accesses should be "phys" instead. Fix
some confusion about argument ordering of the store routines.
Fix the implementation of store-conditional.
Delete the "alt-mode" helpers. Because we only implement two
mmu modes, let /a imply user-mode unconditionally.
Leave some co
This code contained typos, as it had never been compiled.
Signed-off-by: Richard Henderson
---
target-alpha/translate.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 73c19d9..851a045 100644
--- a/target-alp
There's no need to attempt to match EXCP_* values with PALcode entry
point offsets. Instead, compress all the values to make for more
efficient switch statements within QEMU.
We will be doing TLB fill within QEMU proper, not within the PALcode,
so all of the ITB/DTB miss, double fault, and access
These aren't actually used yet, but we can at least access
them via the HW_MFPR and HW_MTPR instructions.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h | 15 +++
target-alpha/machine.c | 13 ++
target-alpha/translate.c | 96
Delete all the code that tried to emulate the real IPRs of some
unnamed CPU. Replace those with just 3 slots that we can use to
communicate trap information between the helper functions that
signal exceptions and the OS trap handler.
Signed-off-by: Richard Henderson
---
linux-user/main.c
This gets the PC right after an arithmetic exception. Also tidies
the code in the TLB fault handlers to use common code.
Signed-off-by: Richard Henderson
---
target-alpha/op_helper.c | 49 -
1 files changed, 30 insertions(+), 19 deletions(-)
diff -
Interrupts are disabled in PALmode, and when the PS IL is high enough.
Signed-off-by: Richard Henderson
---
cpu-exec.c | 33 ++---
target-alpha/cpu.h |5 +
target-alpha/exec.h | 12 +++-
3 files changed, 46 insertions(+), 4 deletions(-)
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h |1 +
target-alpha/helper.c| 37 -
target-alpha/op_helper.c |5 -
3 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index d1ef0
Introduce and use arith_excp, filling in the trap_arg[01] IPRs.
Signed-off-by: Richard Henderson
---
target-alpha/op_helper.c | 34 +-
1 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c
index 73e5
The EXC_M_* constants were being set for the EV6, not as set for
the Unix kernel entry point.
Use PS_USER_MODE instead of hard-coding access to the PS register.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h | 56 +++--
target-alpha/trans
Also include the PCC_OFS in the return value. For user mode we
can pretend the PCC_OFS value is always zero.
Signed-off-by: Richard Henderson
---
target-alpha/op_helper.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/target-alpha/op_helper.c b/target-alpha/
Reads the page table how PALcode would, except that the virtual
page table base register is not used.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h| 13 +
target-alpha/helper.c | 129 +++--
2 files changed, 138 insertions(+), 4 del
This code does not work, and will be replaced by a bios image.
Signed-off-by: Richard Henderson
---
Makefile.target |2 +-
hw/alpha_palcode.c | 1048 --
target-alpha/cpu.h | 35 --
target-alpha/helper.c|2 +-
target-a
Signed-off-by: Richard Henderson
---
exec-all.h |2 +-
exec.c | 12 ++--
target-alpha/cpu.h |6 +-
target-alpha/op_helper.c | 26 ++
4 files changed, 38 insertions(+), 8 deletions(-)
diff --git a/exec-all.h b/e
With all of the pre-existing code that would not compile gone,
this is the earliest point at which the target can be enabled.
There is no machine defined yet, so this will crash on startup.
Enable the target anyway, to make sure that further compilation
problems do not creep back in.
Signed-off-b
Signed-off-by: Richard Henderson
---
target-alpha/helper.c | 121 +
1 files changed, 111 insertions(+), 10 deletions(-)
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index c5479fd..a49f632 100644
--- a/target-alpha/helper.c
+++ b/targ
We had two different methods in use, both of which referenced ENV,
and neither of which indicated to the generic code when different
compilation modes are not compatible.
Signed-off-by: Richard Henderson
---
target-alpha/cpu.h | 32 -
target-alpha/translate.c | 378 +
In particular, SWPIPL is used quite a lot by the Linux kernel.
Doing this inline makes it significantly easier to step through
without the debugger getting confused by the mode switch.
Signed-off-by: Richard Henderson
---
target-alpha/translate.c | 140 +++---
Signed-off-by: Richard Henderson
---
target-alpha/helper.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index 96b407b..bd3af38 100644
--- a/target-alpha/helper.c
+++ b/target-alpha/helper.c
@@ -220,14 +220,18 @@ st
Expose these via MTPR, more or less like the real HW does.
Signed-off-by: Richard Henderson
---
target-alpha/helper.h|3 +++
target-alpha/op_helper.c | 11 ++-
target-alpha/translate.c | 32 +---
3 files changed, 34 insertions(+), 12 deletions(-)
Signed-off-by: Richard Henderson
---
target-alpha/helper.h|1 -
target-alpha/op_helper.c | 10 --
target-alpha/translate.c | 19 ---
3 files changed, 8 insertions(+), 22 deletions(-)
diff --git a/target-alpha/helper.h b/target-alpha/helper.h
index f4f693a..de8
On Thu, May 19, 2011 at 03:47:00PM +0200, Paolo Bonzini wrote:
> Most definitions in softfloat.h are really target-independent. Split
> the few that stand out as target-dependent, to allow including
> softfloat.h from files that are not compiled per-target.
Looks ok in principle, but I wonder if
We were failing to generate EXC_DEBUG in the EXIT_PC_UPDATED path.
This caused us not to stop at the instruction after a branch, but
on the instruction afterward.
Signed-off-by: Richard Henderson
---
target-alpha/translate.c | 35 ---
1 files changed, 20 inserti
On Mon, May 23, 2011 at 06:40:46PM +0400, Kirill Batuzov wrote:
> This series improves register allocator by keeping track of temp's and
> register's live ranges, doing better spill choice and spilling early unneeded
> globals.
>
> The patches do need testing and performance evaluation before they
On Fri, May 20, 2011 at 05:44:12PM +0200, Alexander Graf wrote:
> Hi,
>
> This is my current s390x patch queue containing
>
> * s390x emulation
> * fixes for s390x kvm
>
> Please pull.
Pulled. In the future, could you please also send the patch series to
the mailing list, so that people can
On Fri, May 20, 2011 at 06:03:50PM +0200, Alexander Graf wrote:
> Hi,
>
> This is my current PPC patch queue containing all the collected PPC work for
> Qemu so far. Please pull.
Pulled. In the future, could you please also send the patch series to
the mailing list, so that people can have a look
On Thu, May 19, 2011 at 02:46:13PM +0100, Peter Maydell wrote:
> This patch series fixes a number of minor bugs in the ARM target where
> we were not correctly setting the cumulative exception flags in the
> FPSCR. It includes adding a new flag to softfloat indicating when a
> denormal result has b
Signed-off-by: Marcelo Tosatti
Index: qemu-block-copy/sysemu.h
===
--- qemu-block-copy.orig/sysemu.h
+++ qemu-block-copy/sysemu.h
@@ -33,6 +33,7 @@ void qemu_del_vm_change_state_handler(VM
#define VMSTOP_SAVEVM6
#define VMSTOP_
To query whether migration is active.
Signed-off-by: Marcelo Tosatti
Index: qemu-block-copy/migration.c
===
--- qemu-block-copy.orig/migration.c
+++ qemu-block-copy/migration.c
@@ -480,3 +480,13 @@ int get_migration_state(void)
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti
Index: qemu-block-copy/block/blkmirror.c
===
--- /dev/null
+++ qemu-block-copy/block/blkmirror.c
@@ -0,0 +1,239 @@
+/*
+ * Block driver for mirrored writes.
Signed-off-by: Marcelo Tosatti
Index: qemu-block-copy/migration.c
===
--- qemu-block-copy.orig/migration.c
+++ qemu-block-copy/migration.c
@@ -19,6 +19,7 @@
#include "block.h"
#include "qemu_socket.h"
#include "block-migration.h"
Signed-off-by: Marcelo Tosatti
Index: qemu-block-copy/qerror.c
===
--- qemu-block-copy.orig/qerror.c
+++ qemu-block-copy/qerror.c
@@ -209,6 +209,14 @@ static const QErrorStringTable qerror_ta
.error_fmt = QERR_VNC_SERVER_FAI
Signed-off-by: Marcelo Tosatti
Index: qemu-block-copy/block.h
===
--- qemu-block-copy.orig/block.h
+++ qemu-block-copy/block.h
@@ -295,6 +295,14 @@ typedef enum {
BLKDBG_CLUSTER_ALLOC_BYTES,
BLKDBG_CLUSTER_FREE,
+BLKD
Support live image copy + switch. That is, copy an image backing
a guest hard disk to a destination image (destination image must
be created separately), and switch to this copy.
Command syntax:
block_copy device filename [-i] -- live block copy device to image
-i for incremental cop
v3:
- replace commit file with mirrored writes
- address comments from round 2
v2:
- use reference counting to be safe against device hotplug / bdrv_truncate
- add comment about usage of timer
On Sun, May 22, 2011 at 11:01:13PM +0100, Stefan Hajnoczi wrote:
> The following changes since commit dcfd14b3741983c466ad92fa2ae91eeafce3e5d5:
>
> Delete unused tb_invalidate_page_range (2011-05-22 10:47:28 +)
>
> are available in the git repository at:
> git://repo.or.cz/qemu/stefanha.g
On Mon, May 23, 2011 at 04:04:42PM +0100, Peter Maydell wrote:
> Remove a preprocessor #define which is never used.
>
> Signed-off-by: Peter Maydell
> ---
> target-arm/exec.h |2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
Thanks, applied.
> diff --git a/target-arm/exec.h b/targe
On Mon, May 23, 2011 at 10:13:47AM +0100, Peter Maydell wrote:
> The --disable-slirp option was undocumented; add it to configure's
> --help output.
>
> Signed-off-by: Peter Maydell
> ---
> configure |1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied.
> diff --git a/c
target-mips has been switched to softfloat only long ago, but
a #ifndef CONFIG_SOFTFLOAT has been forgotten. Remove it.
Signed-off-by: Aurelien Jarno
---
gdbstub.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index ae856f9..b9ae30d 100644
---
target-ppc has been switched to softfloat only long ago, but a
few #ifdef CONFIG_SOFTFLOAT have been forgotten. Remove them.
Cc: Alexander Graf
Reviewed-by: Peter Maydell
Signed-off-by: Aurelien Jarno
---
target-ppc/helper.h|2 --
target-ppc/op_helper.c | 11 ---
target-ppc/t
Now that softfloat-native is gone, there is no real point on not always
enabling floatx80 and float128 support.
Reviewed-by: Peter Maydell
Signed-off-by: Aurelien Jarno
---
cpu-all.h |2 -
fpu/softfloat-specialize.h |7 -
fpu/softfloat.c| 62 --
101 - 200 of 230 matches
Mail list logo