On Mon, 28 Apr 2014 13:52:48 +0200
Kevin Wolf wrote:
> Am 28.04.2014 um 12:56 hat Peter Maydell geschrieben:
> > QEMU tends to have rather a lot of half-finished API or coding style
> > transitions, as an inevitable consequence of our having such a large
> > code base with wildly varying levels o
Public bug reported:
I use alsa directly or via pulseaudio on qemu.
And I use xmms2 as well as qemu.
When I use alsa, one of xmms2 or qemu can play sound.
When I use pulseaudio with qemu and pulseaudio -k, and pulseaudio --start,
qemu can't play sound.
I think that:
- qemu should open sound devi
On 15 April 2014 04:18, Peter Crosthwaite wrote:
> Add support for 16, 32 and 64 bit width FIFOs. The push and pop
> functions are replicated to accept all four different integer types.
> The element width of the FIFO is set at creation time.
>
> The backing storage for all element types is still
On 24 April 2014 14:04, Andreas Färber wrote:
> Invented by Anthony. Maintained through my qom-next tree lately.
>
> Cc: Anthony Liguori
> Cc: Paolo Bonzini
> Signed-off-by: Andreas Färber
Acked-by: Peter Maydell
Are you going to put this in your qom tree or did
you want me to apply it direc
On 10 April 2014 12:46, Pranavkumar Sawargaonkar wrote:
> Recentely patches have been posted for in-kernel emulation of PSCI v0.2
> http://www.spinics.net/lists/arm-kernel/msg305467.html
> This patchset adds the QEMU side changes for providing PSCI v0.2 to VM.
>
> ChangeLog:
>
> V3:
> - Rebase th
Am 28.04.2014 19:03, schrieb Peter Maydell:
> On 24 April 2014 14:04, Andreas Färber wrote:
>> Invented by Anthony. Maintained through my qom-next tree lately.
>>
>> Cc: Anthony Liguori
>> Cc: Paolo Bonzini
>> Signed-off-by: Andreas Färber
>
> Acked-by: Peter Maydell
>
> Are you going to put
On 04/28/2014 09:18 AM, Peter Lieven wrote:
> depending on the target the opt_unmap_gran might be as low
> as 4K. As we know use this also as a knob to activate the allocationmap
s/know/now/
> feature lower the barrier. The limit 4K (and not 512) is choosen
> to avoid a potentially too big alloca
Commit 0f842f8a246f2b5b51a11c13f933bf7a90ae8e96 replaced GETPC_EXT() which
was derived from GETPC() by GETRA_EXT() without fixing cputlb.c. A later
patch replaced GETRA_EXT() by GETRA() in exec/softmmu_template.h which
is included in cputlb.c.
The TCG interpreter failed because the values returned
On 04/28/2014 10:20 AM, Stefan Weil wrote:
> Commit 0f842f8a246f2b5b51a11c13f933bf7a90ae8e96 replaced GETPC_EXT() which
> was derived from GETPC() by GETRA_EXT() without fixing cputlb.c. A later
> patch replaced GETRA_EXT() by GETRA() in exec/softmmu_template.h which
> is included in cputlb.c.
>
>
On 22 April 2014 19:18, Michael Walle wrote:
> Intercept certain system calls if semihosting is enabled. This should
> behave like the GDB simulator.
> @@ -608,8 +609,20 @@ static void dec_scall(DisasContext *dc)
> break;
> case 7:
> LOG_DIS("scall\n");
> -tcg_gen_mo
On 22 April 2014 19:18, Michael Walle wrote:
> As discussed earlier this year, the lm32-sys device is a hack. Therefore,
> this patchset adds semihosting support for the lm32 target and make the
> tcg tests use it. The last patch finally removes the lm32-sys device.
>
> If no one has any comments
Hi,
I'm trying to figure out what the current status is for cpu hotplug and
hot-remove on x86_64.
As far as I can tell, it seems like currently there is a QMP "cpu-add"
command but no matching remove...is that correct?
At "http://wiki.qemu.org/Features/CPUHotplug"; I found mention of "CPU
Am 2014-04-28 19:27, schrieb Peter Maydell:
On 22 April 2014 19:18, Michael Walle wrote:
Intercept certain system calls if semihosting is enabled. This should
behave like the GDB simulator.
@@ -608,8 +609,20 @@ static void dec_scall(DisasContext *dc)
break;
case 7:
LOG_DI
Am 28.04.2014 11:04, schrieb Paolo Bonzini:
> Il 24/04/2014 15:04, Andreas Färber ha scritto:
>> Invented by Anthony. Maintained through my qom-next tree lately.
>>
>> Cc: Anthony Liguori
>> Cc: Paolo Bonzini
>> Signed-off-by: Andreas Färber
>> ---
>> MAINTAINERS | 10 ++
>> 1 file chan
Am 28.04.2014 19:24, schrieb Richard Henderson:
> On 04/28/2014 10:20 AM, Stefan Weil wrote:
>> Commit 0f842f8a246f2b5b51a11c13f933bf7a90ae8e96 replaced GETPC_EXT() which
>> was derived from GETPC() by GETRA_EXT() without fixing cputlb.c. A later
>> patch replaced GETRA_EXT() by GETRA() in exec/sof
On Mon, 28 Apr 2014 17:46:41 +0200
Paolo Bonzini wrote:
> Il 28/04/2014 09:02, Amos Kong ha scritto:
> > def mcgen(code, **kwds):
> > -return cgen('\n'.join(code.split('\n')[1:-1]), **kwds)
> > +raw = cgen('\n'.join(code.split('\n')[1:-1]), **kwds)
> > +return re.sub(re.escape(eatspa
On 04/28/2014 11:24 AM, Andreas Färber wrote:
> No objections and not too familiar with that part of code myself -
> suggest you take it through your tcg tree if no one else objects.
Ok, will do.
r~
This allows qemu-img to print out version information, without
needing to print the long help wall of text.
While there, perform some minor whitespace cleanup, and remove the
unused option_index variable in the call to getopt_long().
Reported-by: Eric Blake
Signed-off-by: Jeff Cody
---
qemu-im
ble in the git repository at:
git://github.com/rth7680/qemu.git tags/tcg-sparc-pull-20140428
for you to fetch changes up to ebd0c614d77898741c1ec70b5c5ca3f263253da3:
tcg-sparc: Accept stores of zero (2014-04-28 11:06:35 -0700)
On Mon, Mar 24, 2014 at 10:34:44PM -0500, Joel Fernandes wrote:
> Loading kernel at offset 0x1 works only for zImage, but not for Image,
> because the kernel expect the start of decompressed kernel (.head.text) to be
> at an address that's a distance that's 16MB aligned from PAGE_OFFSET +
> TE
On Mon, Apr 28, 2014 at 05:35:38PM +0300, Michael S. Tsirkin wrote:
> I'll play around once I get the password.
> From what I've seen so far,
> I'm not sure it's the right server to use for security :(
I did some more reseach and savannah does not seem to support any
encryption for its lists: neit
ping?
On Tue, Mar 25, 2014 at 10:27:19AM -0300, Leandro Dorileo wrote:
> Cover basic aspects and API usage for QemuOpt. The current implementation
> covers the API's planned to be changed by Chunyan Liu in his
> QEMUOptionParameter
> replacement/cleanup job.
>
> Other APIs should be covered in
Am 28.04.2014 20:55, schrieb Leandro Dorileo:
> ping?
>
>
> On Tue, Mar 25, 2014 at 10:27:19AM -0300, Leandro Dorileo wrote:
>> Cover basic aspects and API usage for QemuOpt. The current implementation
>> covers the API's planned to be changed by Chunyan Liu in his
>> QEMUOptionParameter
>> repl
On 04/28/2014 12:37 PM, Jeff Cody wrote:
> This allows qemu-img to print out version information, without
> needing to print the long help wall of text.
>
> While there, perform some minor whitespace cleanup, and remove the
> unused option_index variable in the call to getopt_long().
>
> Reported
Il 28/04/2014 17:46, Eduardo Habkost ha scritto:
So I couldn't indeed think of uses of "-cpu host" together with
migration. But if you're sure there is none, block it in QEMU.
There's no reason why this should be specific to libvirt.
It's not that there are no useful use cases, it is that we s
Il 28/04/2014 20:07, Andreas Färber ha scritto:
> Acked-by: Paolo Bonzini
Thanks. Note that I have excluded qom-qobject.[hc] here, which I have
never touched or reviewed and carries your authorship. Maybe add it to
the QAPI entry?
object_interfaces.c has neither license header nor copyright, w
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
tcg/tcg.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/tcg/tcg.h b/tcg/tcg.h
index a6a2d06..d38c92d 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -724,6 +724,51 @@ TCGv_i32 tcg_const
And use tcg pointer differencing functions as appropriate.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
tcg/ppc/tcg-target.c | 195 ---
tcg/ppc/tcg-target.h | 1 +
2 files changed, 94 insertions(+), 102 deletions(-)
diff --gi
And use tcg pointer differencing functions as appropriate.
Cc: Peter Maydell
Signed-off-by: Richard Henderson
---
tcg/arm/tcg-target.c | 150 +++
tcg/arm/tcg-target.h | 1 +
2 files changed, 55 insertions(+), 96 deletions(-)
diff --git a/tcg/ar
Changes v2-v3:
* Make more use, where appropriate, of normal pointer arithmetic under
the new type. In particular, if the target previously computed
(label - code_ptr) >> 2
using byte arithmetic, we can now arrange for this to be just
label - code_ptr
with
Am 28.04.2014 21:11, schrieb Paolo Bonzini:
> Il 28/04/2014 20:07, Andreas Färber ha scritto:
>>> > Acked-by: Paolo Bonzini
>> Thanks. Note that I have excluded qom-qobject.[hc] here, which I have
>> never touched or reviewed and carries your authorship. Maybe add it to
>> the QAPI entry?
>>
>> ob
From: Peter Maydell
The code which patches x86 jump instructions assumes it can do an
unaligned write of a uint32_t. This is actually safe on x86, but it's
still undefined behaviour. We have infrastructure for doing efficient
unaligned accesses which doesn't engage in undefined behaviour, so
use
From: Peter Maydell
Avoid stores to unaligned addresses in TCG code generation, by using the
usual memcpy() approach. (Using bswap.h would drag a lot of QEMU baggage
into TCG, so it's simpler just to do direct memcpy() here.)
Reviewed-by: Alex Bennée
Signed-off-by: Peter Maydell
Signed-off-by:
And use tcg pointer differencing functions as appropriate.
Cc: Claudio Fontana
Signed-off-by: Richard Henderson
---
tcg/aarch64/tcg-target.c | 121 ---
tcg/aarch64/tcg-target.h | 1 +
2 files changed, 53 insertions(+), 69 deletions(-)
diff --git a/
The test_path binary is (unlike the other test binaries in tests/tcg)
actually intended to be compiled with the same compiler used to build
the main QEMU executables. It actually #includes a number of the
QEMU source files in an attempt to unit-test the util/path.c functions,
and so if it is not co
And use tcg pointer differencing functions as appropriate.
Signed-off-by: Richard Henderson
---
tcg/s390/tcg-target.c | 91 ---
tcg/s390/tcg-target.h | 2 ++
2 files changed, 45 insertions(+), 48 deletions(-)
diff --git a/tcg/s390/tcg-target.c b/
Paolo Bonzini writes:
> Il 28/04/2014 09:02, Amos Kong ha scritto:
>> def mcgen(code, **kwds):
>> -return cgen('\n'.join(code.split('\n')[1:-1]), **kwds)
>> +raw = cgen('\n'.join(code.split('\n')[1:-1]), **kwds)
>> +return re.sub(re.escape(eatspace) + ' +', '', raw)
>
> I'd feel a li
Il 28/04/2014 21:29, Andreas Färber ha scritto:
Am 28.04.2014 21:11, schrieb Paolo Bonzini:
Il 28/04/2014 20:07, Andreas Färber ha scritto:
Acked-by: Paolo Bonzini
Thanks. Note that I have excluded qom-qobject.[hc] here, which I have
never touched or reviewed and carries your authorship. Mayb
On Mon, Apr 28, 2014 at 09:06:42PM +0200, Paolo Bonzini wrote:
> Il 28/04/2014 17:46, Eduardo Habkost ha scritto:
> >>So I couldn't indeed think of uses of "-cpu host" together with
> >>migration. But if you're sure there is none, block it in QEMU.
> >>There's no reason why this should be specific
On 28 April 2014 20:35, Peter Maydell wrote:
> --- a/tests/tcg/Makefile
> +++ b/tests/tcg/Makefile
> @@ -81,10 +81,10 @@ run-test_path: test_path
> # rules to compile tests
>
> test_path: test_path.o
> - $(CC_I386) $(LDFLAGS) -o $@ $^ $(LIBS)
> + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
>
>
28.04.2014 19:00, Mike Day wrote:
> When the deprecated -nographic option is used with the -mon option in
> readline mode, qemu will create a second character device for stdio
> and place it over the stdio chardev put into place by the -mon
> option. This causes the terminal to stop echoeing charac
And use tcg pointer differencing functions as appropriate.
Cc: Aurelien Jarno
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c | 116 --
tcg/mips/tcg-target.h | 1 +
2 files changed, 37 insertions(+), 80 deletions(-)
diff --git a/tcg/
And use tcg pointer differencing functions as appropriate.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
tcg/sparc/tcg-target.c | 128 +++--
tcg/sparc/tcg-target.h | 1 +
2 files changed, 60 insertions(+), 69 deletions(-)
diff --g
On Mon, Apr 28, 2014 at 3:53 PM, Michael Tokarev wrote:
> Gosh. This is uuugly.
>
> Maybe, at least, we can add some variable which gets incremented for
> each -mon chardev= ? I dunno, that's about the same ugliness. Oh
> well... :(
Suggestions much appreciated, I think its ugly versus intr
From: Peter Maydell
To avoid C undefined behaviour when patching generated code,
provide wrappers tcg_patch8/16/32/64 which use the usual memcpy
trick, and use them in the i386 backend.
Reviewed-by: Alex Bennée
Signed-off-by: Peter Maydell
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-ta
Using a 16-byte aligned structure achieves best results, both for code
cleanliness and compiled code size. However, this means that we can't
use the trick of encoding the slot number into the low 2 bits.
Thankfully, we only ever use slot2, so make that explicit in the names
of the relocation func
To be defined by the tcg backend based on the elemental unit of the ISA.
During the transition, allow TCG_TARGET_INSN_UNIT_SIZE to be undefined,
which allows us to default tcg_insn_unit to the current uint8_t.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
include/exec/exec-all
Now that all backends do define TCG_TARGET_INSN_UNIT_SIZE,
remove the fallback definition.
Signed-off-by: Richard Henderson
---
tcg/tcg.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tcg/tcg.h b/tcg/tcg.h
index a3fb88c..4f4b1fa 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@
And use tcg pointer differencing functions as appropriate.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.c | 48
tcg/i386/tcg-target.h | 2 ++
2 files changed, 26 insertions(+), 24 deletions(-)
diff --git a
I got a private branch getting rid of it entirely. This is the fifth
part, covering QMP and the guest agent up to the point where I start
messing with the QAPI code generators. That's left for the final
part.
Luiz agreed to take this through his tree.
v2:
- Rebased, straightforward conflict in
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
---
include/qapi/error.h | 27 ---
util/error.c | 8
2 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/include/qapi/error.h b/include/qapi/error.h
index c0f0c3b..7995801 100644
--- a
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
---
qga/commands-posix.c | 209 ++-
qga/commands-win32.c | 115 ++--
qga/commands.c | 4 +-
qga/vss-win32.c | 4 +-
qga/vss-win32.h | 2 +-
5 fil
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
---
qga/commands-posix.c | 10 +-
qga/commands-win32.c | 10 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index e49c7da..f6af7d1 100644
--- a/qga/commands-p
In qmp_dump_guest_memory(), the error must be clear on entry, and we
always bail out after setting it, directly or via dump_init().
Therefore, both error_is_set() are always false. Drop them.
DumpState member errp is now write-only. Drop it, too.
Signed-off-by: Markus Armbruster
Reviewed-by: E
Using error_is_set(ERRP) to find out whether to bail out due to
previous error is either wrong, fragile, or unnecessarily opaque.
It's wrong when ERRP may be null, because errors go undetected when it
is. It's fragile when proving ERRP non-null involves a non-local
argument. Else, it's unnecessar
Using error_is_set(ERRP) to find out whether a function failed is
either wrong, fragile, or unnecessarily opaque. It's wrong when ERRP
may be null, because errors go undetected when it is. It's fragile
when proving ERRP non-null involves a non-local argument. Else, it's
unnecessarily opaque (see
acquire_privilege(), execute_async() and check_suspend_mode() do
nothing when called with an error set. Callers shouldn't do that, and
no caller does. Drop the superfluous tests.
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
---
qga/commands-win32.c | 10 --
1 file changed,
Using error_is_set(ERRP) to find out whether a function failed is
either wrong, fragile, or unnecessarily opaque. It's wrong when ERRP
may be null, because errors go undetected when it is. It's fragile
when proving ERRP non-null involves a non-local argument. Else, it's
unnecessarily opaque (see
do_qmp_dispatch()'s test for qmp_dispatch_check_obj() failure examines
both the return value and the error object. The latter part is
unclean; it works only when do_qmp_dispatch()'s caller passes a
non-null errp argument. That's the case, but it's not locally
obvious. Unclean.
Cleanup would be
On Fri, Apr 25, 2014 at 07:47:09PM -0300, Marcelo Tosatti wrote:
>
> Check vmsd for unmigratable field, allowing migratibility status
> to be modified after vmstate_register.
>
> Signed-off-by: Marcelo Tosatti
>
> diff --git a/savevm.c b/savevm.c
> index 22123be..61a25c0 100644
> --- a/savevm.c
visit_type_TestStruct() does nothing when called with an error set.
Callers shouldn't do that, and no caller does. Drop the superfluous
test.
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
---
tests/test-qmp-input-visitor.c | 25 -
1 file changed, 12 insertion
Using error_is_set(errp) to check whether a function call failed is
fragile: it breaks when errp is null. ga_get_fd_handle() and
guest_file_handle_add() don't return a useful value when they fail,
but that's just stupid. Fix that, and check them instead. As far
as I can tell, errp can't be null
And use tcg pointer differencing functions as appropriate.
Cc: Stefan Weil
Signed-off-by: Richard Henderson
---
tcg/tci/tcg-target.c | 19 +--
tcg/tci/tcg-target.h | 1 +
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c
Using error_is_set(errp) that way can sweep programming errors under
the carpet when we get called incorrectly with an error set.
encrypted_bdrv_it() does it, because there's no way to make
bdrv_iterate() break its loop. Actually safe, because qmp_cont()
clears the error before the loop. Clean i
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
---
qmp.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/qmp.c b/qmp.c
index 74107be..ee8357f 100644
--- a/qmp.c
+++ b/qmp.c
@@ -41,7 +41,7 @@ NameInfo *qmp_query_name(Error **errp)
return info;
Am 28.04.2014 21:35, schrieb Peter Maydell:
> The test_path binary is (unlike the other test binaries in tests/tcg)
> actually intended to be compiled with the same compiler used to build
> the main QEMU executables. It actually #includes a number of the
> QEMU source files in an attempt to unit-te
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
---
docs/writing-qmp-commands.txt | 28
hmp.c | 138 ++---
include/qapi/qmp/dispatch.h| 2 +-
qapi/qmp-dispatch.c| 6 +-
tests/test-qmp
Null errp argument makes no sense. Assert it's not null, to make this
explicit, and guard against misuse. All current callers pass non-null
errp.
Signed-off-by: Markus Armbruster
Reviewed-by: Eric Blake
---
hmp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hmp.c b/hm
And use tcg pointer differencing functions as appropriate.
Signed-off-by: Richard Henderson
---
tcg/ppc64/tcg-target.c | 164 -
tcg/ppc64/tcg-target.h | 1 +
2 files changed, 81 insertions(+), 84 deletions(-)
diff --git a/tcg/ppc64/tcg-target.c
Hi Andreas,
On Mon, Apr 28, 2014 at 09:02:12PM +0200, Andreas Färber wrote:
> Am 28.04.2014 20:55, schrieb Leandro Dorileo:
> > ping?
> >
> >
> > On Tue, Mar 25, 2014 at 10:27:19AM -0300, Leandro Dorileo wrote:
> >> Cover basic aspects and API usage for QemuOpt. The current implementation
> >> c
Some block drivers have multiple BlockDriver instances with identical
format_name fields (e.g. gluster, nbd).
Both qemu-img and qemu will use bdrv_iterate_format() to list the
supported formats when a help option is invoked. As protocols and
formats may register multiple drivers, redundant listin
Signed-off-by: Hani Benhabiles
Suggested-by: Andreas Färber
---
qmp.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/qmp.c b/qmp.c
index 74107be..0d49abf 100644
--- a/qmp.c
+++ b/qmp.c
@@ -199,7 +199,10 @@ ObjectPropertyInfoList *qmp_qom_list(const char *path,
Error **e
On Tue, Apr 29, 2014 at 12:54 AM, Peter Maydell
wrote:
> On 28 April 2014 01:45, Peter Crosthwaite
> wrote:
>> Implement named GPIOs on the Device layer. Listifies the existing GPIOs
>> stuff using string keys. Legacy un-named GPIOs are preserved by using
>> a NULL name string - they are just a
On 04/25/2014 04:11 PM, Fedor Lyakhov wrote:
> New module dhcp_vendopt.c provides translate_dhcp_vendopt() function to
> convert
> command-line DHCP vendor option string into internal DHCP TLV (tag-length-
> value) uint8_t buffer. The buffer is stored in global Slirp instance.
>
> Signed-off-by:
On 04/25/2014 04:11 PM, Fedor Lyakhov wrote:
> Signed-off-by: Fedor Lyakhov
> ---
> qemu-options.hx | 16 +---
> 1 file changed, 13 insertions(+), 3 deletions(-)
> +"
> [,hostname=host][,dhcpstart=addr][,dns=addr][,dhcpvendopt=optstring]\n"
>
> +@item dhcpvendopt=@var
Yes, sure. No problem.
On Tue, Apr 29, 2014 at 3:56 AM, Eric Blake wrote:
> On 04/25/2014 04:11 PM, Fedor Lyakhov wrote:
>> New module dhcp_vendopt.c provides translate_dhcp_vendopt() function to
>> convert
>> command-line DHCP vendor option string into internal DHCP TLV (tag-length-
>> value) u
Hi Edgar,
Small mixed bag of Microblaze patches that are in my tree.
Regards,
Peter
Edgar E. Iglesias (2):
microblaze: Respect the reset vector
microblaze: Support loading of u-boot initrd images
Peter Crosthwaite (1):
microblaze: boot: Don't hack the elf entry point
hw/microblaze/boo
From: "Edgar E. Iglesias"
Signed-off-by: Edgar E. Iglesias
Signed-off-by: Peter Crosthwaite
---
target-microblaze/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c
index 8e04811..0379f2b 100644
--- a/target-microblaze/cpu.c
+++ b/tar
There was some modulo logic to ensure that Microblaze always booted into
physical RAM regardless of the elf entry. Removed it, as QEMU should fail
gracefully when given a bad elf, rather than attempt to run it.
Signed-off-by: Peter Crosthwaite
---
hw/microblaze/boot.c | 2 +-
1 file changed, 1
From: "Edgar E. Iglesias"
As was done for ARM recently in commit
fd76663e3fe59dc7f7d5c439561b74f472727137.
Signed-off-by: Edgar E. Iglesias
[ PC Changes:
* Expanded commit message
]
Signed-off-by: Peter Crosthwaite
---
hw/microblaze/boot.c | 7 ---
1 file changed, 4 insertions(+), 3 del
Amos Kong writes:
> Current hwrng core supports to register multiple hwrng devices,
> and there is only one device really works in the same time.
> QEMU alsu supports to have multiple virtio-rng backends.
>
> This patch changes virtio-rng driver to support multiple
> virtio-rng devices.
I never t
hi all,
I'm trying to run windows 2012 R2 datacenter as a virtual domain with
qemu-kvm virtualization architecture which running on HP DL580G7 server, but,
unfortunately,it seems to get poor performance, with a total score of 90 tested
by passmark version 8 which I downloaded from link
htt
hi all,
I'm trying to run windows 2012 R2 datacenter as a virtual domain with
qemu-kvm virtualization architecture which running on HP DL580G7 server, but,
unfortunately,it seems to get poor performance, with a total score of 90 tested
by passmark version 8 which I downloaded from link
htt
Hi,
> -Original Message-
> From: Gerd Hoffmann [mailto:kra...@redhat.com]
> Sent: Monday, April 28, 2014 9:35 PM
> To: Gonglei (Arei)
> Cc: qemu-devel@nongnu.org; Huangweidong (C)
> Subject: Re: [PATCH] uhci: Lower uhci timer freq when guest is idle
>
> On Mo, 2014-04-28 at 12:11 +, G
Recently a check for maximum supported MSIX vectors number has been
added. However the check always assumed that MSIX is the only case
and failed on devices which have MSI but do not have MSIX such as
QEMU's PCI Bridge. This results in assert in xics_alloc_block() as
req_num is zero.
This adds a c
Hi,
> >> Subject: Re: [Qemu-devel] [Xen-devel] Hvmloader: Modify ACPI to only
> supply
> >> _EJ0 methods for PCIslots that support hotplug by runtime patching
> >>
> >> On Mon, 2014-04-28 at 12:14 +0200, Fabio Fantoni wrote:
> >>> Il 22/01/2014 15:32, Fabio Fantoni ha scritto:
> Il 28/10/2013
The compiling is done in a subdir, so the extraction of per-object libs
and cflags are referencing objects with ../ prefixed. So prefix the
per-object variables "foo.o-cflags" and "foo.o-libs" to
"../foo.o-cflags" and "../foo.o-libs".
Signed-off-by: Fam Zheng
---
Makefile.target | 11 ++-
[am...@redhat.com bounces, removed from Cc]
29.04.2014 00:07, Mike Day wrote:
[]
> Suggestions much appreciated, I think its ugly versus intrusive, but
> I'm not familiar with this part of qemu.
>
> There is another case with -monitor where you can configure two
> chardevs for stdio and it does t
29.04.2014 07:29, Fam Zheng wrote:
> The compiling is done in a subdir, so the extraction of per-object libs
> and cflags are referencing objects with ../ prefixed. So prefix the
> per-object variables "foo.o-cflags" and "foo.o-libs" to
> "../foo.o-cflags" and "../foo.o-libs".
>
> Signed-off-by: F
Hi Peter,
On 28 April 2014 22:44, Peter Maydell wrote:
> On 10 April 2014 12:46, Pranavkumar Sawargaonkar
> wrote:
>> Recentely patches have been posted for in-kernel emulation of PSCI v0.2
>> http://www.spinics.net/lists/arm-kernel/msg305467.html
>> This patchset adds the QEMU side changes for
On Mon, 04/28 11:56, Peter Maydell wrote:
> QEMU tends to have rather a lot of half-finished API or coding style
> transitions, as an inevitable consequence of our having such a large
> code base with wildly varying levels of maintainedness. I thought it
> would be useful to at least document them
Hi,
Is this patch deployed in new version of QEMU?
Thanks,
Maxim
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1299190
Title:
Access to /proc/self/exe in linux-user mode
Status in QEMU:
New
B
"Liguori, Anthony" writes:
> I think this is a bit overkill. Many projects use private mailing
> lists for this purpose.
I guess you're right on the average level of paranoia among people
willing to report security issues, but I'm afraid you might be off on
the 90th percentile.
Besides, an enc
It is needed by the GETRA() macro which is called in helper functions,
so it is sufficient to set it before calling any of these helper functions.
In current QEMU, all targets use GETRA(). Therefore tci_tb_ptr is now
needed unconditionally. Setting its value is time critical because it
happens in
Replace QemuMutex with GMutex and QemuCond with GCond
(with corresponding function changes), to make libcacard
independent of qemu internal functions.
Also replace single instance pstrcpy() in vcard_emul_nss.c
to strncpy(). This reverts commit 2e679780ae86c6ca8.
After this step, none of libcacar
glib >= 2.31 always enables thread support and g_thread_supported()
is #defined to 1, there's no need to call g_thread_init() anymore,
and it definitely does not need to report error which never happens.
Keep code for old < 2.31 glibc anyway for now, just #ifdef it
differently.
Signed-off-by: Mich
libtool has an argument for .syms file, which is -export-symbols.
There's no argument `-export-syms', and it looks like at least on
linux, -export-syms is just ignored. Use the correct argument,
-export-symbols, to actually get the right export list.
Signed-off-by: Michael Tokarev
Reviewed-by: A
Use glib-provided thread primitives in vscclient, not qemu
thread primitives. This way, vscclient becomes more stand-alone.
Signed-off-by: Michael Tokarev
---
libcacard/vscclient.c | 75 +
1 file changed, 44 insertions(+), 31 deletions(-)
diff
Basically libgthread has been rewritten in glib version 2.31, and old ways
to use thread primitives stopped working while new ways appeared. The two
interfaces were sufficiently different to warrant large ifdeffery across all
code using it.
Here's a patchset which tries to clean usage of glib thr
Thread API changed in glib-2.31 significantly. Before that version,
conditionals and mutexes were only allocated dynamically, using
_new()/_free() interface. in 2.31 and up, they're allocated statically
as regular variables, and old interface is deprecated.
(Note: glib docs says the new interfac
201 - 300 of 311 matches
Mail list logo