于 2012-9-18 18:10, Paolo Bonzini 写道:
Il 18/09/2012 11:01, Wenchao Xia ha scritto:
Created a new directory in tests, make chekc-libqblock will build an
executable binrary, make clean will delete it.
Signed-off-by: Wenchao Xia
---
.gitignore |1 +
Makefile
于 2012-9-18 18:10, Paolo Bonzini 写道:
Il 18/09/2012 11:01, Wenchao Xia ha scritto:
In this example, user first create two qcow2 images, and then get the
backing file relationship information of them. Then does write and read
sync IO on them.
Please use gtest so that this can be easily extens
于 2012-9-18 18:05, Paolo Bonzini 写道:
Il 18/09/2012 11:01, Wenchao Xia ha scritto:
Libqblock was placed in new directory ./libqblock, libtool will build
dynamic library there, source files of block layer remains in ./block.
So block related source code will generate 3 sets of binary, first is
With normal FP, this doesn't have much affect on the generated code,
because most of the FP operations are not CONST/PURE, and so we spill
registers in about the same frequency as the explicit load/stores.
But with Loongson multimedia instructions, which are all integral and
whose helpers are in f
On 09/18/12 22:30, Søren Sandmann wrote:
> Gerd Hoffmann writes:
>
>> +static pixman_image_t *pixman_from_displaystate(DisplayState *ds)
>> +{
>> +static pixman_image_t *pixman_from_framebuffer(void)
>> +{
> You may want to call pixman_format_supported_source/destination() here
> to ensure that
On 09/18/12 17:02, Stefano Stabellini wrote:
> On Tue, 18 Sep 2012, Gerd Hoffmann wrote:
>> Add support for scaling the guest display.
>> Ctrl-Alt-S hotkey toggles scaling.
>
> We could make sdl_zoom generic: sdl_zoom_blit doesn't actually depend on
> sdl.
I'd rather go the other way around and m
On 09/18/12 17:01, Stefano Stabellini wrote:
> On Tue, 18 Sep 2012, Gerd Hoffmann wrote:
>> Stop reinventing the wheel. Use the pixman library for raster ops.
>
> I would separate the pixmap changes from this series: either we use
> this library everywhere or nowhere. At the very least vnc could
On 09/18/12 12:31, Kevin Wolf wrote:
Am 18.09.2012 12:28, schrieb Peter Lieven:
On 09/17/12 22:12, Peter Lieven wrote:
On 09/17/12 10:41, Kevin Wolf wrote:
Am 16.09.2012 12:13, schrieb Peter Lieven:
Hi,
when trying to block migrate a VM from one node to another, the source
VM crashed with th
On 09/18/12 17:01, Stefano Stabellini wrote:
> On Tue, 18 Sep 2012, Gerd Hoffmann wrote:
>> Display works, requires truecolor framebuffer with 16 or 32 bpp on the
>> host. 32bpp is recommended. The framebuffer is used as-is, qemu
>> doesn't try to switch modes. With LCD displays mode switching i
Implements all of the COP2 instructions except for the S
family of comparisons. The documentation is unclear for those.
Signed-off-by: Richard Henderson
---
It turns out that the previous patch was totally independent of the
other 6 patches in the previous series. That said, I've pulled the
pa
Used by MIPS_DEBUG, when enabled.
Signed-off-by: Richard Henderson
Acked-by: Aurelien Jarno
---
target-mips/translate.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 52eeb2b..50153a9 100644
--- a/target-mips/translate.c
+++ b/t
The macro uses the DisasContext. Pass it around as needed.
Signed-off-by: Richard Henderson
Acked-by: Aurelien Jarno
---
target-mips/translate.c | 74 +
1 file changed, 38 insertions(+), 36 deletions(-)
diff --git a/target-mips/translate.c b/tar
this will prevent some of the compilation errors with debugging
enabled from creeping back in.
Signed-off-by: Richard Henderson
---
target-mips/translate.c | 31 +--
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/target-mips/translate.c b/target-mips/
Patch set available at
git://repo.or.cz/qemu/rth.git rth/mips/next
The third patch is updated to avoid multiple copies, as suggested.
r~
Richard Henderson (3):
target-mips: Set opn in gen_ldst_multiple.
target-mips: Fix MIPS_DEBUG.
target-mips: Always evaluate debugging macro argument
On Wed, Sep 19, 2012 at 2:32 PM, Edgar E. Iglesias
wrote:
> On Wed, Sep 19, 2012 at 02:25:48PM +1000, Peter Crosthwaite wrote:
>> Ping for PMM,
>>
>> This is the root case of your block on the SDHCI series - this is a
>> discussion on resolution to bogus infinite looping DMA. For current
>> partic
On Wed, Sep 19, 2012 at 02:25:48PM +1000, Peter Crosthwaite wrote:
> Ping for PMM,
>
> This is the root case of your block on the SDHCI series - this is a
> discussion on resolution to bogus infinite looping DMA. For current
> participants in this discussion, heres our thread on the same topic
> o
Ping for PMM,
This is the root case of your block on the SDHCI series - this is a
discussion on resolution to bogus infinite looping DMA. For current
participants in this discussion, heres our thread on the same topic
over in SD land:
http://lists.gnu.org/archive/html/qemu-devel/2012-08/msg01017.
Il 18/09/2012 11:01, Wenchao Xia ha scritto:
This patch contains type and defines used in APIs, one file for public usage
by user, one for libqblock internal usage.
Signed-off-by: Wenchao Xia
---
libqblock/libqblock-internal.h | 56 +
libqblock/libqblock-types.h| 268
The CONFIG_TCG_PASS_AREG0 code for calling ld/st helpers
was not respecting the ABI requirement for 64-bit values
being aligned in registers.
Mirror the ARM port in use of helper functions to marshal
arguments into the correct registers.
Signed-off-by: Richard Henderson
---
tcg/hppa/tcg-target.
On Wed, Sep 19, 2012 at 1:59 AM, Alexander Graf wrote:
> On 09/18/2012 07:36 PM, Alexander Graf wrote:
>>
>> On 09/03/2012 07:25 AM, Li Zhang wrote:
>>>
>>> When -usb option is used, global varible usb_enabled is set.
>>> And all the plaform will create one USB controller according
>>> to this var
On Wed, Sep 19, 2012 at 1:36 AM, Alexander Graf wrote:
> On 09/03/2012 07:25 AM, Li Zhang wrote:
>>
>> When -usb option is used, global varible usb_enabled is set.
>> And all the plaform will create one USB controller according
>> to this variable. In fact, global varibles make code hard
>> to rea
Currently, cpu_physical_memory_rw() can be used directly or indirectly
by mmio-dispatcher to access other devices' memory region. This can
cause some problem when adopting device's private lock.
Back ground refer to:
http://lists.gnu.org/archive/html/qemu-devel/2012-09/msg01481.html
For lazy, just
Neither of these functions were performing double-word
compares properly.
Signed-off-by: Richard Henderson
---
tcg/hppa/tcg-target.c | 51 ++-
1 file changed, 42 insertions(+), 9 deletions(-)
diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-targe
Please pull from
git://git.repo.or.cz/qemu/rth.git hppa-next
Tested with alpha-softmmu and i386-softmmu, both just booting
the roms. Which is farther than the instant crash of before.
r~
Richard Henderson (2):
tcg-hppa: Fix brcond2 and setcond2
tcg-hppa: Fix broken load/store helpers
From: Wen Congyang
Subject: Re: [Qemu-devel] qmp: dump-guest-memory: -p option has issues, fix it
or drop it?
Date: Wed, 19 Sep 2012 10:07:04 +0800
> At 09/19/2012 08:18 AM, Luiz Capitulino Wrote:
>> On Tue, 18 Sep 2012 16:13:30 -0500
>> Anthony Liguori wrote:
>>
>>> Markus Armbruster writes:
At 09/19/2012 08:18 AM, Luiz Capitulino Wrote:
> On Tue, 18 Sep 2012 16:13:30 -0500
> Anthony Liguori wrote:
>
>> Markus Armbruster writes:
>>
>>> Jan Kiszka writes:
>>>
* The issues discussed in this email plus the fact that the guest
memory may be corrupted, and the gues
On Tue, Sep 18, 2012 at 01:29:04PM +0200, Andreas Färber wrote:
> Am 18.09.2012 02:08, schrieb David Gibson:
> > On Mon, Sep 17, 2012 at 01:24:51PM -0500, Anthony Liguori wrote:
> >> David Gibson writes:
> >>
> >>> tcp_chr_connect(), unlike for example udp_chr_update_read_handler() does
> >>> not
These are comparison and conditional move opcodes.
See ISA, 4.3.10 for more details.
Signed-off-by: Max Filippov
---
target-xtensa/helper.h|8
target-xtensa/op_helper.c | 47 ++
target-xtensa/translate.c | 81 -
Architectures that don't have signaling NaNs can define
NO_SIGNALING_NANS, it will make float*_is_quiet_nan return 1 for any NaN
and float*_is_signaling_nan always return 0.
Signed-off-by: Max Filippov
---
fpu/softfloat-specialize.h | 67
fpu/softfl
In case Coprocessor Context option is enabled CPENABLE SR bits control
whether access to coprocessors is allowed or would rise one of
CoprocessorXDisabled exceptions.
See ISA, 4.4.5 for more details.
FP is coprocessor 0.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h |5 +
t
Luiz Capitulino writes:
> On Tue, 18 Sep 2012 16:13:30 -0500
> Anthony Liguori wrote:
>
>> Markus Armbruster writes:
>>
>> > Jan Kiszka writes:
>> >
>> >> * The issues discussed in this email plus the fact that the guest
>> >>memory may be corrupted, and the guest may be in real-
Flags passed into float{32,64}_muladd are treated as bits; assign
independent bits to float_muladd_negate_* to allow precise control over
what gets negated in float{32,64}_muladd.
Signed-off-by: Max Filippov
Reviewed-by: Aurelien Jarno
---
fpu/softfloat.h |2 +-
1 files changed, 1 insertion
These are load/store instructions for FP registers with immediate or
register index and optional base post-update.
See ISA, 4.3.10 for more details.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 58 +---
1 files changed, 54 insertions(+), 4
These are FP arithmetic opcodes.
See ISA, 4.3.10 for more details.
Signed-off-by: Max Filippov
---
target-xtensa/helper.h|7 +
target-xtensa/op_helper.c | 37 +++
target-xtensa/translate.c | 61 -
3 files changed
Signed-off-by: Max Filippov
---
target-xtensa/overlay_tool.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/target-xtensa/overlay_tool.h b/target-xtensa/overlay_tool.h
index a3a5650..e395053 100644
--- a/target-xtensa/overlay_tool.h
+++ b/target-xtensa/overlay_tool.h
@@
On 09/18/2012 02:09 PM, Alexander Graf wrote:
> Also, 102-126 are missing for me :).
Yeah, they never made it to the list. I guess next time I shouldn't
try to send to many at the same time. I should stagger them into
hunks of 25 at a time or so.
I've fixed some bugs since the v1, and I believe
On Sun, Sep 9, 2012 at 8:38 PM, Max Filippov wrote:
> On Sun, Sep 9, 2012 at 8:16 PM, Peter Maydell
> wrote:
>> On 9 September 2012 17:04, Max Filippov wrote:
>>> These are FP to integer and integer to FP conversion opcodes.
>>> See ISA, 4.3.10 for more details.
>>>
>>> Note that utrunc.s imple
These are FP to integer and integer to FP conversion opcodes.
See ISA, 4.3.10 for more details.
Note that ISA description for utrunc.s is currently incorrect and will
be fixed in future revisions.
Signed-off-by: Max Filippov
---
target-xtensa/helper.h|4 +++
target-xtensa/op_helper.c |
There are 16 32-bit FP registers (f0 - f15), control and status user
registers (fcr, fsr).
See ISA, 4.3.10 for more details.
Signed-off-by: Max Filippov
---
gdbstub.c |8 +++
target-xtensa/cpu.h |3 ++
target-xtensa/helper.h|2 +
target-xtensa/op_helper
NaN propagation rule: leftmost NaN in the expression gets propagated to
the result.
Signed-off-by: Max Filippov
---
fpu/softfloat-specialize.h |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.h
index 50b54b8..a1d48
This series implements floating point coprocessor and coprocessor context
options for xtensa and fixes a couple of bugs to make it work.
Changes v2->v3:
- add comment to the NO_SIGNALING_NANS definition
- reword explanation for UTRUNC.S
Changes v1->v2:
- add NO_SIGNALING_NANS and drop float32_may
On Tue, 18 Sep 2012 16:13:30 -0500
Anthony Liguori wrote:
> Markus Armbruster writes:
>
> > Jan Kiszka writes:
> >
> >> * The issues discussed in this email plus the fact that the guest
> >>memory may be corrupted, and the guest may be in real-mode even
> >>when paging is
On 09/18/2012 01:49 PM, Alexander Graf wrote:
> I don't have a good answer here, but how do we guarantee that we're
> not overrunning the tcg inst buffer?
Dunno. Not a new problem though, since the old code does the same thing.
r~
On 09/18/2012 01:18 PM, Alexander Graf wrote:
>> -/* remember what pgm exeption this was */
>> +/* Remember what pgm exeption this was. */
>> tmp = tcg_const_i32(code);
>> tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUS390XState, int_pgm_code));
>> tcg_temp_free_i32(tmp);
>>
On 09/18/2012 12:52 PM, malc wrote:
> case INDEX_op_shl_i32:
> if (const_args[2]) {
> +if (args[2] > 31) {
> +tcg_out_movi (s, TCG_TYPE_I32, 0, args[2]);
> +tcg_out32 (s, SLW | SAB (args[1], args[0], 0));
> +}
What's this bit fo
On Tue, Sep 18, 2012 at 11:52 PM, malc wrote:
>
> Looks like PPC/PPC64 is also hit by shift issues, on top of that xtensa
malc, could you please expand a little bit what are these shift issues?
(sounds like a modern trend, I must have missed something)
> exposed another bug in power's tcg - goto
Andreas Färber writes:
> Am 02.07.2012 14:32, schrieb Paolo Bonzini:
>> Il 26/06/2012 00:43, Anthony Liguori ha scritto:
>>> In order to create qdev objects via -late-object, we almost always have to
>>> specify the parent_bus which is usually created during machine init. Until
>>> we
>>> prope
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1052380
Title:
qemu 1.0.50-2012.03-0ubuntu2 makes ARMv6k kernels crash
Status in QEMU:
Fix Re
On 09/18/2012 05:20 PM, Eric Blake wrote:
> On 09/18/2012 12:53 PM, Jeff Cody wrote:
>> This is derived from the Supriya Kannery's reopen patches.
>>
>> This contains the raw-posix driver changes for the bdrv_reopen_*
>> functions. All changes are staged into a temporary scratch buffer
>> during t
On Tue, Sep 18, 2012 at 07:23:56AM -0700, Richard Henderson wrote:
> Implemented with setcond if the target does not provide
> the optional opcode.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/README | 6 ++
> tcg/arm/tcg-target.h | 1 +
> tcg/hppa/tcg-target.h | 1 +
>
On Tue, Sep 18, 2012 at 07:23:55AM -0700, Richard Henderson wrote:
> As recently discussed, with the optional fallback to setcond.
>
> I include a patch to target-alpha to test correctness both
> before and after implementing the opcode in the i386 backend,
> as well as in the optimizations.
>
T
On Tue, Sep 18, 2012 at 07:23:59AM -0700, Richard Henderson wrote:
> Signed-off-by: Richard Henderson
> ---
> tcg/optimize.c | 29 +
> 1 file changed, 29 insertions(+)
>
> diff --git a/tcg/optimize.c b/tcg/optimize.c
> index fba0ed9..5b0a8ce 100644
> --- a/tcg/optimiz
On Tue, Sep 18, 2012 at 07:24:00AM -0700, Richard Henderson wrote:
> While swapping constants to the second operand, swap
> sources matching destinations to the first operand.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/optimize.c | 22 +++---
> 1 file changed, 19 insertions
On Tue, Sep 18, 2012 at 07:23:58AM -0700, Richard Henderson wrote:
> Signed-off-by: Richard Henderson
> ---
> tcg/i386/tcg-target.c | 29 +
> tcg/i386/tcg-target.h | 7 ++-
> 2 files changed, 35 insertions(+), 1 deletion(-)
>
> diff --git a/tcg/i386/tcg-target.c
On Fri, 2012-09-14 at 09:37 +0200, Gerd Hoffmann wrote:
> On 09/13/12 22:12, Jason Baron wrote:
> > +if (ram_size >= 0xe000) {
> > +above_4g_mem_size = ram_size - 0xe000;
> > +below_4g_mem_size = 0xe000;
>
> We should make the hole larger to get more pci i/o address
Public bug reported:
The Linux ARM kernel commit that starts causing the issue is:
18b9dc130c33de2d1fd46bd668e67d0e1a544b16: ARM: vfp: add VFPv4 capability
detection and populate elf_hwcap
And is fixed in qemu with:
06ed5d66f77f2794344c7dfd3d21a07e97f0b8fa: ARM: Permit any ARMv6K CPU to read
th
On 09/18/2012 12:53 PM, Jeff Cody wrote:
> This is derived from the Supriya Kannery's reopen patches.
>
> This contains the raw-posix driver changes for the bdrv_reopen_*
> functions. All changes are staged into a temporary scratch buffer
> during the prepare() stage, and copied over to the live
On Mon, Sep 17, 2012 at 03:36:46PM +0200, Laurent Desnogues wrote:
> On Mon, Sep 17, 2012 at 11:43 AM, Peter Maydell
> wrote:
> > On 17 September 2012 10:30, Laurent Desnogues
> > wrote:
> >> On Mon, Sep 17, 2012 at 1:08 AM, Aurelien Jarno
> >> wrote:
> >>> +#define GEN_SHIFT(name)
Hans de Goede writes:
> Hi,
>
> On 09/17/2012 11:18 AM, Jan Kiszka wrote:
>> On 2012-09-17 11:08, Hans de Goede wrote:
>
>
>
>>> Although not pretty I'm ok with this, since I actually want to add
>>> similar code to allow usb-3 (superspeed) devices like a usb-3 usb-stick
>>> to work with ehci or
Markus Armbruster writes:
> Jan Kiszka writes:
>
>> * The issues discussed in this email plus the fact that the guest
>>memory may be corrupted, and the guest may be in real-mode even
>>when paging is enabled
>>
>
> Yes, there are some limitations with this optio
On 09/18/2012 11:08 PM, Alexander Graf wrote:
On 09/09/2012 11:04 PM, Richard Henderson wrote:
As promised the other week. I've cleaned up the patch set and
re-based it on Blueswirl's areg0 patch set. For reference, the
entire patch set is available at
git://repo.or.cz/qemu/rth.git rth/s39
Anthony Liguori writes:
> Gerd Hoffmann writes:
>
>> Stop reinventing the wheel. Use the pixman library for raster ops.
>>
>> Signed-off-by: Gerd Hoffmann
>
> Why not cairo? I already have a cairo backend that uses GTK that
> supports scaling. That would be a good opportunity for sharing eve
On 09/09/2012 11:04 PM, Richard Henderson wrote:
As promised the other week. I've cleaned up the patch set and
re-based it on Blueswirl's areg0 patch set. For reference, the
entire patch set is available at
git://repo.or.cz/qemu/rth.git rth/s390-reorg-3
Testing has mostly been on the gcc t
On 09/11/2012 11:09 PM, Richard Henderson wrote:
On 09/11/2012 12:11 PM, Blue Swirl wrote:
PSW_MASK_64 bit could be added to TB flags and that could be checked
during translation, then the mask needs to be applied only when the
mode is active. Whether that actually improves performance depends o
On 09/18/2012 03:46 PM, Peter Maydell wrote:
> On 17 September 2012 21:08, Francesco Lavra
> wrote:
>> This patch adds modelling of the two NOR flash banks found on the
>> Versatile Express motherboard. Tested with U-Boot running on an emulated
>> Versatile Express, with either A9 or A15 CoreTile
The operations for INDEX_op_deposit_i32 and INDEX_op_deposit_i64
are now supported and enabled by default.
Signed-off-by: Stefan Weil
---
This is a 2nd implementation of the deposit operations.
It differs from the previous patch only in the interpreter part
which uses functions deposit32, deposi
On 09/09/2012 11:05 PM, Richard Henderson wrote:
The code that was in gen_op_mvc was a bit confused wrt what lengths
it wanted to handle. I also disbelieve that the inline memset is
worthwhile.
I measured it back when I inlined it and I'm fairly sure I remember
significant speedups from it. C
The operations for INDEX_op_deposit_i32 and INDEX_op_deposit_i64
are now supported and enabled by default.
Signed-off-by: Stefan Weil
---
The interpreter code for INDEX_op_deposit_i64 was buggy in v1 of this patch.
There is also an alternate implementation of the interpreter part which is
based
On 09/09/2012 11:05 PM, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
target-s390x/insn-data.def | 14
target-s390x/translate.c | 191 -
2 files changed, 116 insertions(+), 89 deletions(-)
diff --git a/target-s390x/insn-dat
Support for helper functions with 5 arguments was missing
in the code generator and in the interpreter.
There is no need to pass the constant TCG_AREG0 from the
code generator to the interpreter. Remove that code for
the INDEX_op_qemu_st* opcodes.
Signed-off-by: Stefan Weil
---
This patch is al
timerfd is a new(ish) mechanism provided in the 2.6.25+ Linux kernels that
allows for a high resolution event timer signaled through a file descriptor.
This patch adds an alarm timer implementation using timerfd.
timerfd has a couple advantages over dynticks. Namely, it's fd based instead
of sign
From: Corey Minyard
Signed-off-by: Corey Minyard io_length = 3;
memory_region_init_io(&s->io, &ipmi_bt_io_ops, bt, "ipmi-bt", 3);
+vmstate_register(NULL, 0, &vmstate_ipmi_bt, bt);
return 0;
}
diff --git a/hw/ipmi_extern.c b/hw/ipmi_extern.c
index b31aea0..803331c 100644
--- a/h
From: Corey Minyard
This provides the base infrastructure to tie IPMI low-level
interfaces into a PC ISA bus.
Signed-off-by: Corey Minyard
---
default-configs/i386-softmmu.mak |1 +
default-configs/x86_64-softmmu.mak |1 +
hw/Makefile.objs |1 +
hw/fw_cfg.h
From: Corey Minyard
This provides the simulation of the BT hardware interface for
IPMI.
Signed-off-by: Corey Minyard
---
default-configs/i386-softmmu.mak |1 +
default-configs/x86_64-softmmu.mak |1 +
hw/Makefile.objs |1 +
hw/ipmi_bt.c |
From: Corey Minyard
The chardev backends that used qemu_chr_open_fd did not get their
file descriptors closed at end of file or when the chardev was closed.
This could result in a file descriptor leak.
Signed-off-by: Corey Minyard
---
qemu-char.c | 31 +--
1 files
Gerd Hoffmann writes:
> +static pixman_image_t *pixman_from_displaystate(DisplayState *ds)
> +{
> +PixelFormat *pf = &ds->surface->pf;
> +pixman_format_code_t format;
> +pixman_image_t *image;
> +int type;
> +
> +type = pixman_shifts_to_type(pf->rshift, pf->gshift, pf->bshift)
From: Corey Minyard
This adds an interface for IPMI that connects to a remote
BMC over a chardev (generally a TCP socket). The OpenIPMI
lanserv simulator describes this interface, see that for
interface details.
Signed-off-by: Corey Minyard
---
default-configs/i386-softmmu.mak |1 +
def
From: Corey Minyard
Add the basic IPMI types and infrastructure to QEMU. Low-level
interfaces and simulation interfaces will register with this; it's
kind of the go-between to tie them together.
Signed-off-by: Corey Minyard
---
default-configs/i386-softmmu.mak |1 +
default-configs/x86_
From: Corey Minyard
This allocates the CharDriverState structure in a more logical place.
It reduces code size and it allows a coming option to automatically
attempt to reconnect a chardev if the connection fails.
Signed-off-by: Corey Minyard
---
console.c |6 +---
console.h
From: Corey Minyard
Test the KCS interface with a local BMC and a BT interface with an
external BMC.
Signed-off-by: Corey Minyard
---
tests/Makefile|4 +
tests/ipmi-test-bt.c | 440 +
tests/ipmi-test-kcs.c | 295 +++
On Mon, 27 Aug 2012 17:00:24 +0200
Paolo Bonzini wrote:
> At the HMP level there is no nbd_server_add command. nbd_server_start
> automatically exposes all of the VM's block devices, and an option -w
> makes them writable.
>
> Signed-off-by: Paolo Bonzini
> ---
> hmp-commands.hx | 29
On 09/18/12 11:05, Eduardo Habkost wrote:
On Tue, Sep 18, 2012 at 10:49:52AM -0400, Don Slutz wrote:
From http://lkml.indiana.edu/hypermail/linux/kernel/1205.0/00100.html
EAX should be KVM_CPUID_FEATURES (0x4001) not 0.
---
target-i386/kvm.c |2 +-
1 files changed, 1 insertions(+), 1
Rather than check for a non-NULL aligned_buf to determine if
raw_aio_submit needs to check for alignment, check for the presence
of BDRV_O_NOCACHE in the bs->open_flags.
Signed-off-by: Jeff Cody
---
block/raw-posix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/raw-p
On 09/09/2012 11:04 PM, Richard Henderson wrote:
Make the user path more like the system path. Prepare for more kinds
of runtime exceptions. Compute ILC from S->NEXT_PC, rather than
passing it around.
Signed-off-by: Richard Henderson
---
linux-user/main.c | 133 +---
From: Corey Minyard
This will result in a double free on close, because it's freed
in qemu_chr_delete() right after calling the close function.
Signed-off-by: Corey Minyard
---
qemu-char.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index
From: Corey Minyard
This provides the simulation of the KCS hardware interface.
Signed-off-by: Corey Minyard
---
default-configs/i386-softmmu.mak |1 +
default-configs/x86_64-softmmu.mak |1 +
hw/Makefile.objs |1 +
hw/ipmi_kcs.c | 342
From: Corey Minyard
The timers may be used in initialization, so move them earlier so they
are ready. A reconnect options will be added to qemu-char, and it uses
a timer, but the timer alarm wasn't initialized yet.
Signed-off-by: Corey Minyard
---
vl.c | 10 +-
1 files changed, 5 in
On Mon, 27 Aug 2012 17:00:22 +0200
Paolo Bonzini wrote:
> Adding an NBD server inside QEMU is trivial, since all the logic is
> in nbd.c and can be shared easily between qemu-nbd and QEMU itself.
> The main difference is that qemu-nbd serves a single unnamed export,
> while QEMU serves named expo
From: Corey Minyard
This provides a minimal local BMC, basically enough to comply with the
spec and provide a complete watchdog timer (including a sensor, SDR,
and event).
Signed-off-by: Corey Minyard
---
default-configs/i386-softmmu.mak |1 +
default-configs/x86_64-softmmu.mak |1 +
From: Corey Minyard
Add some basic documentation for the IPMI device.
Signed-off-by: Corey Minyard
---
qemu-options.hx | 35 +++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index d60af6a..748758b 100644
---
From: Corey Minyard
Allow a socket that connects to reconnect on a periodic basis if it
fails to connect at startup or if the connection drops while in use.
Signed-off-by: Corey Minyard
---
qemu-char.c | 62 ++
qemu-char.h |4 ++
From: Corey Minyard
When setting an object, if you don't release the previous object
that was there, it may become unusable. This change allows a
chardev to be removed from one object's properties and added to
another's.
Signed-off-by: Corey Minyard
Acked-by: Paolo Bonzini
---
qom/object.c |
From: Corey Minyard
When an open event is reported, it is done through a bh. But close
events are reported immediately. So if an open event is in the bh
and a close occurs, an extraneous open happens, which can confuse a
user.
To fix this, this patch sets the "opened" flag immediately instead
I haven't pushed on the SEABIOS changes for IPMI, and the changes for
qemu for BIOS support are quite small, anyway. So I've separated out
those changes; here's the driver without BIOS table support.
-corey
Code motion, to move parsing of open flags into a helper function.
Signed-off-by: Jeff Cody
---
block/raw-posix.c | 38 --
block/raw-win32.c | 43 +++
2 files changed, 47 insertions(+), 34 deletions(-)
diff --git a/bloc
The keep_read_only flag is no longer used, in favor of the bdrv
flag BDRV_O_ALLOW_RDWR.
Signed-off-by: Jeff Cody
---
block.c | 2 --
block_int.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/block.c b/block.c
index ebdbf61..5db1df1 100644
--- a/block.c
+++ b/block.c
@@ -808,8 +808,6 @
This is based on Supriya Kannery's bdrv_reopen() patch series.
This provides a transactional method to reopen multiple
images files safely.
Image files are queue for reopen via bdrv_reopen_queue(), and the
reopen occurs when bdrv_reopen_multiple() is called. Changes are
staged in bdrv_reopen_pre
sorry, currently I'm busy and there's too much time gone, that I can
check the things in a quick way. I'll try it, when I'm less busy, but
this will probably take some weeks...
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://b
These are the stubs for the file reopen drivers for the qcow2 format.
There is currently nothing that needs to be done by the qcow2 driver
in reopen.
Signed-off-by: Jeff Cody
---
block/qcow2.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/block/qcow2.c b/block/qcow2.c
index 8f
Looks like PPC/PPC64 is also hit by shift issues, on top of that xtensa
exposed another bug in power's tcg - gototb's target was expected to be
always filled via tb_set_jmp_target (even though it's clearly not what
tcg/README prescribes, sorry about that).
Thanks to Max Filippov for pointing to
1 - 100 of 261 matches
Mail list logo