On 2012-03-22 00:17, Jan Kiszka wrote:
> Some half a year ago when I posted my first attempt to refactor MSI
> for KVM support, we came to the conclusion that it might suffice to do
> transparent dynamic routing for user-space injected MSI messages. These
> two patches now implement such an approac
Il 28/03/2012 07:40, Jason Wang ha scritto:
> qemu_announce_self() were moved to vm_start(). This is because we may
> want to let guest to send the gratuitous packets. A global variable
> need_announce were introduced to record the pending announcement, and
> vm_start() would send gratuitous packet
Il 28/03/2012 07:40, Jason Wang ha scritto:
> This patch introduces a function pointer in NetClientInfo which is
> called during self announcement. With this, each kind of card can
> announce the link with a specific way. The old method is still kept
> for cards that have not implemented this or ol
On Wed, Mar 28, 2012 at 2:41 PM, Paolo Bonzini wrote:
> Il 27/03/2012 23:21, Zhi Yong Wu ha scritto:
>>> Yes, that's correct. Everything that uses PROP_PTR needs to become a
>> But i didn't see that that stuff which uses PROP_PTR become a link in
>> current QEMU code.
>
> Yes, that's why I wrote
By the way, why have we not add one QOM cookbook to docs? It is very
useful for us newbiew to learn.
On Wed, Mar 28, 2012 at 2:41 PM, Paolo Bonzini wrote:
> Il 27/03/2012 23:21, Zhi Yong Wu ha scritto:
>>> Yes, that's correct. Everything that uses PROP_PTR needs to become a
>> But i didn't see t
---
trace-events |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/trace-events b/trace-events
index 70f059d..0924666 100644
--- a/trace-events
+++ b/trace-events
@@ -313,7 +313,7 @@ usb_host_set_interface(int bus, int addr, int interface,
int alt) "dev %d:%d, in
usb_hos
*** This bug is a duplicate of bug 739785 ***
https://bugs.launchpad.net/bugs/739785
This looks to me like the same issue as bug 739785 (where it was
reported on ARM and MIPS hosts). Basically user mode i386 guests have a
number of problems relating to threading support.
** This bug has been
Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
> By the way, why have we not add one QOM cookbook to docs? It is very
> useful for us newbiew to learn.
Yes, that would be useful. It takes time to write docs unfortunately. :(
Paolo
On Wed, Mar 28, 2012 at 4:05 PM, 陳韋任 wrote:
>> Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
>> > By the way, why have we not add one QOM cookbook to docs? It is very
>> > useful for us newbiew to learn.
>
> You can write what you learn during this work. This should be a good
> start! :)
You know,
On Wed, Mar 28, 2012 at 12:11:52PM +1100, David Gibson wrote:
> Michael,
>
> Any chance of an ack or nack on this one?
>
> On Mon, Mar 19, 2012 at 03:58:11PM +1100, David Gibson wrote:
> > There are several paths into the code to emulate PCI config space accesses:
> > one for MMIO to a plain old
On Tue, Mar 27, 2012 at 08:01:54PM +0200, Lluís Vilanova wrote:
> Alon Levy writes:
>
> > Signed-off-by: Alon Levy
> > ---
> > Makefile.objs | 25 ++---
> > 1 file changed, 22 insertions(+), 3 deletions(-)
>
> > diff --git a/Makefile.objs b/Makefile.objs
> > index 8e56f48.
> Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
> > By the way, why have we not add one QOM cookbook to docs? It is very
> > useful for us newbiew to learn.
You can write what you learn during this work. This should be a good
start! :)
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab
On Wed, Mar 28, 2012 at 04:25:54PM +0800, Zhi Yong Wu wrote:
> On Wed, Mar 28, 2012 at 4:05 PM, 陳韋任 wrote:
> >> Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
> >> > By the way, why have we not add one QOM cookbook to docs? It is very
> >> > useful for us newbiew to learn.
> >
> > You can write wha
On Wed, Mar 28, 2012 at 09:13:22AM +0200, Jan Kiszka wrote:
> On 2012-03-22 00:17, Jan Kiszka wrote:
> > Some half a year ago when I posted my first attempt to refactor MSI
> > for KVM support, we came to the conclusion that it might suffice to do
> > transparent dynamic routing for user-space inje
On 2012-03-28 11:45, Michael S. Tsirkin wrote:
> On Wed, Mar 28, 2012 at 09:13:22AM +0200, Jan Kiszka wrote:
>> On 2012-03-22 00:17, Jan Kiszka wrote:
>>> Some half a year ago when I posted my first attempt to refactor MSI
>>> for KVM support, we came to the conclusion that it might suffice to do
>
On 03/26/2012 09:03 PM, Anthony Liguori wrote:
>
> I think what we want to move toward is a -no-machine option which
> allows a user to explicitly build a machine from scratch. That is:
>
> qemu -no-machine -device i440fx,id=host -device isa-serial,chr=chr0 ...
>
I'd call it -M bare-1.1, so that
On 03/26/2012 09:00 PM, Anthony Liguori wrote:
>>> Yes, that's one reason. But maybe a user wants to have a whole
>>> different set of machine types and doesn't care to have the ones we
>>> provide. Why prevent a user from doing this?
>>
>> How are we preventing a user from doing it? In what way
Alon Levy writes:
[...]
>> I don't see the reason for such a change, as in the current bash code it's
>> not
>> used except when generating files in the 'stap' format.
> Have you tried building with trace backend dtrace? without those changed
> it breaks because tracetool.py requires both target_
On Tue, Mar 27, 2012 at 9:56 PM, Stefan Weil wrote:
> Am 14.03.2012 21:48, schrieb Stefan Weil:
>
>> Am 14.03.2012 20:08, schrieb Eric Blake:
>>>
>>> On 03/14/2012 12:57 PM, Stefan Weil wrote:
qemu-img requires first options, then file name, then size.
GNU getopt also allows op
On Wed, Mar 28, 2012 at 11:50:27AM +0200, Jan Kiszka wrote:
> On 2012-03-28 11:45, Michael S. Tsirkin wrote:
> > On Wed, Mar 28, 2012 at 09:13:22AM +0200, Jan Kiszka wrote:
> >> On 2012-03-22 00:17, Jan Kiszka wrote:
> >>> Some half a year ago when I posted my first attempt to refactor MSI
> >>> fo
On 2012-03-28 12:47, Michael S. Tsirkin wrote:
> On Wed, Mar 28, 2012 at 11:50:27AM +0200, Jan Kiszka wrote:
>> On 2012-03-28 11:45, Michael S. Tsirkin wrote:
>>> On Wed, Mar 28, 2012 at 09:13:22AM +0200, Jan Kiszka wrote:
On 2012-03-22 00:17, Jan Kiszka wrote:
> Some half a year ago when
On 03/22/2012 01:17 AM, Jan Kiszka wrote:
> From: Jan Kiszka
>
> This patch basically adds kvm_irqchip_send_msi, a service for sending
> arbitrary MSI messages to KVM's in-kernel irqchip models.
>
> As the current KVI API requires us to establish a static route from a
s/KVI/KVM/
> pseudo GSI to
On Wed, Mar 28, 2012 at 01:07:42PM +0200, Jan Kiszka wrote:
> On 2012-03-28 12:47, Michael S. Tsirkin wrote:
> > On Wed, Mar 28, 2012 at 11:50:27AM +0200, Jan Kiszka wrote:
> >> On 2012-03-28 11:45, Michael S. Tsirkin wrote:
> >>> On Wed, Mar 28, 2012 at 09:13:22AM +0200, Jan Kiszka wrote:
> O
On 2012-03-28 13:09, Avi Kivity wrote:
> On 03/22/2012 01:17 AM, Jan Kiszka wrote:
>> From: Jan Kiszka
>>
>> This patch basically adds kvm_irqchip_send_msi, a service for sending
>> arbitrary MSI messages to KVM's in-kernel irqchip models.
>>
>> As the current KVI API requires us to establish a st
On 2012-03-28 13:31, Michael S. Tsirkin wrote:
> Also, how would this support irqfd in the future? Will we have to
> rip it all out and replace with per-device tracking that we
> have today?
Irqfd and kvm device assignment will require additional interfaces (of
the kvm co
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index e8235a7..649e6b3 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -118,6 +118,7 @@
#define PCI_DEVICE_ID_INTEL_82
This patch move the msi definition from apic.c to apic-msidef.h. So it can be
used also by other .c files.
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/apic-msidef.h | 30 ++
hw/apic.c| 11 +--
2 files changed, 31 insertions(+
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/pci.c | 11 +++
hw/pci.h |4 +++-
hw/xen_platform.c |8
3 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index 77001fa..49f1bf0 100644
--- a/hw/pci.c
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/xen_pt.c | 10 +
hw/xen_pt.h |2 +
hw
On 03/28/2012 01:33 PM, Jan Kiszka wrote:
> On 2012-03-28 13:09, Avi Kivity wrote:
> > On 03/22/2012 01:17 AM, Jan Kiszka wrote:
> >> From: Jan Kiszka
> >>
> >> This patch basically adds kvm_irqchip_send_msi, a service for sending
> >> arbitrary MSI messages to KVM's in-kernel irqchip models.
> >>
On 2012-03-28 13:44, Avi Kivity wrote:
> On 03/28/2012 01:33 PM, Jan Kiszka wrote:
>> On 2012-03-28 13:09, Avi Kivity wrote:
>>> On 03/22/2012 01:17 AM, Jan Kiszka wrote:
From: Jan Kiszka
This patch basically adds kvm_irqchip_send_msi, a service for sending
arbitrary MSI messag
Hi all,
This patch series introduces the PCI passthrough for Xen.
Please review patches number 1, 2, 3, 4 and 7.
First, we have XenHostPCIDevice that help to access one PCI device of the host.
Then, the PCI passthrough device himself. Cut in 3 parts (or file), there is
one to take care of th
On Wed, Mar 28, 2012 at 01:09:25PM +0200, Avi Kivity wrote:
> On 03/22/2012 01:17 AM, Jan Kiszka wrote:
> > From: Jan Kiszka
> >
> > This patch basically adds kvm_irqchip_send_msi, a service for sending
> > arbitrary MSI messages to KVM's in-kernel irqchip models.
> >
> > As the current KVI API re
From: Jiang Yunhong
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Jiang Yunhong
Signed-off-by: Shan Haitao
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
Makefile.target |1 +
hw/xen_pt.c |
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
configure | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 14ef738..cb7bc75 100755
--- a/configure
+++ b/configure
@@ -136,6 +136,7 @@ vnc_png=""
vnc_threa
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
Makefile.target |2 +
hw/xen_common.h |3 +
hw
Signed-off-by: Anthony PERARD
---
Makefile.target |3 +
hw/xen-host-pci-device.c | 354 ++
hw/xen-host-pci-device.h | 78 ++
3 files changed, 435 insertions(+), 0 deletions(-)
create mode 100644 hw/xen-host-pci-device.c
create
On 03/28/2012 01:54 PM, Jan Kiszka wrote:
> >
> >>>
> interface transparent. We create those routes on demand and keep them
> in a hash table. Succeeding messages can then search for an existing
> route in the table first and reuse it whenever possible. If we should
> run out o
Hi Jan,
Now I wanna to locate the instruction in the guest OS that causes this
problem. However, I dont know how to make it as the guest OS has not yet
started up. I would be much appreicated if you can provide some suggestions.
Katrina
On Fri, Mar 23, 2012 at 8:13 PM, Jan Kiszka wrote:
> On
On 2012-03-28 14:32, Avi Kivity wrote:
> On 03/28/2012 01:54 PM, Jan Kiszka wrote:
>>>
>
>> interface transparent. We create those routes on demand and keep them
>> in a hash table. Succeeding messages can then search for an existing
>> route in the table first and reuse it whenever
On 2012-03-28 14:44, Katrina Austin wrote:
> Hi Jan,
> Now I wanna to locate the instruction in the guest OS that causes this
> problem. However, I dont know how to make it as the guest OS has not yet
> started up. I would be much appreicated if you can provide some suggestions.
Not sure if
From: Markus Armbruster
ATR size exceeding the limit is diagnosed, but then we merrily use it
anyway, overrunning card->atr[].
The message is read from a character device. Obvious security
implications unless the other end of the character device is trusted.
Spotted by Coverity. CVE-2011-4111
From: Kevin Wolf
Signed-off-by: Kevin Wolf
Reviewed-by: Paolo Bonzini
(cherry picked from commit 64ebe71aa0e498d24e8c02b133192142fce3a0d0)
Signed-off-by: Bruce Rogers
[AF: backported]
Signed-off-by: Andreas Färber
---
block/qcow.c | 30 +++---
1 files changed, 19 i
From: Anthony PERARD
In Xen case, memory can be bigger than the host memory. that mean a
32bits host (and QEMU) should be able to handle a RAM address of 64bits.
Signed-off-by: Anthony PERARD
Signed-off-by: Alexander Graf
(cherry picked from commit f15fbc4bd1a24bd1477a846e63e62c6d435912f8)
Si
From: Markus Armbruster
vga_putcharxy()'s underline code sets font_data to 0x instead of
0xff. vga_putcharxy() then reads dmask16[0x >> 4] and
dmask4[0x >> 6]. In practice, these out-of-bounds subscripts
"only" put a few crap bits into the display surface.
For 32 bit pixels, there'
On Wed, Mar 28, 2012 at 8:55 AM, Alon Levy wrote:
> ---
> trace-events | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
We're always going to struggle with new trace events that add reserved
keywords. Fixing up trace-events is going to be an ongoing task so
I'd like to also see tr
From: Kevin Wolf
tmp_filename was used outside the block it was defined in, i.e. after it went
out of scope. Move its declaration to the top level.
Signed-off-by: Kevin Wolf
(cherry picked from commit 2b5728164fcf5211bbae8d3c2fc6df62dd6b2295)
Signed-off-by: Bruce Rogers
Signed-off-by: Andreas
From: Stefan Hajnoczi
Several block drivers set bs->read_only in .bdrv_open() but
block.c:bdrv_open_common() clobbers its value. Additionally, QED uses
bdrv_is_read_only() in .bdrv_open() to decide whether to perform
consistency checks.
The correct ordering is to initialize bs->read_only from t
On Wed, Mar 28, 2012 at 01:55:49PM +0100, Stefan Hajnoczi wrote:
> On Wed, Mar 28, 2012 at 8:55 AM, Alon Levy wrote:
> > ---
> > trace-events | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> We're always going to struggle with new trace events that add reserved
> keywords. F
From: Markus Armbruster
Reproducer:
$ MALLOC_PERTURB_=234 qemu-system-x86_64 -vnc :0,acl,sasl [...]
QEMU 0.15.50 monitor - type 'help' for more information
(qemu) acl_add vnc.username fred allow
acl: added rule at position 1
(qemu) acl_reset vnc.username
Segmentation faul
From: Gerd Hoffmann
Avoid using deprecated gnutls functions with recent gnutls versions.
Fixes build failure on Fedora 16. Keep the old way for compatibility
with old installations such as RHEL-5 (gnutls 1.4.x).
Based on a patch from Raghavendra D Prabhu
Signed-off-by: Gerd Hoffmann
Signed-o
From: Eric Sunshine
An entry in the VDI block map will hold an offset to the actual block if
the block is allocated, or one of two specially-interpreted values if
not allocated. Using VirtualBox terminology, value VDI_IMAGE_BLOCK_FREE
(0x) represents a never-allocated block (semantically
On Wed, Mar 28, 2012 at 03:16:34PM +0200, Alon Levy wrote:
> On Wed, Mar 28, 2012 at 01:55:49PM +0100, Stefan Hajnoczi wrote:
> > On Wed, Mar 28, 2012 at 8:55 AM, Alon Levy wrote:
> > > ---
> > > trace-events | 4 ++--
> > > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > We're always
On Wed, Mar 28, 2012 at 2:33 PM, Alon Levy wrote:
> On Wed, Mar 28, 2012 at 03:16:34PM +0200, Alon Levy wrote:
>> On Wed, Mar 28, 2012 at 01:55:49PM +0100, Stefan Hajnoczi wrote:
>> > On Wed, Mar 28, 2012 at 8:55 AM, Alon Levy wrote:
>> > > ---
>> > > trace-events | 4 ++--
>> > > 1 file chan
From: Gerd Hoffmann
This patch removes the code lines which set the subsystem id for the
emulated ac97 card to 8086:. Due to the device id being zero the
subsystem id isn't vaild anyway. With the patch applied the sound card
gets the default qemu subsystem id (1af4:1100) instead.
[ v2: old
On 26 March 2012 18:28, Andreas Färber wrote:
> +static void arm_cpu_reset(CPUState *c)
> +{
> + ARMCPU *cpu = ARM_CPU(c);
> + ARMCPUClass *class = ARM_CPU_GET_CLASS(cpu);
> +
> + class->parent_reset(c);
I thought we were avoiding 'class' in favour of 'klass'?
> +static const TypeInfo
From: Avi Kivity
To make good use of transparent hugepages, KVM requires that guest-physical
and host-virtual addresses share the low 21 bits (as opposed to just the low
12 bits normally required).
Adjust qemu_vmalloc() to honor that requirement. Ignore it for small regions
to avoid fragmentati
This introduces new test reporting infrastructure based on
gtester and gtester-report.
Also, all existing tests are moved to tests/, and tests/Makefile
is reorganized to factor out the commonalities in the rules.
Signed-off-by: Anthony Liguori
Signed-off-by: Paolo Bonzini
---
rules.mak
This is a rebase of qtest. I split the gtester infrastructure into
its own patch, and reorganized the tests by moving everything into
tests/.
Also, libqtest now has bindings for the clock management commands, and
I am using them in rtc-test. Finally, the accept is moved from qemu to
libqtest; te
From: Stefan Hajnoczi
Several BlockDriverState fields are not being reinitialized across
bdrv_close()/bdrv_open(). Make sure they are reset to their default
values.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
(cherry picked from commit 03f541bd6eacdc6c2893f72b975257c89cab2b74)
S
From: Anthony Liguori
Signed-off-by: Anthony Liguori
Signed-off-by: Paolo Bonzini
---
tests/Makefile |5 +
tests/rtc-test.c | 263 ++
2 files changed, 268 insertions(+), 0 deletions(-)
create mode 100644 tests/rtc-test.c
diff --git a
>> +static void arm_cpu_reset(CPUState *c)
>> +{
>> + ARMCPU *cpu = ARM_CPU(c);
>> + ARMCPUClass *class = ARM_CPU_GET_CLASS(cpu);
>> +
>> + class->parent_reset(c);
>
> I thought we were avoiding 'class' in favour of 'klass'?
I have suggested it once and I can only say it again,
please, ca
Am 28.03.2012 15:40, schrieb Peter Maydell:
> On 26 March 2012 18:28, Andreas Färber wrote:
>
>> +static void arm_cpu_reset(CPUState *c)
>> +{
>> +ARMCPU *cpu = ARM_CPU(c);
>> +ARMCPUClass *class = ARM_CPU_GET_CLASS(cpu);
>> +
>> +class->parent_reset(c);
>
> I thought we were avoidin
From: Kevin Wolf
Return the right error values in some more places.
Signed-off-by: Kevin Wolf
(cherry picked from commit 99f1835d9bc744f98370254600530e66f32e6d81)
Signed-off-by: Bruce Rogers
Signed-off-by: Andreas Färber
---
block/vmdk.c | 21 +++--
1 files changed, 15 ins
Am 28.03.2012 15:46, schrieb Max Filippov:
>>> +static void arm_cpu_reset(CPUState *c)
>>> +{
>>> +ARMCPU *cpu = ARM_CPU(c);
>>> +ARMCPUClass *class = ARM_CPU_GET_CLASS(cpu);
>>> +
>>> +class->parent_reset(c);
>>
>> I thought we were avoiding 'class' in favour of 'klass'?
>
> I have su
matthieu castet free.fr> writes:
>
> Android binary start with a weird elf program header : the first
> one is of size 0 pointing to NULL addr.
>
> Ignore LOAD program where MemSiz is 0.
>
...
>
> Attachment (0001-allow-to-load-android-binary.patch): text/x-diff, 2172 bytes
This old patch (not
+static void arm_cpu_reset(CPUState *c)
+{
+ ARMCPU *cpu = ARM_CPU(c);
+ ARMCPUClass *class = ARM_CPU_GET_CLASS(cpu);
+
+ class->parent_reset(c);
>>>
>>> I thought we were avoiding 'class' in favour of 'klass'?
>>
>> I have suggested it once and I can only say
From: Kevin Wolf
path2[PATH_MAX] can be used for the null termination, so make the array big
enough to allow this.
Signed-off-by: Kevin Wolf
(cherry picked from commit 0d460d6f414e02805cbc348404db03b2b7907360)
Signed-off-by: Bruce Rogers
Signed-off-by: Andreas Färber
---
block/vvfat.c |
Am 27.03.2012 23:11, schrieb Anthony Liguori:
> On 03/27/2012 11:38 AM, Paolo Bonzini wrote:
>> Avoid cluttering too much the QOM root.
>>
>> Signed-off-by: Paolo Bonzini
>
> Reviewed-by: Anthony Liguori
Not terribly convinced, but no better suggestion.
Could you please not hardcode this everyw
From: Kevin Wolf
Data we read from the disk isn't necessarily null terminated and may not
contain the string we're looking for. The code needs to be a bit more careful
here.
Signed-off-by: Kevin Wolf
(cherry picked from commit 93897b9fd43548e9c15cf8bece2d9e5174b01fc7)
Signed-off-by: Bruce Roge
From: Kevin Wolf
Signed-off-by: Kevin Wolf
Reviewed-by: Paolo Bonzini
(cherry picked from commit fb60105d4942a26f571b1be92a8b9e7528d0c4d8)
Signed-off-by: Bruce Rogers
Signed-off-by: Andreas Färber
---
hw/ide/core.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw
Am 28.03.2012 16:00, schrieb Max Filippov:
> +static void arm_cpu_reset(CPUState *c)
> +{
> +ARMCPU *cpu = ARM_CPU(c);
> +ARMCPUClass *class = ARM_CPU_GET_CLASS(cpu);
> +
> +class->parent_reset(c);
I thought we were avoiding 'class' in favour of 'klass'
From: Anthony Liguori
This also includes a qtest wrapper script to make it easier to launch qtest
tests directly.
Signed-off-by: Anthony Liguori
Signed-off-by: Paolo Bonzini
---
osdep.h |2 +
qemu-common.h|1 -
tests/Makefile | 26 -
tests/libqtest.c | 385 ++
From: Gerd Hoffmann
This patch increases robustness when migrating to a file with
two little changes:
(1) Before closing the migration file handle checks if it happens to be
a regular file and if so it issues a fsync. This way the data is
flushed to disk before qemu sends the migrati
2012/3/28 Cédric VINCENT :
> matthieu castet free.fr> writes:
>>
>> Android binary start with a weird elf program header : the first
>> one is of size 0 pointing to NULL addr.
>>
>> Ignore LOAD program where MemSiz is 0.
> This old patch (not mine) is required to run Android binaries with
> QEMU
Hello Anthony and Justin,
As announced last year, SUSE is shipping a patched qemu-kvm 0.15.1 with our
recently released SLES 11 SP2. We are therefore very interested in cutting
0.15.2 releases for QEMU and later on qemu-kvm.
This series contains only bugfix cherry-picks from qemu.git master,
conf
From: Alex Williamson
Spotted via code review, we initialize offset to 0 to avoid a
compiler warning, but in the unlikely case that offset is
never set to something else, we should abort instead of return
a value that will almost certainly cause problems.
Signed-off-by: Alex Williamson
Signed-o
This patch combines qtest and -icount together to turn the vm_clock
into a source that can be fully managed by the client. To this end new
commands clock_step and clock_set are added. Hooking them with libqtest
is left as an exercise to the reader.
Signed-off-by: Paolo Bonzini
Signed-off-by: An
On 26 March 2012 18:28, Andreas Färber wrote:
> +static void arm_cpu_reset(CPUState *c)
> +{
> + ARMCPU *cpu = ARM_CPU(c);
> + ARMCPUClass *class = ARM_CPU_GET_CLASS(cpu);
> +
> + class->parent_reset(c);
> +
> + /* TODO Drop this in favor of cpu_arm_reset() calling cpu_reset()
> +
Signed-off-by: Alon Levy
---
scripts/tracetool |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/tracetool b/scripts/tracetool
index 65bd0a1..e7cebf3 100755
--- a/scripts/tracetool
+++ b/scripts/tracetool
@@ -494,9 +494,9 @@ EOF
i=1
for arg in $arglist
Signed-off-by: Alon Levy
---
scripts/tracetool |1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/tracetool b/scripts/tracetool
index e7cebf3..d011bb7 100755
--- a/scripts/tracetool
+++ b/scripts/tracetool
@@ -496,6 +496,7 @@ EOF
do
# 'limit', 'in' and 'next' are reserve
From: Anthony Liguori
The idea behind qtest is pretty simple. Instead of executing a CPU via TCG or
KVM, rely on an external process to send events to the device model that the CPU
would normally generate.
qtest presents itself as an accelerator. In addition, a new option is added to
establish
From: Peter Maydell
Add a missing 'break' statement to fix a buffer overrun when
executing the EEPROM write-all command. Spotted by Coverity
(see bug 887883).
Signed-off-by: Peter Maydell
Signed-off-by: Stefan Hajnoczi
(cherry picked from commit 0e3b800e71cb7759d099eabbd8ad4c4fe848e381)
Signe
On 28 March 2012 14:46, Andreas Färber wrote:
> Am 28.03.2012 15:40, schrieb Peter Maydell:
>> On 26 March 2012 18:28, Andreas Färber wrote:
>>
>>> +static void arm_cpu_reset(CPUState *c)
>>> +{
>>> + ARMCPU *cpu = ARM_CPU(c);
>>> + ARMCPUClass *class = ARM_CPU_GET_CLASS(cpu);
>>> +
>>> +
From: Pavel Borzenkov
Spotted by Clang Analyzer
Signed-off-by: Pavel Borzenkov
Signed-off-by: Stefan Hajnoczi
(cherry picked from commit 8379e46d1fd681b8aa4714382e2cdab05e5d0575)
Signed-off-by: Bruce Rogers
Signed-off-by: Andreas Färber
---
block/vmdk.c |2 +-
1 files changed, 1 insert
Avoid cluttering too much the QOM root.
Signed-off-by: Paolo Bonzini
---
v1->v2: add qdev_get_machine() and use it.
hw/piix_pci.c |2 +-
hw/ppc_prep.c |2 +-
hw/qdev-monitor.c |4 ++--
hw/qdev.c | 13 -
hw/qdev.h |2 ++
5 files chang
From: Marc-André Lureau
Windows 7 may use the same stream number for input and output.
Current code will confuse streams.
Changes since v1:
- keep running_compat[] for migration version 1
- add running_real[] for migration version 2
Signed-off-by: Marc-Andr? Lureau
Signed-off-by: malc
(cherry
From: Bjørn Mork
Some guests will use the standard MII status register
to verify link state. They will not notice link changes
unless this register is updated.
Verified with Linux 3.0 and Windows XP guests.
Without this patch, ethtool will report speed and duplex as
unknown when the link is do
On 03/28/12 06:28, Alexey Korolev wrote:
> This linked list implementation is partially based on kernel code. So it
> should be quite stable
How about just copying the file?
I've used the linux kernel list implementation elsewhere too and it
worked just fine with only minor tweaks (remove some li
From: Anthony Liguori
Signed-off-by: Anthony Liguori
(cherry picked from commit ce01a508e8053350544c88ba68a3f90c44b6bb93)
[BR: bnc#741460]
Signed-off-by: Bruce Rogers
[AF: backported]
Signed-off-by: Andreas Färber
---
hw/pc_piix.c | 26 +++---
1 files changed, 23 insert
From: Nick Thomas
Signed-off-by: Nick Thomas
Signed-off-by: Kevin Wolf
(cherry picked from commit c84dcdc1d6583ebe5841907c99d95deb8c40a6e0)
Signed-off-by: Bruce Rogers
Signed-off-by: Andreas Färber
---
block/curl.c | 26 ++
1 files changed, 22 insertions(+), 4 dele
From: Anthony Liguori
event_idx was introduced in 0.15 and must be disabled for all virtio-pci devices
(including virtio-balloon-pci).
Signed-off-by: Anthony Liguori
(cherry picked from commit ea830ebb74461c5ad6d199857fb000d2e0284c69)
[BR: bnc#741460]
Signed-off-by: Bruce Rogers
Signed-off-by
From: Bharata B Rao
apic id returned to guest kernel in ebx for cpuid(function=1) depends on
CPUX86State->cpuid_apic_id which gets populated after the cpuid information
is cached in the host kernel. This results in broken CPU topology in guest.
Fix this by setting cpuid_apic_id before cpuid info
Since /i440fx/piix3 is being removed from the composition tree, the
IO-APIC is placed under /i440fx. This is wrong and should be changed
as soon as the /i440fx/piix3 path is put back.
Signed-off-by: Paolo Bonzini
Signed-off-by: Anthony Liguori
---
hw/irq.c | 17 +++
hw/irq.h
From: Anthony Liguori
Otherwise we can write beyond the buffer and corrupt memory. This is tracked
as CVE-2012-0029.
Signed-off-by: Anthony Liguori
(cherry picked from commit 65f82df0d7a71ce1b10cd4c5ab0d176ac840)
Signed-off-by: Bruce Rogers
[AF: stable-0.15 does not have pci_dma_read().
From: Andrew Towers
Replaces the ARM_FEATURE_VFP3 check when reading MVFR0/1 with a check for
ARM_FEATURE_V6K. Rationale: MVFR0/1 were introduced in the ARM1136 at the
same time as ARMv6K, and a survey of TRMs indicates support in later models.
According to reference documentation on arm.com, MV
Hi Peter,
many thanks for the update, I'll give it another shot with later binaries and a
more accurate CPU :-)
Thanks again,
Joe
> Date: Fri, 16 Mar 2012 15:51:24 +
> From: peter.mayd...@linaro.org
> To: joedel...@live.co.uk
> Subject: [Bug 954099] Re: Assertion failed arp_table.c line 41
From: Jes Sorensen
Acked-by: Stefan Hajnoczi
Signed-off-by: Jes Sorensen
Signed-off-by: Anthony Liguori
(cherry picked from commit c7f4111a06208b46c6d05934d2a1e5cfbebc0180)
Signed-off-by: Andreas Färber
---
oslib-posix.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff -
From: Gerd Hoffmann
spice uses negative stride value to signal the bitmap is upside down.
The qxl renderer (used for scl, vnc and screenshots) wants a positive
value because it is easier to work with. The positive value is then
stored in the very same variable, which has the drawback that the
up
From: Marc-André Lureau
Windows 7 may use the same stream number for input and output.
That will result in lot of garbage on playback.
The hardcoded value of 4 needs to be in sync with GCAP streams
description and IN/OUT registers.
Signed-off-by: Marc-Andr? Lureau
Signed-off-by: malc
(cherry
1 - 100 of 179 matches
Mail list logo