On 05/24/12 08:43, Alon Levy wrote:
> On Wed, May 23, 2012 at 08:59:22PM +0200, Gerd Hoffmann wrote:
>> On 05/22/12 17:29, Alon Levy wrote:
>>> We can't initialize QXLDevSurfaceCreate field by field because it has a
>>> pa hole, and so 4 bytes remain uninitialized when building on x86-64, so
>>> ju
On Thu, May 24, 2012 at 02:31:00PM +0800, Kelvin Wang wrote:
> On Wed, May 23, 2012 at 05:45:33PM +0300, Michael S. Tsirkin wrote:
> > On Wed, May 23, 2012 at 04:30:06PM +0200, Paolo Bonzini wrote:
> > > Il 23/05/2012 16:12, Michael S. Tsirkin ha scritto:
> > > >> > 2, Run qemu with the option -mon
On Wed, May 23, 2012 at 08:59:22PM +0200, Gerd Hoffmann wrote:
> On 05/22/12 17:29, Alon Levy wrote:
> > We can't initialize QXLDevSurfaceCreate field by field because it has a
> > pa hole, and so 4 bytes remain uninitialized when building on x86-64, so
> > just memset.
>
> So you get valgrind war
On Wed, May 23, 2012 at 05:45:33PM +0300, Michael S. Tsirkin wrote:
> On Wed, May 23, 2012 at 04:30:06PM +0200, Paolo Bonzini wrote:
> > Il 23/05/2012 16:12, Michael S. Tsirkin ha scritto:
> > >> > 2, Run qemu with the option -monitor.
> > >> >
> > >> > 3, In the guest, insert necessary modules:
>
On Wed, May 23, 2012 at 05:12:16PM +0300, Michael S. Tsirkin wrote:
> On Wed, May 23, 2012 at 09:52:06PM +0800, Kelvin Wang wrote:
> > Support the virtio-scsi-pci adapter hot-plug. However, this patch can only
> > make
> > adapter hot-plugable. More effort is needed for LUN hot-plug. Actually,
>
On Thu, May 24, 2012 at 12:00 AM, Paolo Bonzini wrote:
> Il 23/05/2012 17:14, zwu.ker...@gmail.com ha scritto:
>> From: Zhi Yong Wu
>>
>> Signed-off-by: Zhi Yong Wu
>> ---
>> net/queue.c | 4 ++--
>> net/slirp.c | 7 ---
>> net/tap.c | 2 +-
>> slirp/if.c |
On 23.05.2012 17:36, Stefan Hajnoczi wrote:
On Thu, May 10, 2012 at 12:24 PM, Evgeny Voevodin
wrote:
Hi, guys!
While trying to refactor virtio-pci as continuation of my RFC
virtio-mmio patch series:
http://lists.gnu.org/archive/html/qemu-devel/2012-04/msg03665.html
I've faced a problem.
I tr
patch is made on top of
git://github.com/awilliam/linux-vfio.git iommu-group-vfio-20120523
(which is iommu-group-vfio-20120521 + some fixes)
Signed-off-by: Alexey Kardashevskiy
---
arch/powerpc/Kconfig |6 +
arch/powerpc/include/asm/iommu.h |3 +
arch/powerpc/kernel/Makefile
** Changed in: kvm (Ubuntu)
Status: Incomplete => 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/393430
Title:
kvm: use PulseAudio instead of ALSA
Status in QEMU:
Incomplete
S
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
VERSION |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/VERSION b/VERSION
index 87903b6..9084fa2 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.93
+1.1.0
--
1.7.6
On 2012-05-23 23:34, Jan Kiszka wrote:
> From: Jan Kiszka
>
> tb_invalidate_phys_addr has to called with the exact physical address of
> the breakpoint we add/remove, not just the page's base address.
> Otherwise we easily fail to flush the right TB.
>
> Regression of 1e7855a558.
Sorry, forgot
On Wed, May 23, 2012 at 11:41 PM, Jan Kiszka wrote:
> On 2012-05-23 12:14, zwu.ker...@gmail.com wrote:
>> From: Zhi Yong Wu
>>
>> Signed-off-by: Zhi Yong Wu
>> ---
>> net.c | 1 -
>> 1 files changed, 0 insertions(+), 1 deletions(-)
>>
>> diff --git a/net.c b/net.c
>> index 61dc28d..8c8e703 1
From: Jan Kiszka
They could suggest that all TBs of the page containing the range would
be invalidated.
Signed-off-by: Jan Kiszka
---
exec.c | 22 --
1 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/exec.c b/exec.c
index efa1345..a1c12ec 100644
--- a/exec.
Thanks. Good alternative view.
-Original Message-
From: Michael Tokarev [mailto:m...@tls.msk.ru]
Sent: Wednesday, May 23, 2012 9:11 PM
To: Stefan Hajnoczi
Cc: Charles.Tsai-蔡清海-研究發展部; Jonah.Wu-吳君勉-研究發展部; qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] The image size of instance VM keeps gr
From: Jan Kiszka
tb_invalidate_phys_addr has to called with the exact physical address of
the breakpoint we add/remove, not just the page's base address.
Otherwise we easily fail to flush the right TB.
Regression of 1e7855a558.
Reported-by: TeLeMan
Signed-off-by: Jan Kiszka
---
exec.c |3
Stefan,
Thank you for information. What we worried is an endless growth of the image
size.
If virtual disk size is the ceiling of the max. image size to be grew, we
should not have to worry about this issue.
-Original Message-
From: Stefan Hajnoczi [mailto:stefa...@gmail.com]
Sent: We
On 2012-05-23 23:00, Jan Kiszka wrote:
> On 2012-05-23 22:29, TeLeMan wrote:
>> On Thu, May 24, 2012 at 1:36 AM, Jan Kiszka wrote:
>>> On 2012-05-23 13:02, Jan Kiszka wrote:
On 2012-05-23 11:11, TeLeMan wrote:
> On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka
> wrote:
>> On 2012-05-
On Thu, May 24, 2012 at 10:00 AM, Jan Kiszka wrote:
> On 2012-05-23 22:29, TeLeMan wrote:
>> On Thu, May 24, 2012 at 1:36 AM, Jan Kiszka wrote:
>>> On 2012-05-23 13:02, Jan Kiszka wrote:
On 2012-05-23 11:11, TeLeMan wrote:
> On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka
> wrote:
On Thu, May 24, 2012 at 4:44 AM, Anthony Liguori wrote:
> On 05/23/2012 03:28 PM, Blue Swirl wrote:
>>
>> On Wed, May 23, 2012 at 8:04 PM, Andreas Färber wrote:
>>>
>>> Am 23.05.2012 21:40, schrieb Blue Swirl:
On Wed, May 23, 2012 at 3:41 AM, Andreas Färber
wrote:
>
> Am 1
On 2012-05-23 22:29, TeLeMan wrote:
> On Thu, May 24, 2012 at 1:36 AM, Jan Kiszka wrote:
>> On 2012-05-23 13:02, Jan Kiszka wrote:
>>> On 2012-05-23 11:11, TeLeMan wrote:
On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka wrote:
> On 2012-05-23 04:09, TeLeMan wrote:
>> On Wed, May 23, 2012
Am 24.05.2012 01:46, schrieb Andreas Färber:
> Am 02.05.2012 13:31, schrieb Paolo Bonzini:
>> As soon as we'll look up properties along the inheritance chain, we
>> will have duplicates if class A defines some properties and its
>> subclass B does not define any, because class_b->props will be
>> l
On Thu, May 24, 2012 at 1:36 AM, Jan Kiszka wrote:
> On 2012-05-23 13:02, Jan Kiszka wrote:
>> On 2012-05-23 11:11, TeLeMan wrote:
>>> On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka wrote:
On 2012-05-23 04:09, TeLeMan wrote:
> On Wed, May 23, 2012 at 11:41 AM, Andreas Färber wrote:
>>
The Buildbot has detected a new failure on builder block_openbsd_current while
building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_openbsd_current/builds/234
Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build: brad_openbsd_cur
The Buildbot has detected a new failure on builder block_openbsd_4.9 while
building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_openbsd_4.9/builds/222
Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build: kraxel_openbsd49
Build
Am 02.05.2012 13:31, schrieb Paolo Bonzini:
> As soon as we'll look up properties along the inheritance chain, we
> will have duplicates if class A defines some properties and its
> subclass B does not define any, because class_b->props will be
> left equal to class_a->props.
>
> The solution here
Am 02.05.2012 13:31, schrieb Paolo Bonzini:
> Simple code movement in order to simplify future refactoring.
>
> Signed-off-by: Paolo Bonzini
Thanks, re-verified all movements on qdev-props-4 and applied to qom-next:
http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/qom-next
Andreas
--
On Thu, May 24, 2012 at 12:15:18AM +0200, Andreas Färber wrote:
> Am 24.05.2012 00:02, schrieb Michael Roth:
> > On Wed, May 23, 2012 at 06:25:36PM -0300, Luiz Capitulino wrote:
> >> All the -Wno-redundant-decls warnings are still there on 5.1, if I remove
> >> that
> >> flag I still get the follo
On 23 May 2012 23:38, Alex Barcelo wrote:
> This *always* goes wrong without calling the signal handler
I haven't looked too closely, but I suspect we're just not
paying any attention to whether memory does or doesn't have
the PROT_EXEC permission when we translate code from it.
This is the kind
On Thu, May 24, 2012 at 12:15:18AM +0200, Andreas Färber wrote:
> Am 24.05.2012 00:02, schrieb Michael Roth:
> > On Wed, May 23, 2012 at 06:25:36PM -0300, Luiz Capitulino wrote:
> >> All the -Wno-redundant-decls warnings are still there on 5.1, if I remove
> >> that
> >> flag I still get the follo
Am 24.05.2012 00:38, schrieb Alex Barcelo:
>>> Running it in a i386 machine works and gives an output of "0x0d\n0x20".
>>> Running it in a qemu-i386 segfaults. Because the self-modifying code
>>> raises a SIGSEGV in the qemu (I understand that it is the method used by
>>> qemu to handle self-modify
>> Running it in a i386 machine works and gives an output of "0x0d\n0x20".
>> Running it in a qemu-i386 segfaults. Because the self-modifying code
>> raises a SIGSEGV in the qemu (I understand that it is the method used by
>> qemu to handle self-modifying code). But the sigprocmask disables the
>>
Am 24.05.2012 00:02, schrieb Michael Roth:
> On Wed, May 23, 2012 at 06:25:36PM -0300, Luiz Capitulino wrote:
>> All the -Wno-redundant-decls warnings are still there on 5.1, if I remove
>> that
>> flag I still get the following ones. Michael, do you want me to fix the
>> qemu-ga
>> one for 1.1?
On Wed, 23 May 2012, Stefan Weil wrote:
> When DEBUG_ES1370 is defined, the compiler shows these warnings:
>
[..snip..]
Thanks, applied.
--
mailto:av1...@comtv.ru
On Wed, May 23, 2012 at 06:25:36PM -0300, Luiz Capitulino wrote:
> On Wed, 23 May 2012 15:08:43 -0500
> Michael Roth wrote:
>
> > On Wed, May 23, 2012 at 03:48:03PM -0300, Luiz Capitulino wrote:
> > > Build error found by buildbot:
> > >
> > > qga/commands-posix.c: In function 'qmp_guest_shutdo
Am 23.05.2012 18:39, schrieb Igor Mammedov:
> Make CPU creation/initialization consistent with QOM object
> behavior in this, by moving tcg and apic initialization from board
> level into CPU's initfn/realize calls and cpu_model property setter.
>
> Which makes CPU object self-sufficient in respec
On 23 May 2012 22:09, Igor Mammedov wrote:
> For cpu-hotplug it was suggested to use device_add/del
> interface for it. To do so in a generalized way hot-plugged cpu
> should follow general QOM object creation sequence, i.e.
> - create new cpu instance
> - set properties
> - realize instance
>
When DEBUG_ES1370 is defined, the compiler shows these warnings:
hw/es1370.c: In function ‘es1370_update_voices’:
hw/es1370.c:414: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘size_t’
hw/es1370.c: In function ‘es1370_writel’:
hw/es1370.c:582: warning: format ‘%d’ expects type
On Wed, 23 May 2012 15:08:43 -0500
Michael Roth wrote:
> On Wed, May 23, 2012 at 03:48:03PM -0300, Luiz Capitulino wrote:
> > Build error found by buildbot:
> >
> > qga/commands-posix.c: In function 'qmp_guest_shutdown':
> > qga/commands-posix.c:65: error: 'environ' undeclared (first use in th
- Original Message -
> From: "Peter Maydell"
> To: "Igor Mammedov"
> Cc: aligu...@us.ibm.com, "wei liu2" ,
> ehabk...@redhat.com, "stefano stabellini"
> , s...@weilnetz.de, mtosa...@redhat.com,
> qemu-devel@nongnu.org, ag...@suse.de,
> blauwir...@gmail.com, a...@redhat.com, "jan kiszka"
On Wed, May 23, 2012 at 3:07 AM, Andreas Färber wrote:
> Hello,
>
> This series, based on qom-next and the two pending ARM cleanup patches, starts
> moving fields from CPUArchState (CPU_COMMON) to QOM CPUState. It stops short
> of moving all easily possible fields (i.e., those not depending on
>
On 23 May 2012 21:06, Crístian Viana wrote:
> This would be the new code:
>
> snprintf((void *) w, 12, "QEMU %s", qemu_get_version()); /* char version[12]
> */
>
> I'm not sure of what value the pointer contains at that moment,
> concatenating doesn't seem safe to me. What if w already contains a
The VNC code reads this memory before it is written by BIOS or
other code. Avoid random values by setting the VRAM to 0.
This bug was reported by Valgrind.
Signed-off-by: Stefan Weil
---
hw/vga.c |1 +
1 file changed, 1 insertion(+)
diff --git a/hw/vga.c b/hw/vga.c
index 1469680..80b8ec3 1
On 05/23/2012 03:28 PM, Blue Swirl wrote:
On Wed, May 23, 2012 at 8:04 PM, Andreas Färber wrote:
Am 23.05.2012 21:40, schrieb Blue Swirl:
On Wed, May 23, 2012 at 3:41 AM, Andreas Färber wrote:
Am 18.05.2012 11:49, schrieb TeLeMan:
This breakage was introduced by the commit "memory: make
phy
On Wed, May 23, 2012 at 8:04 PM, Andreas Färber wrote:
> Am 23.05.2012 21:40, schrieb Blue Swirl:
>> On Wed, May 23, 2012 at 3:41 AM, Andreas Färber wrote:
>>> Am 18.05.2012 11:49, schrieb TeLeMan:
This breakage was introduced by the commit "memory: make
phys_page_find() return an unadj
On Wed, May 23, 2012 at 03:48:03PM -0300, Luiz Capitulino wrote:
> Build error found by buildbot:
>
> qga/commands-posix.c: In function 'qmp_guest_shutdown':
> qga/commands-posix.c:65: error: 'environ' undeclared (first use in this
> function)
> qga/commands-posix.c:65: error: (Each undeclared
On 2012-05-23 13:44, Peter Maydell wrote:
> On 23 May 2012 17:39, Igor Mammedov wrote:
>> @@ -295,6 +297,15 @@ static int apic_init_common(SysBusDevice *dev)
>>
>> sysbus_init_mmio(dev, &s->io_memory);
>>
>> +/* XXX: mapping more APICs at the same memory location */
>> +if (apic_mapped
On 23-05-2012 13:11, Eric Blake wrote:
pstrcat is more efficient than snprintf() - the former is dedicated to a
single task, while the latter has to parse a format string and decode
that it is doing a single %s expansion. In other words, just because
*printf can do string concatenation doesn't m
Am 23.05.2012 21:40, schrieb Blue Swirl:
> On Wed, May 23, 2012 at 3:41 AM, Andreas Färber wrote:
>> Am 18.05.2012 11:49, schrieb TeLeMan:
>>> This breakage was introduced by the commit "memory: make
>>> phys_page_find() return an unadjusted".
>>
>> You seem to have found the origin of your proble
On Wed, May 23, 2012 at 3:41 AM, Andreas Färber wrote:
> Am 18.05.2012 11:49, schrieb TeLeMan:
>> This breakage was introduced by the commit "memory: make
>> phys_page_find() return an unadjusted".
>
> You seem to have found the origin of your problem. If you also mention
> the commit hash in your
On Wed, May 23, 2012 at 7:54 AM, Jia Liu wrote:
> Hi Blue,
>
> On Sat, May 19, 2012 at 3:51 PM, Blue Swirl wrote:
>> On Thu, May 17, 2012 at 8:35 AM, Jia Liu wrote:
>>> add a simulation board for openrisc.
>>>
>>> Signed-off-by: Jia Liu
>>> ---
>>> Makefile.target | 1 +
>>> hw/openrisc_s
Build error found by buildbot:
qga/commands-posix.c: In function 'qmp_guest_shutdown':
qga/commands-posix.c:65: error: 'environ' undeclared (first use in this
function)
qga/commands-posix.c:65: error: (Each undeclared identifier is reported only
once
qga/commands-posix.c:65: error: for each
On Wed, May 23, 2012 at 7:09 AM, Jia Liu wrote:
> Hi Blue,
>
> On Sat, May 19, 2012 at 3:22 PM, Blue Swirl wrote:
>> On Thu, May 17, 2012 at 8:35 AM, Jia Liu wrote:
>>> add the openrisc exception support.
>>>
>>> Signed-off-by: Jia Liu
>>> ---
>>> Makefile.target | 2 +-
>>> t
On 05/23/2012 08:59 AM, Stefan Weil wrote:
Am 23.05.2012 16:37, schrieb Michael Eager:
On 05/22/2012 11:18 PM, 陳韋任 wrote:
I'm investigating adding a new target architecture
to QEMU. Are there documents, how-to's, or other
guidance on how to approach this? Or any advice?
I noticed that there ar
Commit 3674838cd05268954bb6473239cd7f700a79bf0f uses the environ global
variable, but is relying on environ to be declared somewhere else.
This worked for me because on F16 environ is declared in , but
that doesn't happen in OpenBSD for example, causing a build failure.
This commit fixes the buil
On 05/22/12 17:29, Alon Levy wrote:
> We can't initialize QXLDevSurfaceCreate field by field because it has a
> pa hole, and so 4 bytes remain uninitialized when building on x86-64, so
> just memset.
So you get valgrind warnings for the hole? why? nobody should ever
access the hole, so the missi
On Tue, May 22, 2012 at 12:34 AM, Andreas Färber wrote:
> Am 21.05.2012 20:20, schrieb Blue Swirl:
>> On Mon, May 21, 2012 at 9:09 AM, Andreas Färber wrote:
>>> Am 14.05.2012 23:22, schrieb Blue Swirl:
On Mon, May 14, 2012 at 8:59 PM, Andreas Färber wrote:
> Am 14.05.2012 21:54, schrieb
Some systems may declare environ automatically, others don't. Check for it.
Signed-off-by: Luiz Capitulino
---
configure | 19 +++
1 file changed, 19 insertions(+)
diff --git a/configure b/configure
index b55a792..1f338f8 100755
--- a/configure
+++ b/configure
@@ -2831,6 +2831
On Wed, 23 May 2012 10:01:02 -0600
Eric Blake wrote:
> > #include
> > +#include
> > #include
> > #include
> > #include "qga/guest-agent-core.h"
> > @@ -20,6 +21,10 @@
> > #include "qemu-queue.h"
> > #include "host-utils.h"
> >
> > +#ifndef _GNU_SOURCE
> > +extern char **environ;
> > +
Il 23/05/2012 19:40, Andreas Färber ha scritto:
> Paolo, please let me know if you're okay with my commit messages, then I
> can override the author to be you as well (same for preceding one).
Don't worry, you have carte blanche. :)
Paolo
Am 23.05.2012 19:18, schrieb Paolo Bonzini:
> Il 23/05/2012 19:06, Andreas Färber ha scritto:
>> Am 02.05.2012 13:30, schrieb Paolo Bonzini:
>>> Now that Object is a type, add an instance_init function and push
>>> the "type" property from qdev to there.
>>>
>>> Signed-off-by: Paolo Bonzini
>>
>>
On 2012-05-23 13:02, Jan Kiszka wrote:
> On 2012-05-23 11:11, TeLeMan wrote:
>> On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka wrote:
>>> On 2012-05-23 04:09, TeLeMan wrote:
On Wed, May 23, 2012 at 11:41 AM, Andreas Färber wrote:
> Am 18.05.2012 11:49, schrieb TeLeMan:
>> This breakage
Il 23/05/2012 19:06, Andreas Färber ha scritto:
> Am 02.05.2012 13:30, schrieb Paolo Bonzini:
>> Now that Object is a type, add an instance_init function and push
>> the "type" property from qdev to there.
>>
>> Signed-off-by: Paolo Bonzini
>
> The rebased version from qdev-props-4 breaks and han
it's probably intermidiate step till cpu modeled as
sub-classes. After then we probably could drop it.
However it still could be used for overiding default
cpu subclasses definition, and probably renamed to
something like 'features'.
v2:
- remove accidential tcg_* init code move
Signed-off-by:
Make CPU creation/initialization consistent with QOM object
behavior in this, by moving tcg and apic initialization from board
level into CPU's initfn/realize calls and cpu_model property setter.
Which makes CPU object self-sufficient in respect of creation/initialization
and matches a typical obj
Am 02.05.2012 13:30, schrieb Paolo Bonzini:
> Now that Object is a type, add an instance_init function and push
> the "type" property from qdev to there.
>
> Signed-off-by: Paolo Bonzini
The rebased version from qdev-props-4 breaks and hangs `make check`:
GTESTER check-qtest-sparc
qemu-system-s
From: Stefan Hajnoczi
The vlan feature is implemented using hubs and no longer uses
special-purpose VLANState structs that are accessible as qdev
properties.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
hw/qdev-properties.c | 72 -
Il 23/05/2012 17:14, zwu.ker...@gmail.com ha scritto:
> From: Zhi Yong Wu
>
> Signed-off-by: Zhi Yong Wu
> ---
> net/queue.c |4 ++--
> net/slirp.c |7 ---
> net/tap.c|2 +-
> slirp/if.c |5 -
> slirp/libslirp.h |1 -
> 5 files changed, 3 inse
Am 02.05.2012 14:35, schrieb Andreas Färber:
> Am 02.05.2012 13:30, schrieb Paolo Bonzini:
>> This protects against unwanted effects of changing TYPE_OBJECT from
>> NULL to a string. Suggested by Andreas Faerber.
>>
>> Signed-off-by: Paolo Bonzini
>> ---
>> include/qemu/object.h |1 -
>> qom
Signed-off-by: Paolo Bonzini
---
hw/qdev-properties.c | 487 +
hw/qdev.c | 47 +
hw/qdev.h | 87 -
include/qemu/object.h | 98 ++
qom/object.c | 459 ++
From: Jan Kiszka
Push msi_supported enabling to the APIC implementations where we can
encapsulate the decision more cleanly, hiding the details from the
generic code.
Acked-by: Stefano Stabellini
Signed-off-by: Jan Kiszka
Signed-off-by: Marcelo Tosatti
---
hw/apic.c |3 +++
hw/pc.c
The property machinery uses DeviceState arguments in a few places.
Replace this with Object so that we can push properties up.
Signed-off-by: Paolo Bonzini
---
hw/qdev-addr.c | 19 +++---
hw/qdev-properties.c | 180 +-
hw/qdev.c
Am 16.05.2012 10:16, schrieb Andreas Färber:
> Am 02.05.2012 13:30, schrieb Paolo Bonzini:
>> Right now the base Object class has a special NULL type. Change this so
>> that we will be able to add class_init and class_base_init callbacks.
>> To do this, remove some special casing of ObjectClass th
Move from apic_init in pc.c, the code that belongs to apic_init_common.
Signed-off-by: Igor Mammedov
---
hw/apic_common.c | 11 +++
hw/msi.h |2 ++
hw/pc.c | 12
3 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/hw/apic_common.c b/hw/a
From: Igor Mammedov
MP initialization protocol differs between cpu families, and for P6 and
onward models it is up to CPU to decide if it will be BSP using this
protocol, so try to model this. However there is no point in implementing
MP initialization protocol in qemu. Thus first CPU is always m
On 23 May 2012 17:39, Igor Mammedov wrote:
> @@ -295,6 +297,15 @@ static int apic_init_common(SysBusDevice *dev)
>
> sysbus_init_mmio(dev, &s->io_memory);
>
> + /* XXX: mapping more APICs at the same memory location */
> + if (apic_mapped == 0) {
> + /* NOTE: the APIC is directly
Moving reset callback into cpu object from board level will allow
properly create object during run-time (hotplug).
When reset over QOM hierarchy is implemented, this reset callback
should be removed.
v2:
- fix build for i386-linux-target
Signed-off-by: Igor Mammedov
---
hw/pc.c |
Moving code related to CPU creation and initialization internal parts
from board level into apic and cpu objects will allow X86CPU to better
model QOM object life-cycle.
It will allow to create X86CPU as any other object by creating it with
object_new() then setting properties and then calling x86_
qdev properties use the state member (an embryo of the "realized"
property) in order to disable setting them after a device has been
initialized. So, in order to push qdev properties up to Object
we need to push this bit there too.
Signed-off-by: Paolo Bonzini
---
hw/qdev-addr.c|3 +
From: Peter Maydell
Add a new QError QERR_PROPERTY_SET_AFTER_REALIZE for attempts
to set a QOM or qdev property after the object/device has been
realized. This allows a slightly more informative diagnostic
than the previous "Insufficient permission" message.
Signed-off-by: Peter Maydell
Signed-
On Wed, May 23, 2012 at 12:57:11PM -0300, Luiz Capitulino wrote:
> On Wed, 23 May 2012 11:35:49 -0300
> Luiz Capitulino wrote:
>
> > > Maybe we need a patch to declare environ for openbsd
> >
> > Yes, I have the patch already but am installing openbsd on a VM to test it.
>
> I'm getting lots of
On 05/23/2012 01:48 AM, Peter Zijlstra wrote:
> On Wed, 2012-05-23 at 16:34 +0800, Liu ping fan wrote:
>> > so we need to migrate some of vcpus from node-B to node-A, or to
>> > node-C.
> This is absolutely broken, you cannot do that.
>
> A guest task might want to be node affine, it looks at the
Can be replaced everywhere with object_property_find.
Signed-off-by: Paolo Bonzini
---
hw/qdev-properties.c |5 -
hw/qdev.c |2 +-
hw/qdev.h |1 -
hw/scsi-bus.c |2 +-
include/qemu/object.h |9 +
qom/object.c |2 +-
6
On 05/23/2012 10:08 AM, Crístian Viana wrote:
>> So when you posted the previous version of your patch it was pointed
>> out that this is a buffer overflow:
>> http://lists.gnu.org/archive/html/qemu-devel/2012-04/msg01657.html
>>
>> You need to fix this.
>
> I have sent a reply to that thread exp
On Wed, 23 May 2012 18:06:18 +0200
Paolo Bonzini wrote:
> Il 23/05/2012 17:57, Luiz Capitulino ha scritto:
> > On Wed, 23 May 2012 11:35:49 -0300
> > Luiz Capitulino wrote:
> >
> >>> Maybe we need a patch to declare environ for openbsd
> >>
> >> Yes, I have the patch already but am installing o
Hi Peter,
Thanks for all your tips!
OK, this has been bugging me for the last three versions, and
since I'm complaining about other things anyway: can you reword
this commit message, please, so that it is a standalone paragraph
explaining (a) what the commit does and (b) why it is doing it, rat
Il 23/05/2012 17:57, Luiz Capitulino ha scritto:
> On Wed, 23 May 2012 11:35:49 -0300
> Luiz Capitulino wrote:
>
>>> Maybe we need a patch to declare environ for openbsd
>>
>> Yes, I have the patch already but am installing openbsd on a VM to test it.
>
> I'm getting lots of make errors on openb
Am 23.05.2012 17:32, schrieb Kevin Wolf:
Am 23.05.2012 17:29, schrieb Stefan Weil:
Am 23.05.2012 10:09, schrieb Stefan Hajnoczi:
On Tue, May 22, 2012 at 10:23 PM, Stefan Weil wrote:
The local variables ret, i are only used if __linux__ is defined.
Signed-off-by: Stefan Weil
---
hw/virtio
On 2012-05-23 11:11, TeLeMan wrote:
> On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka wrote:
>> On 2012-05-23 04:09, TeLeMan wrote:
>>> On Wed, May 23, 2012 at 11:41 AM, Andreas Färber wrote:
Am 18.05.2012 11:49, schrieb TeLeMan:
> This breakage was introduced by the commit "memory: make
>>>
On 05/23/2012 09:57 AM, Luiz Capitulino wrote:
>
> Anyone knows what I did wrong? Or, if anybody could test the attached fix...
Sorry, I'm not in a position to test the patch, but I can at least
review it.
>
>
> 0001-qemu-ga-Fix-missing-environ-declarion.patch
>
>
>>From 4a3f4cff8aa27fe3810
From: Stefan Hajnoczi
VLANState is no longer used and can be removed.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
net.c | 127 ++---
net.h |8
net/socket.c |6 +-
net/tap.c |6 +-
net/
Am 23.05.2012 16:37, schrieb Michael Eager:
On 05/22/2012 11:18 PM, 陳韋任 wrote:
I'm investigating adding a new target architecture
to QEMU. Are there documents, how-to's, or other
guidance on how to approach this? Or any advice?
I noticed that there are a number of directories for
architecture
From: Stefan Hajnoczi
Since hubs are now used to implement the 'vlan' feature and the vlan
argument is always NULL, remove the argument entirely and update all net
clients that use qemu_new_net_client().
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
net.c | 27
On Wed, 23 May 2012 11:35:49 -0300
Luiz Capitulino wrote:
> > Maybe we need a patch to declare environ for openbsd
>
> Yes, I have the patch already but am installing openbsd on a VM to test it.
I'm getting lots of make errors on openbsd 4.9:
"Makefile", line 7: Missing dependency operator
"/r
Some classes may present objects differently in errors, for example if they
are not part of the composition tree or if they are not assigned an id by
the user. Let them do this with a get_id method on Object, and use the
method consistently where a %(device) appears in the error.
Signed-off-by: P
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
net/queue.c |4 ++--
net/slirp.c |7 ---
net/tap.c|2 +-
slirp/if.c |5 -
slirp/libslirp.h |1 -
5 files changed, 3 insertions(+), 16 deletions(-)
diff --git a/net/queue.c b/net/queue.c
index 0
On Wed, 2012-05-23 at 08:23 -0700, Dave Hansen wrote:
> On 05/23/2012 01:48 AM, Peter Zijlstra wrote:
> > On Wed, 2012-05-23 at 16:34 +0800, Liu ping fan wrote:
> >> > so we need to migrate some of vcpus from node-B to node-A, or to
> >> > node-C.
> > This is absolutely broken, you cannot do that.
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
net.c | 35 +++
net.h | 11 +++
net/queue.c | 13 -
net/queue.h | 17 ++---
4 files changed, 28 insertions(+), 48 deletions(-)
diff --git a/net.c b/net.c
index 8
From: Stefan Hajnoczi
The vlan implementation in net.c has been replaced by hubs so we can
remove the code.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
hw/xen_nic.c |1 -
net.c| 108 --
net.h|1
From: Stefan Hajnoczi
Checks can be performed to make sure that hubs have at least one NIC and
one host device, warning the user if this is not the case.
Configurations which do not meet this rule tend to be broken but just
emit a warning. This patch preserves compatibility with the checks
perfo
Am 23.05.2012 01:26, schrieb Daniel Verkamp:
As in the SATA and AHCI specifications, a FIS is 5 Dwords of 4 bytes
each, which comes to 20 bytes (decimal), not 0x20.
Signed-off-by: Daniel Verkamp
---
hw/ide/ahci.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/i
1 - 100 of 214 matches
Mail list logo