The eventual result looks okay.
But if-clauses that surrounds msi_trigger = true should be eliminated
at the same time.
1/6, 3/6 and, 4/6 could be reordered for bisectability.
thanks,
On Fri, Dec 03, 2010 at 12:54:37AM +0200, Michael S. Tsirkin wrote:
> Remove some unused variables and return val
Looks good.
Maybe assert(0) should be replaced by abort().
Anyway this patch removes it, though.
On Fri, Dec 03, 2010 at 12:54:47AM +0200, Michael S. Tsirkin wrote:
> Same logic is used to assert interrupts
> and send msix messages, so add a static functin for this.
>
> Signed-off-by: Michael S.
On Fri, Dec 03, 2010 at 01:02:35AM +0200, Michael S. Tsirkin wrote:
> Also, the code has many cases that look like:
>
> if (root_cmd & PCI_ERR_ROOT_CMD_COR_EN) {
> }
> If the intent is to add some code later, pls put a TODO here.
> Otherwise please remove these or replace w
Looks good.
On Fri, Dec 03, 2010 at 12:54:43AM +0200, Michael S. Tsirkin wrote:
> config write handling for aer seems broken:
> For example, it won't clear a level interrupt
> when command register is set to 0.
>
> Make it match the spec: level should equal
> the logical or of enabled bits, msi o
On Fri, Dec 03, 2010 at 12:54:33AM +0200, Michael S. Tsirkin wrote:
> diff --git a/hw/pcie_aer.c b/hw/pcie_aer.c
> index 235ac53..18bbd5a 100644
> --- a/hw/pcie_aer.c
> +++ b/hw/pcie_aer.c
> @@ -339,10 +339,10 @@ static bool pcie_aer_msg_root_port(PCIDevice *dev,
> const PCIEAERMsg *msg)
>
>
On (Mon) Dec 06 2010 [13:23:50], Paul Brook wrote:
> > Sure. My proposal is for qemu_chr_write() to succeed all the time. If
> > the backend can block, and the caller can handle it, it can get a
> > -EAGAIN (or WSAEWOULDBLOCK) return. When the backend becomes writable,
> > the chardev can call t
On Thu, Dec 02, 2010 at 09:32:12PM +0200, Michael S. Tsirkin wrote:
> On Fri, Nov 26, 2010 at 09:01:41PM +0900, Isaku Yamahata wrote:
> > pcie aer wants SERR bit to be writable.
> > So make it writable. For compatibility, introduce compat global property
> > command_serr_enable and don't make it wr
I forgot to mention we must also use our own devices also located on the floppy
disk, E.G. /fd0/dev/tty0, /fd0/dev/ttyS0, /fd0/dev/ttyS1 instead of /dev/tty0,
/dev/ttyS0, and /dev/ttyS1 on the host OS. How could I get 3 qemu SDL windows
to pop up at once, 1 of the terminals running on /fd0/dev/t
Quoting Stevens, Weston (wstev...@eecs.wsu.edu):
> I run Ubuntu 10.04 LTS and have qemu 0.12.3. For a class project, we are
> building our own pseudo-linux operating system, so we have our own kernel AND
> user processes that we built, and we run this OS from a virtual floppy disk.
> So we don't
Please send in any agenda items you are interested in covering.
thanks,
-chris
On 12/06/2010 04:06 PM, Adam Litke wrote:
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
Add RPC to retrieve a guest file. This interface is intended
for smaller reads like peeking at logs and /proc and such.
Signed-off-by: Michael Roth
---
virtagent-server.c | 59 ++
On 12/06/2010 04:08 PM, Adam Litke wrote:
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
Utilize the getfile RPC to provide a means to view text files in the
guest. Getfile can handle binary files as well but we don't advertise
that here due to the special handling requiring to store it
'info mem' didn't show correct information for PAE mode and
x86_64 long mode.
Fix by implementing the output for missing modes.
Signed-off-by: Blue Swirl
---
monitor.c | 174
1 files changed, 162 insertions(+), 12 deletions(-)
diff
'info tlb' didn't show correct information for PAE mode and
x86_64 long mode.
Implement the missing modes. Also print NX bit for PAE and long modes.
Fix off-by-one error in 32 bit mode mask.
Signed-off-by: Blue Swirl
---
monitor.c | 151 -
I run Ubuntu 10.04 LTS and have qemu 0.12.3. For a class project, we are
building our own pseudo-linux operating system, so we have our own kernel AND
user processes that we built, and we run this OS from a virtual floppy disk. So
we don't borrow anything from the Ubuntu host OS like the login,
On 12/06/2010 04:02 PM, Adam Litke wrote:
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
+static void va_http_send_handler(void *opaque)
+{
+VAHTState *s =&va_state->send_state;
+enum va_http_status http_status;
+int fd = va_state->fd;
+int ret;
+
+TRACE("called, fd:
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
> +static void usage(const char *cmd)
> +{
> +printf(
> +"Usage: %s -c \n"
> +"QEMU virtagent guest agent\n"
> +"\n"
> +" -c, --channel channel options of the form:\n"
> +"::[:channel_id]\n"
> +" -v, --verbose
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
> +/* va_getdmesg(): return dmesg output
> + * rpc return values:
> + * - dmesg output as a string
> + */
> +static xmlrpc_value *va_getdmesg(xmlrpc_env *env,
> + xmlrpc_value *param,
> +
On 12/06/2010 03:57 PM, Adam Litke wrote:
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
+/* create new client job and then put it on the queue. this can be
+ * called externally from virtagent. Since there can only be one virtagent
+ * instance we access state via an object-scoped globa
On 12/06/2010 03:54 PM, Adam Litke wrote:
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
+/* create new client job and then put it on the queue. this can be
+ * called externally from virtagent. Since there can only be one virtagent
+ * instance we access state via an object-scoped globa
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
> +static void va_http_send_handler(void *opaque)
> +{
> +VAHTState *s = &va_state->send_state;
> +enum va_http_status http_status;
> +int fd = va_state->fd;
> +int ret;
> +
> +TRACE("called, fd: %d", fd);
> +
> +switch
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
> Utilize the getfile RPC to provide a means to view text files in the
> guest. Getfile can handle binary files as well but we don't advertise
> that here due to the special handling requiring to store it and provide
> it back to the user (base
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
> Add RPC to retrieve a guest file. This interface is intended
> for smaller reads like peeking at logs and /proc and such.
>
> Signed-off-by: Michael Roth
> ---
> virtagent-server.c | 59
>
On Mon, Dec 06, 2010 at 07:04:01PM -0200, Marcelo Tosatti wrote:
> On Mon, Dec 06, 2010 at 09:03:46AM -0500, Glauber Costa wrote:
> > Usually nobody usually thinks about that scenario (me included and
> > specially),
> > but kvmclock can be actually disabled in the host.
> >
> > It happens in two
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
> +/* create new client job and then put it on the queue. this can be
> + * called externally from virtagent. Since there can only be one virtagent
> + * instance we access state via an object-scoped global rather than pass
> + * it around.
>
On Mon, Dec 06, 2010 at 09:03:46AM -0500, Glauber Costa wrote:
> Usually nobody usually thinks about that scenario (me included and specially),
> but kvmclock can be actually disabled in the host.
>
> It happens in two scenarios:
> 1. host too old.
> 2. we passed -kvmclock to our -cpu parameter.
On Fri, 2010-12-03 at 12:03 -0600, Michael Roth wrote:
> +/* create new client job and then put it on the queue. this can be
> + * called externally from virtagent. Since there can only be one virtagent
> + * instance we access state via an object-scoped global rather than pass
> + * it around.
> +
2010/12/6 Kevin Wolf :
Hi Kevin,
> This lacks a Signed-off-by. Please merge Yehuda's fix for configure when
> you resend the patch.
I've sent an updated patch.
> What's the easiest way to try it out? I tried to use vstart.sh and copy
> the generated ceph.conf to /etc/ceph/ceph.conf so that qemu
This is a new version of the rbd driver. The only difference from v8 is
a check for a recent librados version in configure. If the librados version
is too old, rbd support will be disabled.
RBD is an block driver for the distributed file system Ceph
(http://ceph.newdream.net/). This driver uses l
On Mon, Dec 6, 2010 at 4:48 AM, Kevin Wolf wrote:
>
>
> What's the easiest way to try it out? I tried to use vstart.sh and copy
> the generated ceph.conf to /etc/ceph/ceph.conf so that qemu-img etc.
> find the monitor address. However, that leads to a hang when I try "rbd
> list" or "./qemu-img cr
On Mon, Dec 6, 2010 at 1:05 PM, Ian Campbell wrote:
> On Mon, 2010-12-06 at 12:12 +0100, Alexander Graf wrote:
>> On 05.12.2010, at 17:25, Blue Swirl wrote:
>>
>> > 'info tlb' didn't show correct information for PAE mode and
>> > x86_64 long mode.
>> >
>> > Implement the missing modes. Also print
So that next commit can change do_info_kvm_print() to call it.
Signed-off-by: Luiz Capitulino
---
monitor.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/monitor.c b/monitor.c
index 1fbe78b..e8f0562 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1994,6
The new handler directly calls qmp_query_migrate() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
migration.c |8 ++--
migration.h |2 +-
monitor.c |3 +--
3 files changed, 8 insertions(+), 5 deletion
The new handler directly calls qmp_query_block() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
block.c |6 +-
block.h |2 +-
monitor.c |3 +--
3 files changed, 7 insertions(+), 4 deletions(-)
diff
On Mon, Dec 6, 2010 at 11:12 AM, Alexander Graf wrote:
>
> On 05.12.2010, at 17:25, Blue Swirl wrote:
>
>> 'info tlb' didn't show correct information for PAE mode and
>> x86_64 long mode.
>>
>> Implement the missing modes. Also print NX bit for PAE and long modes.
>> Fix off-by-one error in 32 bit
Last commits moved QMP calling code to the info handlers themselves,
now do_info() does nothing with QMP anymore, just drop all QMP handling
code from it.
Signed-off-by: Luiz Capitulino
---
monitor.c | 42 ++
1 files changed, 6 insertions(+), 36 deletion
So that next commit can change do_info_uuid_print() to call it.
Signed-off-by: Luiz Capitulino
---
monitor.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/monitor.c b/monitor.c
index 2d1f183..e9b07f3 100644
--- a/monitor.c
+++ b/monitor.c
@@ -806,11 +806,6 @@
When no migration has been performed (ie. empty MigrationState),
qmp_query_migrate() returns nothing.
Let's do what other query handlers do: return an empty json-object.
Signed-off-by: Luiz Capitulino
---
migration.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/m
The new handler directly calls qmp_query_name() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
monitor.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/monitor.c b/monitor.c
index 8
The new handler directly calls qmp_query_uuid() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
monitor.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/monitor.c b/monitor.c
index e9b0
The new handler directly calls qmp_query_mice() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
console.h |2 +-
input.c |9 +++--
monitor.c |3 +--
3 files changed, 9 insertions(+), 5 deletions(-)
di
Today, the do_info() function takes care of handling asynchronous
calls. But what we really want is to move all the asynchronous
stuff behind the (future) QMP API.
The QMP API will be directly used by handlers, and won't be tied to
the human monitor common code (like do_info()) in any way.
This c
The new handler directly calls qmp_query_vnc() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
console.h |2 +-
monitor.c |3 +--
ui/vnc.c |9 +++--
3 files changed, 9 insertions(+), 5 deletions(-)
dif
The new handler directly calls qmp_query_pci() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
hw/pci.c |7 ++-
hw/pci.h |2 +-
monitor.c |3 +--
3 files changed, 8 insertions(+), 4 deletions(-)
diff
The new handler directly calls qmp_query_blockstats() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
block.c |6 +-
block.h |2 +-
monitor.c |3 +--
3 files changed, 7 insertions(+), 4 deletions(-)
So that next commit can change do_info_name_print() to call it.
Signed-off-by: Luiz Capitulino
---
monitor.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/monitor.c b/monitor.c
index 59b3866..89325d8 100644
--- a/monitor.c
+++ b/monitor.c
@@ -748,6 +748,12 @
The new handler directly calls qmp_query_status() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
monitor.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/monitor.c b/monitor.c
index 731
So that next commit can change do_info_version_print() to call it.
Signed-off-by: Luiz Capitulino
---
monitor.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/monitor.c b/monitor.c
index 481eab2..6252b3f 100644
--- a/monitor.c
+++ b/monito
So that next commit can change do_info_status_print() to use it.
Signed-off-by: Luiz Capitulino
---
monitor.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/monitor.c b/monitor.c
index 4286375..731cb35 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2137,6 +2137,1
The new handler directly calls qmp_query_kvm() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
monitor.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/monitor.c b/monitor.c
index e8f05
The new handler directly calls qmp_query_chardev() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
monitor.c |3 +--
qemu-char.c |8 ++--
qemu-char.h |2 +-
3 files changed, 8 insertions(+), 5 deletion
Commit 637503d122eb7656d91a8489e254d9e880be7504 dropped (duplicated)
documentation from code, but it missed the balloon handlers.
Signed-off-by: Luiz Capitulino
---
balloon.c | 24
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/balloon.c b/balloon.c
in
So that next commit can change monitor_print_cpus() to call it.
Signed-off-by: Luiz Capitulino
---
monitor.c | 78 ++--
1 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/monitor.c b/monitor.c
index 3091a1a..f067d07 100644
-
The new handler directly calls qmp_query_cpus() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
monitor.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/monitor.c b/monitor.c
index
Query handlers still carry their human monitor name. This commit
renames all of them to a more QMP-like name.
For example, do_info_version() is renamed to qmp_query_version().
Signed-off-by: Luiz Capitulino
---
balloon.c |4 +-
balloon.h |2 +-
block.c |4 +-
block.h |
The new handler directly calls qmp_query_version() to gather
data and then prints it. This change allows us to drop the
user_print callback.
Signed-off-by: Luiz Capitulino
---
monitor.c | 12 +++-
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/monitor.c b/monitor.c
inde
QMP doesn't use this field, it's only useful in the human monitor.
NOTE: Other unused fields are going to be dropped by future
commits.
Signed-off-by: Luiz Capitulino
---
monitor.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/monitor.c b/monitor.
Today, when writing an info command that is used by QMP and HMP, the
programmer has to implement:
1. The handler itself, that's the function that gathers data and
returns it as QObjects
2. A pretty printing function, which is called by the human monitor
to print the returned QObjects in
On Mon, Dec 06, 2010 at 05:00:06PM +, Peter Maydell wrote:
> The ARM architecture mandates that converting a NaN value to
> integer gives zero (if Invalid Operation FP exceptions are
> not being trapped). This isn't the behaviour of the SoftFloat
> library, so NaNs must be special-cased.
>
> S
On Mon, Dec 06, 2010 at 05:00:08PM +, Peter Maydell wrote:
> The ARM ARM defines that if the input to a single<->double conversion
> is a NaN then the output is always forced to be a quiet NaN by setting
> the most significant bit of the fraction part.
>
> Signed-off-by: Peter Maydell
Review
On Mon, Dec 06, 2010 at 05:00:07PM +, Peter Maydell wrote:
> Add functions float*_maybe_silence_nan() which ensure that a
> value is not a signaling NaN by turning it into a quiet NaN.
>
> Signed-off-by: Peter Maydell
Reviewed-by: Nathan Froyd
-Nathan
On Mon, Dec 06, 2010 at 05:00:05PM +, Peter Maydell wrote:
> Add float*_is_any_nan() functions which return true if the argument
> is a NaN of any kind (quiet or signalling).
>
> Signed-off-by: Peter Maydell
Reviewed-by: Nathan Froyd
-Nathan
On Mon, Dec 6, 2010 at 3:07 PM, Fabien Chouteau wrote:
> On 12/06/2010 11:44 AM, Artyom Tarasenko wrote:
>>
>> On Mon, Dec 6, 2010 at 10:26 AM, Fabien Chouteau
>> wrote:
>>>
>>> Hi everyone,
>>> I'm glad to submit my first patches to the Qemu-devel list.
>>>
>>> This patch set introduces a new SP
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau wrote:
> Hi everyone,
> I'm glad to submit my first patches to the Qemu-devel list.
>
> This patch set introduces a new SPARC V8 machine: Leon3. It's an open-source
> VHDL System-On-Chip, well known in space industry (more information on
> http://www
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau wrote:
>
> Signed-off-by: Fabien Chouteau
> ---
> hw/leon3.c | 6 ++
> target-sparc/cpu.h | 1 +
> target-sparc/machine.c | 2 ++
> target-sparc/translate.c | 10 ++
> 4 files changed, 19 insertions(+),
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau wrote:
>
> Signed-off-by: Fabien Chouteau
> ---
> Makefile.target | 5 +-
> hw/leon3.c | 310
> ++
> target-sparc/cpu.h | 10 ++
> target-sparc/helper.c | 2 +-
>
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau wrote:
>
> Signed-off-by: Fabien Chouteau
> ---
> hw/grlib.h | 27 +++
> 1 files changed, 27 insertions(+), 0 deletions(-)
>
> diff --git a/hw/grlib.h b/hw/grlib.h
> new file mode 100644
> index 000..eab7974
> --- /dev
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau wrote:
>
> Signed-off-by: Fabien Chouteau
> ---
> hw/grlib_gptimer.c | 448
>
> 1 files changed, 448 insertions(+), 0 deletions(-)
>
> diff --git a/hw/grlib_gptimer.c b/hw/grlib_gptimer.c
> new
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau wrote:
>
> Signed-off-by: Fabien Chouteau
> ---
> hw/grlib_apbuart.c | 231
>
> 1 files changed, 231 insertions(+), 0 deletions(-)
>
> diff --git a/hw/grlib_apbuart.c b/hw/grlib_apbuart.c
> new
On 6 December 2010 16:57, Nathan Froyd wrote:
> FWIW--and this is not particularly conducive to random insn
> sequences--the approach taken when doing the AltiVec bits was to have
> code that looked like:
>
> for each insn:
> for a suitable set of inputs:
> setup interesting registers
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau wrote:
>
> Signed-off-by: Fabien Chouteau
> ---
> hw/grlib_irqmp.c | 416
> ++
> 1 files changed, 416 insertions(+), 0 deletions(-)
>
> diff --git a/hw/grlib_irqmp.c b/hw/grlib_irqmp.c
> new fil
The ARM ARM defines that if the input to a single<->double conversion
is a NaN then the output is always forced to be a quiet NaN by setting
the most significant bit of the fraction part.
Signed-off-by: Peter Maydell
---
target-arm/helper.c | 12 ++--
1 files changed, 10 insertions(+),
Signed-off-by: Peter Maydell
Reviewed-by: Nathan Froyd
---
target-arm/translate.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 696abf6..afb3872 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.
Add functions float*_maybe_silence_nan() which ensure that a
value is not a signaling NaN by turning it into a quiet NaN.
Signed-off-by: Peter Maydell
---
fpu/softfloat-specialize.h | 38 ++
fpu/softfloat.h|2 ++
2 files changed, 40 insertion
VCVT of 16 bit fixed point to float should ignore the top 16 bits
of the source register. Cast to int16_t and friends rather than
int16 -- the former is guaranteed exactly 16 bits wide where the
latter is merely at least 16 bits wide (and so is usually 32 bits).
Signed-off-by: Peter Maydell
Revie
Use the softfloat conversion routines for conversion to 16 bit
integers, because just casting to a 16 bit type truncates the
value rather than saturating it at 16-bit MAXINT/MININT.
Signed-off-by: Peter Maydell
Reviewed-by: Nathan Froyd
---
target-arm/helper.c |2 +-
1 files changed, 1 inse
Correct the decoding of source and destination registers
for the VFP forms of the VCVT instructions which convert
between floating point and integer or fixed-point.
Signed-off-by: Peter Maydell
Reviewed-by: Nathan Froyd
---
target-arm/translate.c | 19 ---
1 files changed, 12
The ARM architecture needs float/double to 16 bit integer conversions.
(The 32 bit versions aren't sufficient because of the requirement
to saturate at 16 bit MAXINT/MININT and to get the exception bits right.)
Signed-off-by: Peter Maydell
Reviewed-by: Nathan Froyd
---
fpu/softfloat.c | 136 ++
The ARM architecture mandates that converting a NaN value to
integer gives zero (if Invalid Operation FP exceptions are
not being trapped). This isn't the behaviour of the SoftFloat
library, so NaNs must be special-cased.
Signed-off-by: Peter Maydell
---
target-arm/helper.c | 27 ++
Fix errors in the decoding of the Neon forms of fixed-point VCVT:
* fixed-point VCVT is op 14 and 15, not 15 and 16
* the fbits immediate field was being misinterpreted
* the sense of the to_fixed bit was inverted
Signed-off-by: Peter Maydell
Reviewed-by: Nathan Froyd
---
target-arm/translat
This patch series corrects a number of errors in the decoding and
implementation of various forms of the ARM VCVT instruction. The
resulting qemu has been tested by execution of 100,000 random
variants of these instruction patterns with register values
cross-checked against the results given by Cor
Add float*_is_any_nan() functions which return true if the argument
is a NaN of any kind (quiet or signalling).
Signed-off-by: Peter Maydell
---
fpu/softfloat.h | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 9528825..9be
On Mon, Dec 06, 2010 at 04:48:25PM +, Peter Maydell wrote:
> I'm not sure how well it would fit into being committed to qemu (yet):
> it works as a program where you run half of it on real ARM hardware
> and the other half under qemu (or valgrind) and it compares register
> results after execut
On 6 December 2010 16:30, Nathan Froyd wrote:
> On Thu, Nov 11, 2010 at 06:23:55PM +, Peter Maydell wrote:
>> Correct the decoding of source and destination registers
>> for the VFP forms of the VCVT instructions which convert
>> between floating point and integer or fixed-point.
>>
>> Signed-
On Thu, Nov 11, 2010 at 06:23:55PM +, Peter Maydell wrote:
> Correct the decoding of source and destination registers
> for the VFP forms of the VCVT instructions which convert
> between floating point and integer or fixed-point.
>
> Signed-off-by: Peter Maydell
Reviewed-by: Nathan Froyd
I
Am 06.12.2010 17:08, schrieb jes.soren...@redhat.com:
> From: Jes Sorensen
>
> Signed-off-by: Jes Sorensen
Thanks, applied to the block branch.
Kevin
Am 03.12.2010 22:23, schrieb ronnie sahlberg:
> Thankyou.
>
> On Sat, Dec 4, 2010 at 7:32 AM, Stefan Hajnoczi wrote:
>>
>> You want the library to be GPL, not LGPL?
>
> I have changed it to LGPLv3 for next submission.
Please use "LGPL 2.1 or later". IIRC, qemu has some parts that are GPL 2
only
This patch adds code to look up data cluster offsets in the image via
the L1/L2 tables. The L2 tables are writethrough cached in memory for
performance (each read/write requires a lookup so it is essential to
cache the tables).
With cluster lookup code in place it is possible to implement
bdrv_is
This patch implements the read/write state machine. Operations are
fully asynchronous and multiple operations may be active at any time.
Allocating writes lock tables to ensure metadata updates do not
interfere with each other. If two allocating writes need to update the
same L2 table they will
This patch introduces the qed on-disk layout and implements image
creation. Later patches add read/write and other functionality.
Signed-off-by: Stefan Hajnoczi
---
Makefile.objs |1 +
block/qed.c | 554 +
block/qed.h | 148 +
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
qemu-img.c | 18 --
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index aded72d..6b2b18b 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -314,13 +314,15 @@ static int img_create(int argc,
For a changelog against v5, see below.
QEMU Enhanced Disk format is a disk image format that forgoes features
found in qcow2 in favor of better levels of performance and data
integrity. Due to its simpler on-disk layout, it is possible to safely
perform metadata updates more efficiently.
Install
This patch adds support for the qemu-img check command. It also
introduces a dirty bit in the qed header to mark modified images as
needing a check. This bit is cleared when the image file is closed
cleanly.
If an image file is opened and it has the dirty bit set, a consistency
check will run an
Signed-off-by: Stefan Hajnoczi
---
docs/specs/qed_spec.txt | 130 +++
1 files changed, 130 insertions(+), 0 deletions(-)
create mode 100644 docs/specs/qed_spec.txt
diff --git a/docs/specs/qed_spec.txt b/docs/specs/qed_spec.txt
new file mode 100644
in
On 12/06/10 16:57, Kevin Wolf wrote:
> bdrv_delete doesn't check for NULL, so this still isn't enough. Try
> something like "qemu-img resize -f vmdx foo +0" and you'll get a segfault.
G :(
It's a bummer things are so inconsistent throughout QEMU, most of the
free() functions can handle it.
U
Am 06.12.2010 16:45, schrieb jes.soren...@redhat.com:
> From: Jes Sorensen
>
> Signed-off-by: Jes Sorensen
> ---
> qemu-img.c | 14 +-
> 1 files changed, 9 insertions(+), 5 deletions(-)
> @@ -1432,7 +1434,7 @@ static int img_resize(int argc, char **argv)
> int c, ret, relati
From: Jes Sorensen
Signed-off-by: Jes Sorensen
---
qemu-img.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index aded72d..2deac67 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -314,13 +314,15 @@ static int img_create(int argc, char
On 12/06/10 16:25, Kevin Wolf wrote:
>> }
>> n = get_option_parameter(param, BLOCK_OPT_SIZE)->value.n;
>> free_option_parameters(param);
>>
>> bs = bdrv_new_open(filename, fmt, BDRV_O_FLAGS | BDRV_O_RDWR);
>> if (!bs) {
>> -return 1;
>> +ret = -1;
>> +
Am 06.12.2010 15:25, schrieb jes.soren...@redhat.com:
> From: Jes Sorensen
>
> Hi,
>
> These patches applies a number of cleanups to qemu-img.c as well as a
> minor bug in qemu-malloc.c.
>
> The handling of block help printing is moved to shared code, which
> allows the "?" detection to happen
From: Wolfgang Schildbach
There are some bits in the code which were used to store the commandline for
the semihosting call. These bits are now write-only and can be removed.
Signed-off-by: Wolfgang Schildbach
Reviewed-by: Peter Maydell
---
bsd-user/bsdload.c |2 --
bsd-user/qemu.h
1 - 100 of 182 matches
Mail list logo