The various *Symbols.h files were not copied from the original GCC libdecnumber
library; they are not necessary for use in QEMU. Remove all instances of
#include "*Symbols.h"
Signed-off-by: Tom Musta
---
include/libdecnumber/decContext.h |1 -
include/libdecnumber/decDPD.h
Modify the dconfig.h header file so that libdecnumber code integrates QEMU
configuration. Specifically:
- the WORDS_BIGENDIAN preprocessor macro is used in libdecnumber code to
determines endianness. It is derived from the existing QEMU macro
HOST_WORDS_BIGENDIAN which is defined in c
Introduce a new conversion function to the libdecnumber library.
This function converts a decNumber to a signed 64-bit integer.
In order to support 64-bit integers (which may have up to 19
decimal digits), the existing "powers of 10" array is expanded
from 10 to 19 entries.
Signed-off-by: Tom Must
Add emulation of the PowerPC Decimal Floating Point Subtract instructions
dsub[q][.]
Signed-off-by: Tom Musta
---
V2: Modified post-processor handling per Richard Henderson's review.
target-ppc/dfp_helper.c | 18 ++
target-ppc/helper.h |2 ++
target-ppc/translate.c |
Enable compilation of the newly added libdecnumber library code.
Object file targets are added to Makefile.target using a newly
introduced flag CONFIG_LIBDECNUMBER. The flag is added
to the PowerPC targets (ppc[64]-linux-user, ppc[64]-softmmu).
Signed-off-by: Tom Musta
---
Makefile.target
Add emulation of the PowerPC Decimal Floating Point Compare instructions
dcmpu[q] and dcmpo[q].
Signed-off-by: Tom Musta
---
V2: Modified post-processor handling per Richard Henderson's review.
target-ppc/dfp_helper.c | 58 +++
target-ppc/helper.h
Add decoder macros for the various Decimal Floating Point
instruction forms. Illegal instruction masks are used to not only
guard against reserved instruction field use, but also to catch
illegal quad word forms that use odd-numbered floating point registers.
Signed-off-by: Tom Musta
---
target
Define a floating pointer register pointer type in the PowerPC
helper header. The type will be used to pass FPR register operands
to Decimal Floating Point (DFP) helpers. A pointer is used because
the quad word forms of PowerPC DFP instructions operate on adjacent
pairs of floating point register
Add emulation of the PowerPC Decimal Floating Point Test Data Class
instructions dtstdc[q][.].
Signed-off-by: Tom Musta
---
V2: Modify post-processor handlling per Richard Henderson's review.
target-ppc/dfp_helper.c | 28
target-ppc/helper.h |2 ++
target-
Add emulation of the PowerPC Decimal Floating Point Test Significance
instructions dtstsf[q][.].
Signed-off-by: Tom Musta
---
V2: Modified post processor handling per Richard Henderson's review.
target-ppc/dfp_helper.c | 35 +++
target-ppc/helper.h |2 +
Add general support for generators of PowerPC Decimal Floating Point helpers.
Some utilities are annotated with GCC attribute unused in order to preserve
build bisection. These annotations will be removed in later patches.
Signed-off-by: Tom Musta
---
target-ppc/translate.c | 177
Add emulation of the PowerPC Decimal Floating Point Test Exponent
instructions dtstex[q][.].
Signed-off-by: Tom Musta
---
V2: Modified post processor handling per Richard Henderson's review.
target-ppc/dfp_helper.c | 32
target-ppc/helper.h |2 ++
targ
Add emulation of the PowerPC Decimal Floating Point Multiply instructions
dmul[q][.]
Signed-off-by: Tom Musta
---
V2: Make post-processor list static const per Richard Henderson's review.
target-ppc/dfp_helper.c | 23 +++
target-ppc/helper.h |2 ++
target-ppc/trans
Add emulation of the PowerPC Decimal Floating Point Quantize instructions
dquai[q][.] and dqua[q][.].
Signed-off-by: Tom Musta
---
V2: Make post-processor list static const per Richard Henderson's review.
target-ppc/dfp_helper.c | 132 +++
target-ppc
Add emulation of the PowerPC Decimal Floating Point (DFP) Round
to FP Integer With Inexact (drintx[q][.]) and DFP Round to FP
Integer Without Inexact (drintn[q][.]) instructions.
Signed-off-by: Tom Musta
---
V2: Make post-processor list static const per Richard Henderson's review.
target-ppc/df
Add emulation of the PowerPC Round to DFP Short (drsp[.]) and Round to
DFP Long (drdpq[.]) instructions.
Signed-off-by: Tom Musta
---
V2: Modify post-processor handling per Richard Henderson's review.
target-ppc/dfp_helper.c | 48 +++
target-ppc/hel
Add emulation of the PowerPC Decimal Floating Point Convert to Fixed
instructions dctfix[q][.].
Signed-off-by: Tom Musta
---
target-ppc/dfp_helper.c | 36
target-ppc/helper.h |2 ++
target-ppc/translate.c |4
3 files changed, 42 insertions
Add emulation of the PowerPC Decimal Floating Point Insert Biased
Exponent instructions diex[q][.].
Signed-off-by: Tom Musta
---
target-ppc/dfp_helper.c | 68 +++
target-ppc/helper.h |2 +
target-ppc/translate.c |4 +++
3 files changed,
Add emulation of the Power PC Decimal Floating Point Decode
Densely Packed Decimal to Binary Coded Decimal instructions
ddedpd[q][.].
Signed-off-by: Tom Musta
---
target-ppc/dfp_helper.c | 66 +++
target-ppc/helper.h |2 +
target-ppc/translat
Add emulation of the PowerPC Decimal Floating Point Convert to
Fixed instructions dctfix[q][.].
Signed-off-by: Tom Musta
---
V2: Make post-processor list static const per Richard Henderson's review.
target-ppc/dfp_helper.c | 26 ++
target-ppc/helper.h |2 ++
ta
Add emulation of the PowerPC Decimal Floating Point Extract
Biased Exponent instructions dxex[q][.].
Signed-off-by: Tom Musta
---
target-ppc/dfp_helper.c | 31 +++
target-ppc/helper.h |2 ++
target-ppc/translate.c |4
3 files changed, 37 insertions
Add emulation of the PowerPC Decimal Floating Point Reround instructions
drrnd[q][.].
Signed-off-by: Tom Musta
---
V2: Modified post processor handling per Richard Henderson's review.
target-ppc/dfp_helper.c | 97 +++
target-ppc/helper.h |2
Add post-processing utilities to the PowerPC Decimal Floating Point
(DFP) helper code. Post-processors are small routines that execute
after a preliminary DFP result is computed. They are used, among other
things, to compute status bits.
This change defines a function type for post processors as
Add emulation of the PowerPC Decimal Floating Point Divide instructions
ddiv[q][.]
Signed-off-by: Tom Musta
---
V2: Make post-processor list static const per Richard Henderson's review.
target-ppc/dfp_helper.c | 38 ++
target-ppc/helper.h |2 ++
tar
Replace the inclusion of gstdint.h with the standard stdint.h
header file.
Signed-off-by: Tom Musta
---
include/libdecnumber/decContext.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/libdecnumber/decContext.h
b/include/libdecnumber/decContext.h
index 1a3f15e
Add emulation of the PowerPC Decimal Floating Point Shift Significand
Left Immediate (dscli[q][.]) and DFP Shift Significant Right Immediate
(dscri[q][.]) instructions.
Signed-off-by: Tom Musta
---
target-ppc/dfp_helper.c | 95 +++
target-ppc/helper.
Add emulation of the PowerPC Decimal Floating Point Encode Binary
Coded Decimal to Densely Packed Decimal instructions denbcd[q][.].
Signed-off-by: Tom Musta
---
target-ppc/dfp_helper.c | 72 +++
target-ppc/helper.h |2 +
target-ppc/translate
On 21 April 2014 21:52, Peter Maydell wrote:
> I think we get the various neon load/store insns right, but did you
> check the pseudocode against our implementation or are you just
> hoping that we never try to combine or split a load/store compared
> to the pseudocode spec?
Thinking more about t
Add a new file (dfp_helper.c) to the PowerPC implementation for Decimal Floating
Point (DFP) emulation. This first version of the file declares a structure that
will be used by DFP helpers. It also implements utilities that will initialize
such a structure for either a long (64 bit) DFP instructi
On 04/18/2014 02:28 PM, Michael Tokarev wrote:
> SDL2 display apparently does not work with standard keyboard
> shortcuts documented in the qemu manpage. In particular,
> Ctrl+Alt+(123) does not switch between monitor, serial and
> guest graphical conslole,
Certainly seems intentional: notice the
Eliminate an unused variable in the decSetSubnormal routine. The
variable dnexp is declared and eventually set but never used, and
thus may trigger an unused-but-set-variable warning.
Signed-off-by: Tom Musta
---
libdecnumber/decNumber.c |2 --
1 files changed, 0 insertions(+), 2 deletions(
Add emulation of the PowerPC Decimal Floating Point Test Data
Group instructions dtstdg[q][.].
Signed-off-by: Tom Musta
---
V2: Modifed post processor handling per Richard Henderson's review.
target-ppc/dfp_helper.c | 55 +++
target-ppc/helper.h
Add emulation of the PowerPC Convert to DFP Long (dctdp[.]) and
Convert to DFP Extended (dctqpq[.]) instructions.
Signed-off-by: Tom Musta
---
V2: Modify post-processor handling per Richard Henderson's review.
target-ppc/dfp_helper.c | 33 +
target-ppc/helper.h
Eliminate redundant declarations of symbols DPD2BIN and BIN2DPD in
various .c source files. These symbols are already declared in decDPD.h and
thus will trigger 'redundant redeclaration of ?XXX?' warnings, which, of
course, may fail QEMU compilation.
Signed-off-by: Tom Musta
---
libdecnumber/dp
In SDL2, wheel movement is its own event, not a button event. Wire
it up similar to gtk.c
Signed-off-by: Cole Robinson
---
ui/sdl2.c | 44 ++--
1 file changed, 26 insertions(+), 18 deletions(-)
diff --git a/ui/sdl2.c b/ui/sdl2.c
index 7506e2e..5de62c9 100
I don't see why tpm is disabled by default: it doesn't have any
external dependencies, or change default behavior. Leaving it disabled
is just going to cause it to bit rot.
Enable it by default, and change --enable-tpm to --disable-tpm if
people still want an option to compile it out.
Signed-off-
On 04/10/2014 11:54 AM, Chunyan Liu wrote:
> Change block layer to support both QemuOpts and QEMUOptionParameter.
> After this patch, it will change backend drivers one by one. At the end,
> QEMUOptionParameter will be removed and only QemuOpts is kept.
>
> Signed-off-by: Dong Xu Wang
> Signed-of
On 04/21/2014 11:09 PM, Eric Blake wrote:
> On 04/20/2014 06:05 AM, Chen Gang wrote:
>> After finish 'writeconfig' to stdout (with '-'), we want to copy/past
>> the related information mannually, not for redirection ('readconfig'
>> does not support '-').
>>
>> So we can not close the stdout, or
'writeconfig' supports output to stdout (with '-'); when that happens,
we must not close stdout, or further command line options that also use
stdout will be impacted. (Although 'writeconfig' was copied from
'readconfig', the latter does not have the problem because it does not
support reading from
On Mon, 04/21 09:21, Eric Blake wrote:
> On 04/21/2014 12:23 AM, Fam Zheng wrote:
> > Previously, when there is an user error in argv parsing, qemu-img prints
>
> s/an user/a user/
>
> (The rule of thumb for selecting which article to use for a leading 'u'
> is pronunciation: anything starting wi
Previously, when there is a user error in argv parsing, qemu-img prints
help text and exits.
Add an error_exit function to print a helpful error message and a hint
to run 'qemu-img --help' for more information.
As a bonus, "qemu-img --help" now has a more reasonable exit code
0.
In the future t
On Mon, 04/21 19:09, Cole Robinson wrote:
> I don't see why tpm is disabled by default: it doesn't have any
> external dependencies, or change default behavior. Leaving it disabled
> is just going to cause it to bit rot.
>
> Enable it by default, and change --enable-tpm to --disable-tpm if
> peopl
On 04/17/2014 04:15 PM, Qiao Nuohan wrote:
The last version is here:
http://lists.nongnu.org/archive/html/qemu-devel/2014-04/msg00018.html
ChangLog:
Changes from v7 to v8:
1. add a patch to fix doc of dump-guest-memory
Qiao Nuohan (2):
HMP: fix doc of dump-guest-memory
HMP: support speci
Il 21/04/2014 19:09, Cole Robinson ha scritto:
I don't see why tpm is disabled by default: it doesn't have any
external dependencies, or change default behavior. Leaving it disabled
is just going to cause it to bit rot.
Enable it by default, and change --enable-tpm to --disable-tpm if
people sti
Il 21/04/2014 18:08, Peter Maydell ha scritto:
Thinking more about this, we'd be wrong already for bigendian
if these were wrong. The bit about the linux-user/main.c strex/ldrex
still stands, though, because those use get_user*/put_user* which
use the TARGET_BIGENDIAN specified endianness.
Ok.
On Tue, Apr 22, 2014 at 10:04:21AM +0800, Fam Zheng wrote:
> Previously, when there is a user error in argv parsing, qemu-img prints
> help text and exits.
>
> Add an error_exit function to print a helpful error message and a hint
> to run 'qemu-img --help' for more information.
>
> As a bonus, "
On 04/21/2014 03:08 PM, Peter Maydell wrote:
> [Tangentially: we really need a vdso for aarch64, at which point we
> might as well do the aarch32 commpage with one too. IIRC RTH had
> some patches for x86-64 vdso which I should fish out of the archives...]
Still sitting at
git://github.com/rth7
On Tue, 04/22 11:31, Wang Sen wrote:
> On Tue, Apr 22, 2014 at 10:04:21AM +0800, Fam Zheng wrote:
> > Previously, when there is a user error in argv parsing, qemu-img prints
> > help text and exits.
> >
> > Add an error_exit function to print a helpful error message and a hint
> > to run 'qemu-img
Previously, when there is a user error in argv parsing, qemu-img prints
help text and exits.
Add an error_exit function to print a helpful error message and a hint
to run 'qemu-img --help' for more information.
As a bonus, "qemu-img --help" now has a more reasonable exit code
0.
In the future t
Hi,
> Command line options are processed before machine types are
> initialized.
acpi is pretty much in the same boat ...
/me looks ...
Ah, there is a notifier where you (hopefully) can hook in easily:
pc_guest_info_machine_done (see hw/i386/pc.c).
cheers,
Gerd
On Fr, 2014-04-18 at 09:23 +, Gonglei (Arei) wrote:
> Hi, Gerd.
> IMHO, the usb-ehci controller as a common PCI device, likes NIC.
> If we don't use the multifunction capability of EHCI, we should support to
> hot plug / unplug
> Usb-ehci controller.
Yes, non-multifunction usb controll
> > if (dev) {
> > -object_property_set_link(OBJECT(s), OBJECT(dev),
> > - "device", &local_err);
> > -object_property_set_int(OBJECT(s), head,
> > -"head", &local_err);
> > +object_property_set_link(OBJECT(
Copying Gerd.
Fabio Fantoni writes:
> 2014-04-18 9:42 GMT+02:00 Christophe Fergeau :
>
>>
>>
>> - Mail original -
>> > Il 26/03/2014 17:15, Fabio Fantoni ha scritto:
>> > > Time ago I have read somewhere that there is an option to
>> > > automatically spice port in qemu as for vnc.
>> >
201 - 253 of 253 matches
Mail list logo