Am 04.07.2012 18:25, schrieb Paolo Bonzini:
> Il 04/07/2012 17:23, Kevin Wolf ha scritto:
optsLCHSdef. PCHS
:floppy: 80, 2,36 5,16,63
:32:floppy: 80, 2,36 5,16,63
:16:floppy: 80, 2,36 5,16,63
:12:floppy: 80, 2,18 2,16,63
>>
Gerd Hoffmann wrote:
Add support for (re-)initializing endpoints which belong to a specific
interface only. Use this in usb-host when changing altsetting for an
interface, so other interfaces are not disturbed.
Hi Gerd,
I tested it on my AMD test system where the issue didn't appear with the
On Thu, Feb 23, 2012 at 12:08 PM, Aneesh Kumar K.V
wrote:
> On Tue, 21 Feb 2012 21:58:39 -0600, C Anthony Risinger
> wrote:
>> On Sat, Feb 18, 2012 at 11:38 AM, Aneesh Kumar K.V
>> wrote:
>> > On Thu, 16 Feb 2012 06:20:21 -0600, C Anthony Risinger
>> > wrote:
>> >>
>> >> b) unable to run `loc
On 05.07.2012 10:42, Paolo Bonzini wrote:
> Il 05/07/2012 05:29, Wayne Xia ha scritto:
[]
>> Hi Paolo, should I make a patch to make persistent the default for
>> qemu-nbd?
>
> Yes, why not. However, as mentioned above client mode should still be
> non-persistent.
I don't think this makes sense
On 07/05/2012 07:12 AM, Peter Lieven wrote:
> On 07/03/12 15:13, Avi Kivity wrote:
>> On 07/03/2012 04:01 PM, Peter Lieven wrote:
>>> Further output from my testing.
>>>
>>> Working:
>>> Linux 2.6.38 with included kvm module
>>> Linux 3.0.0 with included kvm module
>>>
>>> Not-Working:
>>> Linux 3.
Am 29.06.2012 17:34, schrieb Markus Armbruster:
> Each test litters /tmp with several files: a pid file and two
> sockets. Tidy up.
>
> Signed-off-by: Markus Armbruster
Thanks! Still leaves the files around if a test case fails, but much
better than before.
Kevin
Il 05/07/2012 10:13, Michael Tokarev ha scritto:
>>> >> Hi Paolo, should I make a patch to make persistent the default for
>>> >> qemu-nbd?
>> >
>> > Yes, why not. However, as mentioned above client mode should still be
>> > non-persistent.
> I don't think this makes sense or is good: now we'll n
Hi Xin Tong,
Do you get any estimation on that?
Regards,
chenwj
On 06/28/2012 05:11 PM, Peter Lieven wrote:
> that here is bascially whats going on:
>
> qemu-kvm-1.0-2506 [010] 60996.908000: kvm_mmio: mmio read len
> 3 gpa 0xa val 0x10ff
> qemu-kvm-1.0-2506 [010] 60996.908000: vcpu_match_mmio: gva 0xa
> gpa 0xa Read GPA
On Wed, Jul 04, 2012 at 04:38:03PM -0500, Anthony Liguori wrote:
> On 07/04/2012 04:26 PM, Michael S. Tsirkin wrote:
> >On Thu, Jul 05, 2012 at 12:17:17AM +0300, Michael S. Tsirkin wrote:
> >>On Wed, Jul 04, 2012 at 07:19:33PM +0200, Andreas Färber wrote:
> >>>Uglify the parent field to enforce QOM
Am 29.06.2012 17:34, schrieb Markus Armbruster:
> When hd_geometry_guess() picks a geometry, it also picks the
> appropriate translation, but only when the prior translation hint is
> BIOS_ATA_TRANSLATION_AUTO. Looks wrong, because such a prior
> translation would be passed to the BIOS whether it'
Kevin Wolf writes:
> Am 04.07.2012 18:25, schrieb Paolo Bonzini:
>> Il 04/07/2012 17:23, Kevin Wolf ha scritto:
> optsLCHSdef. PCHS
>:floppy: 80, 2,36 5,16,63
> :32:floppy: 80, 2,36 5,16,63
> :16:floppy: 80, 2,36 5,16,63
> :12:f
Kevin Wolf writes:
> Am 29.06.2012 22:33, schrieb Blue Swirl:
>> On Fri, Jun 29, 2012 at 3:34 PM, Markus Armbruster wrote:
>>> Unless parameter ":floppy:" is given, vvfat creates a virtual image
>>> with DOS MBR defining a single partition which holds the FAT file
>>> system. The size of the vi
Kevin Wolf writes:
> Am 29.06.2012 17:34, schrieb Markus Armbruster:
>> Each test litters /tmp with several files: a pid file and two
>> sockets. Tidy up.
>>
>> Signed-off-by: Markus Armbruster
>
> Thanks! Still leaves the files around if a test case fails, but much
> better than before.
I di
Kevin Wolf writes:
> Am 29.06.2012 17:34, schrieb Markus Armbruster:
>> When hd_geometry_guess() picks a geometry, it also picks the
>> appropriate translation, but only when the prior translation hint is
>> BIOS_ATA_TRANSLATION_AUTO. Looks wrong, because such a prior
>> translation would be pas
This optimization was once used in qemu-kvm to keep KVM route usage low.
But now we solved that problem via lazy updates. It also tried to handle
the case of vectors shared between different sources of the same device.
However, this never really worked and will have to be addressed
differently anyw
Il 05/07/2012 10:59, Michael S. Tsirkin ha scritto:
> Field accesses are better. If there is a user error, code does not
> compile. They are also self-documenting to some level: you look
> at a struct you see all its fields. How do you know which casts
> will succeed on a given type? There's no eas
Il 05/07/2012 00:34, Andreas Färber ha scritto:
>> > Just to clarify: replacing upcasts which are always safe
>> > with downcasts which can fail is what I consider especially ugly.
> As per Anthony the parent field in the QOM instance structs is not
> supposed to be touched (cf. object.h). We mark
Am 05.07.2012 11:23, schrieb Markus Armbruster:
> Kevin Wolf writes:
>
>> Am 29.06.2012 22:33, schrieb Blue Swirl:
>>> On Fri, Jun 29, 2012 at 3:34 PM, Markus Armbruster
>>> wrote:
Unless parameter ":floppy:" is given, vvfat creates a virtual image
with DOS MBR defining a single parti
On 07/03/2012 09:36 PM, Eric Blake wrote:
> On 07/03/2012 07:52 AM, Orit Wasserman wrote:
>> Add migration capabilities that can be queried by the management.
>> The management can query the source QEMU and the destination QEMU in order to
>> verify both support some migration capability (currently
On Thu, Jul 5, 2012 at 2:46 PM, Jan Kiszka wrote:
> On 2012-07-05 04:18, Liu Ping Fan wrote:
>> Vcpu state must be set completely before receiving INIT-IPI,SIPI
>>
>> Signed-off-by: Liu Ping Fan
>> ---
>> kvm.h |1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/kvm.
Am 05.07.2012 11:53, schrieb Paolo Bonzini:
> Il 05/07/2012 00:34, Andreas Färber ha scritto:
Just to clarify: replacing upcasts which are always safe
with downcasts which can fail is what I consider especially ugly.
>> As per Anthony the parent field in the QOM instance structs is not
>>
On 2012-07-05 12:10, liu ping fan wrote:
> On Thu, Jul 5, 2012 at 2:46 PM, Jan Kiszka wrote:
>> On 2012-07-05 04:18, Liu Ping Fan wrote:
>>> Vcpu state must be set completely before receiving INIT-IPI,SIPI
>>>
>>> Signed-off-by: Liu Ping Fan
>>> ---
>>> kvm.h |1 +
>>> 1 files changed, 1 ins
> > Not entirely true, being at the beginning of the struct is already
> > enforced by using DO_UPCAST (which is admittedly a strange name for
> > a downcast macro) instead of container_of.
>
> If you look at the patchset you will find that it was not properly
> enforced!
Well, what *is* enforced
On Thu, Jul 5, 2012 at 6:16 PM, Jan Kiszka wrote:
> On 2012-07-05 12:10, liu ping fan wrote:
>> On Thu, Jul 5, 2012 at 2:46 PM, Jan Kiszka wrote:
>>> On 2012-07-05 04:18, Liu Ping Fan wrote:
Vcpu state must be set completely before receiving INIT-IPI,SIPI
Signed-off-by: Liu Ping Fa
Kevin Wolf writes:
> Am 05.07.2012 11:23, schrieb Markus Armbruster:
>> Kevin Wolf writes:
>>
>>> Am 29.06.2012 22:33, schrieb Blue Swirl:
On Fri, Jun 29, 2012 at 3:34 PM, Markus Armbruster
wrote:
> Unless parameter ":floppy:" is given, vvfat creates a virtual image
> with D
Kevin Wolf writes:
> Am 29.06.2012 17:34, schrieb Markus Armbruster:
[...]
>> @@ -1067,19 +1074,16 @@ DLOG(if (stderr == NULL) {
>> else
>> dirname += i+1;
>>
>> -bs->total_sectors=bs->cyls*bs->heads*bs->secs;
>> +bs->total_sectors = cyls * heads * secs;
>>
>> -if(init_d
Am 05.07.2012 13:10, schrieb Markus Armbruster:
> Kevin Wolf writes:
>
>> Am 05.07.2012 11:23, schrieb Markus Armbruster:
>>> Kevin Wolf writes:
>>>
Am 29.06.2012 22:33, schrieb Blue Swirl:
> On Fri, Jun 29, 2012 at 3:34 PM, Markus Armbruster
> wrote:
>> +partition->length
Fix errors in the TCG temp handling in the 64 bit coprocessor
write path: we were reusing a 32 bit temp after it had been
freed by store_reg(), and failing to free a 64 bit temp.
This bug has no visible effect at this point because there
aren't any non-NOP 64 bit registers yet; it needs to be fixe
Am 29.06.2012 17:34, schrieb Markus Armbruster:
> Signed-off-by: Markus Armbruster
> ---
> tests/hd-geo-test.c |6 --
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tests/hd-geo-test.c b/tests/hd-geo-test.c
> index 0ab573c..02eb5c2 100644
> --- a/tests/hd-geo-test.c
On 2012-07-05 13:02, liu ping fan wrote:
> On Thu, Jul 5, 2012 at 6:16 PM, Jan Kiszka wrote:
>> On 2012-07-05 12:10, liu ping fan wrote:
>>> On Thu, Jul 5, 2012 at 2:46 PM, Jan Kiszka wrote:
On 2012-07-05 04:18, Liu Ping Fan wrote:
> Vcpu state must be set completely before receiving INI
Kevin Wolf writes:
> Am 29.06.2012 17:34, schrieb Markus Armbruster:
>> Signed-off-by: Markus Armbruster
>> ---
>> tests/hd-geo-test.c |6 --
>> 1 files changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/tests/hd-geo-test.c b/tests/hd-geo-test.c
>> index 0ab573c..02eb5c2 10064
On 05.07.2012 10:51, Xiao Guangrong wrote:
On 06/28/2012 05:11 PM, Peter Lieven wrote:
that here is bascially whats going on:
qemu-kvm-1.0-2506 [010] 60996.908000: kvm_mmio: mmio read len 3
gpa 0xa val 0x10ff
qemu-kvm-1.0-2506 [010] 60996.908000: vcpu_match_mmio:
(qemu) sendkey a
(qemu) sendkey 0x1e
(qemu) sendkey #0x1e
unknown key: '#0x1e'
The last command doesn't work, '#' is not requested before
raw values. And the raw value in decimal format is also not
supported.
Signed-off-by: Amos Kong
---
hmp-commands.hx |6 +++---
1 files changed, 3 insert
Changes from v14:
- rebase on top on Juan's patches
- Use clz64 to calculate pow2floor (round down to power of 2)
- Fix xbzrle_encode_buffer and xbzrle_decode_buffer
- Fix QMP commands documentation
Changes from v13:
- Fix round to power of 2 of cache size
Add migration capabilities that can be queried by the management.
The management can query the source QEMU and the destination QEMU in order to
verify both support some migration capability (currently only XBZRLE).
The management can enable a capability for the next migration by using
migrate_set_p
Implement Unsigned Little Endian Base 128.
Signed-off-by: Orit Wasserman
---
cutils.c | 33 +
qemu-common.h |8
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/cutils.c b/cutils.c
index 02d5bd0..7d99fe0 100644
--- a/cutils.c
+++
On 07/05/2012 06:48 AM, Amos Kong wrote:
> Currently, if define an 'enum' and use it in one command's data,
> List struct for enum could not be generated, but it's used in
> qmp function.
>
> For example: KeyCodesList could not be generated.
qapi-schema.json:
> { 'enum': 'KeyCodes',
> 'data
In the outgoing migration check to see if the page is cached and
changed than send compressed page by using save_xbrle_page function.
In the incoming migration check to see if RAM_SAVE_FLAG_XBRLE is set
and decompress the page (by using load_xbrle function).
Signed-off-by: Benoit Hudzia
Signed-of
Change XBZRLE cache size in bytes (the size should be a power of 2).
If XBZRLE cache size is too small there will be many cache miss.
Signed-off-by: Benoit Hudzia
Signed-off-by: Petter Svard
Signed-off-by: Aidan Shribman
Signed-off-by: Orit Wasserman
---
arch_init.c | 10 ++
hm
Signed-off-by: Benoit Hudzia
Signed-off-by: Petter Svard
Signed-off-by: Aidan Shribman
Signed-off-by: Orit Wasserman
---
arch_init.c | 68 +-
hmp.c| 13 ++
migration.c | 49 +
On Thu, Jul 05, 2012 at 11:42:14AM +0200, Jan Kiszka wrote:
> This optimization was once used in qemu-kvm to keep KVM route usage low.
> But now we solved that problem via lazy updates.
What if we are using vhost which AFAIK can't use the lazy path?
> It also tried to handle
> the case of vectors
Rename 'string' to 'keys', rename 'hold_time' to 'hold-time'.
Signed-off-by: Amos Kong
---
hmp-commands.hx |2 +-
monitor.c | 14 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 30243b6..e336251 100644
--- a/hmp-co
On Thu, Jul 05, 2012 at 12:15:04PM +0200, Andreas Färber wrote:
> Am 05.07.2012 11:53, schrieb Paolo Bonzini:
> > Il 05/07/2012 00:34, Andreas Färber ha scritto:
> Just to clarify: replacing upcasts which are always safe
> with downcasts which can fail is what I consider especially ugly.
Am 01.07.2012 04:45, schrieb Jia Liu:
> Add OpenRISC target stubs and cpu support.
>
> Signed-off-by: Jia Liu
> ---
> arch_init.c |2 +
> arch_init.h |1 +
> configure| 14 +-
> cpu-exec.c |2 +
Hi, all.
I think the generated codes from qemu_ld/st IRs are relatively heavy, which are
up to 12 instructions for TLB hit case on i386 host.
This patch series enhances the code quality of TCG qemu_ld/st IRs by reducing
jump and enhancing locality.
Main idea is simple and has been already descri
Add declarations and templates of extended MMU helpers which can take return
address argument to what helper functions return. These extended helper
functions are called only by generated code.
Signed-off-by: Yeongkyoon Lee
---
softmmu_defs.h | 13 +
softmmu_template.h | 51
Add extended MMU helpers to softmmu targets, where the targets are alpha, arm,
cris, i386, lm32, m68k, microblaze, mips, ppc, s390x, sh4, sparc and xtensa.
Signed-off-by: Yeongkyoon Lee
---
target-alpha/mem_helper.c | 22 ++
target-arm/op_helper.c| 23 +++
Add an option "--enable-ldst-optimization" to enable
CONFIG_QEMU_LDST_OPTIMIZATION macro for TCG qemu_ld/st optimization. It only
works with CONFIG_SOFTMMU and doesn't work with CONFIG_TCG_PASS_AREG0.
Signed-off-by: Yeongkyoon Lee
---
configure | 15 +++
1 files changed, 15 inser
It will return 0 if the page is unmodifed.
Signed-off-by: Orit Wasserman
---
arch_init.c | 11 +++
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 9fd6346..e36899e 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -188,7 +188,7 @@ static int r
Convert 'sendkey' to use QAPI. do_sendkey() depends on some
variables/functions in monitor.c, so reserve qmp_sendkey()
to monitor.c
key_defs[] in console.h is the mapping of key name to keycode,
Keys' index in the enmu and key_defs[] is same.
'send-key' of QMP doesn't support key in hexadecimal f
Otherwise 'make check' won't recompile files that need to be recompiled
because of header changes.
To reproduce the bug, run:
$ make check # succeeds
$ echo B0RKED > hw/mc146818rtc_regs.h
$ make check # is supposed to try to rebuild tests/rtc-test.o and fail
Signed-off-by: Eduardo Habkost
Add LRU page cache mechanism.
The page are accessed by their address.
Signed-off-by: Benoit Hudzia
Signed-off-by: Petter Svard
Signed-off-by: Aidan Shribman
Signed-off-by: Orit Wasserman
---
Makefile.objs |1 +
cutils.c |8 ++
include/qemu/page_cache.h |
Signed-off-by: Orit Wasserman
---
docs/xbzrle.txt | 136 +++
1 files changed, 136 insertions(+), 0 deletions(-)
create mode 100644 docs/xbzrle.txt
diff --git a/docs/xbzrle.txt b/docs/xbzrle.txt
new file mode 100644
index 000..cb567e6
---
Il 05/07/2012 15:22, Andreas Färber ha scritto:
>> > +static void openrisc_any_initfn(Object *obj)
>> > +{
>> > +OpenRISCCPU *cpu = OPENRISC_CPU(obj);
>> > +
>> > +set_feature(cpu, OPENRISC_FEATURE_OB32S);
>> > +set_feature(cpu, OPENRISC_FEATURE_OF32S);
>> > +
>> > +cpu_reset(CPU(cp
From: "Richard W.M. Jones"
glibc 2.16 will remove the undocumented definition of 'struct siginfo'
from .
This change is already present in glibc 2.15.90, so qemu compilation
of certain targets (eg. cris-user) breaks.
This struct was always typedef'd to be the same as 'siginfo_t' which
is what P
On Thu, Jul 05, 2012 at 12:34:20AM +0200, Andreas Färber wrote:
> Am 04.07.2012 23:26, schrieb Michael S. Tsirkin:
> > On Thu, Jul 05, 2012 at 12:17:17AM +0300, Michael S. Tsirkin wrote:
> >> On Wed, Jul 04, 2012 at 07:19:33PM +0200, Andreas Färber wrote:
> >>> Uglify the parent field to enforce QO
On 5 July 2012 14:23, Yeongkyoon Lee wrote:
> Add declarations and templates of extended MMU helpers which can take return
> address argument to what helper functions return. These extended helper
> functions are called only by generated code.
It's not entirely clear from this description what
Currently, if define an 'enum' and use it in one command's data,
List struct for enum could not be generated, but it's used in
qmp function.
For example: KeyCodesList could not be generated.
>>> qapi-schema.json:
{ 'enum': 'KeyCodes',
'data': [ 'shift', 'alt' ... ] }
{ 'command': 'sendkey',
'd
Signed-off-by: Benoit Hudzia
Signed-off-by: Petter Svard
Signed-off-by: Aidan Shribman
Signed-off-by: Orit Wasserman
---
migration.h |4 ++
savevm.c| 157 +++
2 files changed, 161 insertions(+), 0 deletions(-)
diff --git a/migra
Am 05.07.2012 15:34, schrieb Michael S. Tsirkin:
> On Thu, Jul 05, 2012 at 12:34:20AM +0200, Andreas Färber wrote:
>> Am 04.07.2012 23:26, schrieb Michael S. Tsirkin:
>>> On Thu, Jul 05, 2012 at 12:17:17AM +0300, Michael S. Tsirkin wrote:
On Wed, Jul 04, 2012 at 07:19:33PM +0200, Andreas Färbe
On 5 July 2012 14:23, Yeongkyoon Lee wrote:
> Add extended MMU helpers to softmmu targets, where the targets are alpha,
> arm, cris, i386, lm32, m68k, microblaze, mips, ppc, s390x, sh4, sparc and
> xtensa.
>
> Signed-off-by: Yeongkyoon Lee
> ---
> target-alpha/mem_helper.c | 22 +
Event would be ignored if ps2 queue is full, this patch
added a warning in ignore path.
Signed-off-by: Amos Kong
---
hw/ps2.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/ps2.c b/hw/ps2.c
index f93cd24..799c36b 100644
--- a/hw/ps2.c
+++ b/hw/ps2.c
@@ -137,8 +137
On 07/05/2012 06:51 AM, Orit Wasserman wrote:
> Signed-off-by: Orit Wasserman
> ---
> docs/xbzrle.txt | 136
> +++
> 1 files changed, 136 insertions(+), 0 deletions(-)
> create mode 100644 docs/xbzrle.txt
>
> +
> +Example
> +old buffer:
> +
On 07/05/2012 08:34 AM, Michael S. Tsirkin wrote:
On Thu, Jul 05, 2012 at 12:34:20AM +0200, Andreas Färber wrote:
Am 04.07.2012 23:26, schrieb Michael S. Tsirkin:
On Thu, Jul 05, 2012 at 12:17:17AM +0300, Michael S. Tsirkin wrote:
On Wed, Jul 04, 2012 at 07:19:33PM +0200, Andreas Färber wrote:
Am 05.07.2012 15:23, schrieb Yeongkyoon Lee:
> Add an option "--enable-ldst-optimization" to enable
> CONFIG_QEMU_LDST_OPTIMIZATION macro for TCG qemu_ld/st optimization. It only
> works with CONFIG_SOFTMMU and doesn't work with CONFIG_TCG_PASS_AREG0.
>
> Signed-off-by: Yeongkyoon Lee
> ---
>
On 07/05/2012 06:51 AM, Orit Wasserman wrote:
This commit message is a bit sparse. I'd document at least the fact
that our nzrun detection code in xbzrle_encode_buffer borrows
long-word-at-a-time NUL-detection tricks from strcmp(), as it is not an
intuitive trick known by all developers.
> Signe
Add optimized TCG qemu_ld/st generation which generates the code for TLB miss
case handling at the end of TB after generating other IRs.
Signed-off-by: Yeongkyoon Lee
---
tcg/i386/tcg-target.c | 328 +
tcg/tcg.c | 12 ++
tcg/tcg.h
This series converted 'sendkey' command to qapi. The raw value
in hexadecimal format is not supported by 'send-key' of qmp.
Amos Kong (6):
fix doc of using raw values with sendkey
monitor: rename keyname '<' to 'less'
hmp: rename arguments
qapi: generate list struct and visit_list for enum
There are many maps of keycode 0x56 in pc-bios/keymaps/*
pc-bios/keymaps/common:less 0x56
pc-bios/keymaps/common:greater 0x56 shift
pc-bios/keymaps/common:bar 0x56 altgr
pc-bios/keymaps/common:brokenbar 0x56 shift altgr
This patch just renames '<' to 'less', QAPI would add new
variable by
On 5 July 2012 14:23, Yeongkyoon Lee wrote:
> Add optimized TCG qemu_ld/st generation which generates the code for TLB miss
> case handling at the end of TB after generating other IRs.
>
> Signed-off-by: Yeongkyoon Lee
> ---
> tcg/i386/tcg-target.c | 328
>
On 07/05/2012 06:51 AM, Orit Wasserman wrote:
> In the outgoing migration check to see if the page is cached and
> changed than send compressed page by using save_xbrle_page function.
> In the incoming migration check to see if RAM_SAVE_FLAG_XBRLE is set
> and decompress the page (by using load_xbr
On 5 July 2012 14:23, Yeongkyoon Lee wrote:
> Add an option "--enable-ldst-optimization" to enable
> CONFIG_QEMU_LDST_OPTIMIZATION macro for TCG qemu_ld/st optimization. It only
> works with CONFIG_SOFTMMU and doesn't work with CONFIG_TCG_PASS_AREG0.
This shouldn't be a user settable config opt
On Wed, Jul 04, 2012 at 10:33:18AM +0200, Alexander Graf wrote:
> On 04.07.2012, at 03:29, Jason Baron wrote:
>
> > On Tue, Jul 03, 2012 at 10:54:37PM +0200, Alexander Graf wrote:
> >> On 03.07.2012, at 22:37, Jason Baron wrote:
> >>
> >>> On Tue, Jul 03, 2012 at 08:52:50PM +0200, Alexander Graf
On 07/05/2012 06:51 AM, Orit Wasserman wrote:
> Change XBZRLE cache size in bytes (the size should be a power of 2).
> If XBZRLE cache size is too small there will be many cache miss.
>
> Signed-off-by: Benoit Hudzia
> Signed-off-by: Petter Svard
> Signed-off-by: Aidan Shribman
> Signed-off-by:
On Thu, Jul 05, 2012 at 08:54:21AM -0500, Anthony Liguori wrote:
> On 07/05/2012 08:34 AM, Michael S. Tsirkin wrote:
> >On Thu, Jul 05, 2012 at 12:34:20AM +0200, Andreas Färber wrote:
> >>Am 04.07.2012 23:26, schrieb Michael S. Tsirkin:
> >>>On Thu, Jul 05, 2012 at 12:17:17AM +0300, Michael S. Tsir
On 5 July 2012 14:32, Richard W.M. Jones wrote:
> From: "Richard W.M. Jones"
>
> glibc 2.16 will remove the undocumented definition of 'struct siginfo'
> from .
Progress marches on, trampling all in its wake.
> This change is already present in glibc 2.15.90, so qemu compilation
> of certain ta
On 07/05/2012 06:51 AM, Orit Wasserman wrote:
> Signed-off-by: Benoit Hudzia
> Signed-off-by: Petter Svard
> Signed-off-by: Aidan Shribman
> Signed-off-by: Orit Wasserman
> +++ b/arch_init.c
> @@ -202,8 +202,66 @@ int64_t xbzrle_cache_resize(int64_t new_size)
> return pow2floor(new_size);
On 07/04/2012 04:00 AM, Kevin Wolf wrote:
Am 03.07.2012 19:03, schrieb Eric Blake:
2. drive_add file=/dev/fdset/1 -> qemu_open uses the first fd from the
set that has access flags matching the qemu_open action flags.
qemu_open increments refcount for this fd.
3. add-fd /dev/fdset/1 FDSET={M} -
On Thu, Jul 05, 2012 at 03:16:12PM +0100, Peter Maydell wrote:
> On 5 July 2012 14:32, Richard W.M. Jones wrote:
> > From: "Richard W.M. Jones"
> >
> > glibc 2.16 will remove the undocumented definition of 'struct siginfo'
> > from .
>
> Progress marches on, trampling all in its wake.
Hey, don'
On Thu, Jul 5, 2012 at 4:06 PM, Peter Maydell wrote:
[...]
>> case "$target_arch2" in
>>alpha | sparc* | xtensa* | ppc*)
>> echo "CONFIG_TCG_PASS_AREG0=y" >> $config_target_mak
>> +# qemu_ld/st optimization is not available with CONFIG_TCG_PASS_AREG0
>> +target_ldst_optimization=
On 2012-07-05 15:17, Michael S. Tsirkin wrote:
> On Thu, Jul 05, 2012 at 11:42:14AM +0200, Jan Kiszka wrote:
>> This optimization was once used in qemu-kvm to keep KVM route usage low.
>> But now we solved that problem via lazy updates.
>
> What if we are using vhost which AFAIK can't use the lazy
Am 05.07.2012 16:22, schrieb Corey Bryant:
>>> For some examples:
>>>
>>> 1. client calls 'add-fd', qemu is now tracking fd=4 with refcount 1, in
>>> use by monitor, as member of fdset1
>>> 2. client crashes, so all tracked fds are visited; fd=4 had not yet been
>>> passed to 'remove-fd', so qemu d
(Dropping some borked CCs)
Am 05.07.2012 16:15, schrieb Michael S. Tsirkin:
> On Thu, Jul 05, 2012 at 08:54:21AM -0500, Anthony Liguori wrote:
>> On 07/05/2012 08:34 AM, Michael S. Tsirkin wrote:
>>> On Thu, Jul 05, 2012 at 12:34:20AM +0200, Andreas Färber wrote:
Am 04.07.2012 23:26, schrieb
On 07/05/2012 04:06 PM, Jason Baron wrote:
On Wed, Jul 04, 2012 at 10:33:18AM +0200, Alexander Graf wrote:
On 04.07.2012, at 03:29, Jason Baron wrote:
On Tue, Jul 03, 2012 at 10:54:37PM +0200, Alexander Graf wrote:
On 03.07.2012, at 22:37, Jason Baron wrote:
On Tue, Jul 03, 2012 at 08:52:50
On 07/04/2012 04:09 AM, Kevin Wolf wrote:
Am 03.07.2012 20:21, schrieb Corey Bryant:
On 07/03/2012 02:00 PM, Eric Blake wrote:
On 07/03/2012 11:46 AM, Corey Bryant wrote:
Yes, I think adding a +1 to the refcount for the monitor makes sense.
I'm a bit unsure how to increment the refcount w
This is part 1 of a three-part series that expands usage of EventNotifier
in QEMU (including AIO and the main loop). I started working on this when
playing with the threaded block layer; the part of that work that I hope
will be in 1.2 is generalizing posix-aio-compat.c to be a generic portable
th
EventNotifier right now cannot be used as an inter-thread communication
primitive. It only works if something else (the kernel) sets the eventfd.
Add a primitive to signal an EventNotifier that another thread is waiting
on.
Signed-off-by: Paolo Bonzini
---
event_notifier.c |7 +++
event
Under Win32, EventNotifiers will not have event_notifier_get_fd, so we
cannot call it in common code such as hw/virtio-pci.c. Pass a pointer to
the notifier, and only retrieve the file descriptor in kvm-specific code.
Signed-off-by: Paolo Bonzini
---
exec.c |8
hw/ivshmem.
On Thu, Jul 05, 2012 at 05:00:00PM +0200, Andreas Färber wrote:
> (Dropping some borked CCs)
>
> Am 05.07.2012 16:15, schrieb Michael S. Tsirkin:
> > On Thu, Jul 05, 2012 at 08:54:21AM -0500, Anthony Liguori wrote:
> >> On 07/05/2012 08:34 AM, Michael S. Tsirkin wrote:
> >>> On Thu, Jul 05, 2012 a
On Thu, Jul 05, 2012 at 12:51:12AM +0200, Andreas Färber wrote:
> Am 04.07.2012 23:20, schrieb Michael S. Tsirkin:
> > On Wed, Jul 04, 2012 at 07:19:20PM +0200, Andreas Färber wrote:
> >> Also give the sPAPR host bridge type registration functions a unique
> >> name.
> >>
> >> Signed-off-by: Andrea
Am 29.06.2012 17:34, schrieb Markus Armbruster:
> New limits straight from ATA4 6.2 Register delivered data transfer
> command sector addressing.
>
> I figure the old sector limit 63 was blindly copied from the BIOS
> int 13 limit. Doesn't apply to the hardware. No idea where the old
> cylinder
Am 05.07.2012 15:31, schrieb Paolo Bonzini:
> Il 05/07/2012 15:22, Andreas Färber ha scritto:
+static void openrisc_any_initfn(Object *obj)
+{
+OpenRISCCPU *cpu = OPENRISC_CPU(obj);
+
+set_feature(cpu, OPENRISC_FEATURE_OB32S);
+set_feature(cpu, OPENRISC_FEA
All transports can use the same event handler for the ioeventfd, though
the exact setup (address/memory region) will be specific.
This lets virtio use event_notifier_set_handler.
Signed-off-by: Paolo Bonzini
---
hw/virtio-pci.c | 36 ++--
hw/virtio.c | 22
All of ivshmem's usage of eventfd now has a corresponding API in
EventNotifier. Simplify the code by using it, and also use the
memory API consistently to set up and tear down the ioeventfds.
Signed-off-by: Paolo Bonzini
---
hw/ivshmem.c | 63 --
Signed-off-by: Paolo Bonzini
---
hw/ivshmem.c |4
1 file changed, 4 insertions(+)
diff --git a/hw/ivshmem.c b/hw/ivshmem.c
index 3cdbea2..19e164a 100644
--- a/hw/ivshmem.c
+++ b/hw/ivshmem.c
@@ -369,8 +369,12 @@ static void close_guest_eventfds(IVShmemState *s, int posn)
guest_cu
Kevin Wolf writes:
> Am 29.06.2012 17:34, schrieb Markus Armbruster:
>> New limits straight from ATA4 6.2 Register delivered data transfer
>> command sector addressing.
>>
>> I figure the old sector limit 63 was blindly copied from the BIOS
>> int 13 limit. Doesn't apply to the hardware. No id
Win32 event notifiers are not file descriptors, so they will not be able
to use qemu_set_fd_handler. But even if for now we only have a POSIX
version of EventNotifier, we can add a specific function that wraps
the call.
The wrapper passes the EventNotifier as the opaque value so that it will
be u
This is broken; since the eventfd is used in nonblocking mode there
is a race between reading and writing.
Signed-off-by: Paolo Bonzini
---
event_notifier.c | 15 ---
event_notifier.h |1 -
2 files changed, 16 deletions(-)
diff --git a/event_notifier.c b/event_notifier.c
index
All transports can use the same event handler for the irqfd, though the
exact mechanics of the assignment will be specific. Note that there
are three states: handled by the kernel, handled in userspace, disabled.
This also lets virtio use event_notifier_set_handler.
Signed-off-by: Paolo Bonzini
1 - 100 of 165 matches
Mail list logo