Initial Mapping creation for secondary CPU in SMP was missing new MMU API.
Signed-off-by: Bharat Bhushan
---
hw/ppce500_spin.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c
index 6b8a189..e8cf154 100644
--- a/hw/ppce500_spin.c
+++
> Another question, how can I boot up Android on QEMU?
IIRC, QEMU is lack of some hw support needed by Android platform, so the
answer might be no.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-379
Eduardo Habkost wrote:
> On Tue, Mar 20, 2012 at 12:53:57PM +, Liu, Jinsong wrote:
>> Rik van Riel wrote:
>>> On 03/09/2012 01:27 PM, Liu, Jinsong wrote:
>>>
As for 'tsc deadline' feature exposing, my patch (as attached) just
obey qemu general cpuid exposing method, and also satisfie
On 03/22/2012 12:30 PM, Rusty Russell wrote:
On Wed, 21 Mar 2012 08:37:46 +0200, "Michael S. Tsirkin"
wrote:
Ah. Right, we need to trap for host to clear the bit.
OK, so let's make the bit RO, and add
VIRTIO_NET_CTRL_ANNOUNCED to acknowledge that we've
seen VIRTIO_NET_S_ANNOUNCE using the cont
On Thu, Mar 22, 2012 at 01:53:33PM +0200, Michael S. Tsirkin wrote:
> On Thu, Mar 22, 2012 at 08:09:27PM +1100, David Gibson wrote:
> > diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
> > index a0fb7c1..1fd5768 100644
> > --- a/hw/virtio-pci.c
> > +++ b/hw/virtio-pci.c
> > @@ -790,6 +790,10 @@ stati
On Thu, Mar 22, 2012 at 02:50:25PM +0100, Wei Wang wrote:
> On 03/22/2012 03:14 AM, David Gibson wrote:
> >Here's another version of my series implementing the nevessary
> >framework for emulation of guest-visible IOMMUs. I've incorporated
> >the feedback from the last posting. I'm fairly confide
On Thu, Mar 22, 2012 at 11:00:57AM +0100, Gerd Hoffmann wrote:
> Hi,
>
> > -#include "hw/qdev-addr.h"
> > +//#include "hw/qdev-addr.h"
>
> Minor nit: Just zap it instead of leaving it in commented out.
Oops, fixed.
> Looks fine otherwise.
>
> Acked-by: Gerd Hoffmann
>
> cheers,
> Gerd
>
On Thu, Mar 22, 2012 at 10:01 PM, Peter Maydell
wrote:
> On 22 March 2012 13:36, Jia Liu wrote:
>> Jia Liu (4):
>> add MIPS DSP helpers define
>> add MIPS DSP helpers implement
>> add MIPS DSP translation
>> add MIPS DSP testcase
>
> You can't split these changes into patches like this.
> Eve
On Thu, Mar 22, 2012 at 10:03 PM, Peter Maydell
wrote:
> On 22 March 2012 13:36, Jia Liu wrote:
>> This is the MIPS ASE DSP Support for Qemu.
>> Jia Liu (4):
>> add MIPS DSP helpers define
>> add MIPS DSP helpers implement
>> add MIPS DSP translation
>> add MIPS DSP testcase
>
> Most of these
On Thu, Mar 22, 2012 at 9:54 PM, Peter Maydell wrote:
> On 22 March 2012 13:36, Jia Liu wrote:
>> This is the helper implementation of MIPS ASE DSP.
>>
>> Signed-off-by: Jia Liu
>
> git am complains about this patch:
> Applying: add MIPS DSP helpers implement
> /home/petmay01/linaro/qemu-from-la
Signed-off-by: Lluís Vilanova
---
scripts/tracetool/backend/simple.py | 60 +++
1 files changed, 60 insertions(+), 0 deletions(-)
create mode 100644 scripts/tracetool/backend/simple.py
diff --git a/scripts/tracetool/backend/simple.py
b/scripts/tracetool/backen
Signed-off-by: Lluís Vilanova
---
scripts/tracetool.py| 31 ++
scripts/tracetool/__init__.py |8 +++
scripts/tracetool/backend/dtrace.py | 104 +++
scripts/tracetool/format/d.py | 20 +++
scripts/tracetool/format/sta
Signed-off-by: Lluís Vilanova
---
scripts/tracetool/format/h.py | 45 +
1 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644 scripts/tracetool/format/h.py
diff --git a/scripts/tracetool/format/h.py b/scripts/tracetool/format/h.py
new fil
Signed-off-by: Lluís Vilanova
---
scripts/tracetool/backend/stderr.py | 61 +++
1 files changed, 61 insertions(+), 0 deletions(-)
create mode 100644 scripts/tracetool/backend/stderr.py
diff --git a/scripts/tracetool/backend/stderr.py
b/scripts/tracetool/backen
Signed-off-by: Lluís Vilanova
---
scripts/tracetool/backend/ust.py | 102 ++
1 files changed, 102 insertions(+), 0 deletions(-)
create mode 100644 scripts/tracetool/backend/ust.py
diff --git a/scripts/tracetool/backend/ust.py b/scripts/tracetool/backend/ust.
Signed-off-by: Lluís Vilanova
---
MAINTAINERS |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index f83d07c2..0e66dd8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -548,6 +548,8 @@ Tracing
M: Stefan Hajnoczi
S: Maintained
F: trace/
+F: scrip
Signed-off-by: Lluís Vilanova
---
Makefile.objs |6
Makefile.target | 13 -
configure |4
scripts/tracetool | 648 -
scripts/tracetool.py |
Signed-off-by: Lluís Vilanova
---
scripts/tracetool/format/c.py | 20
1 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 scripts/tracetool/format/c.py
diff --git a/scripts/tracetool/format/c.py b/scripts/tracetool/format/c.py
new file mode 100644
index 0
A full rewrite of the tracetool script using per-format and per-backend modules,
so that it's easier to read and extend it in the future.
Signed-off-by: Lluís Vilanova
---
NOTE: This series applies in current master, ignoring the "Rewrite tracetool
using python" series.
Lluís Vilanova (8):
Signed-off-by: Paolo Bonzini
---
QMP/qmp-spec.txt | 20 +---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/QMP/qmp-spec.txt b/QMP/qmp-spec.txt
index 9d30a8c..1ba916c 100644
--- a/QMP/qmp-spec.txt
+++ b/QMP/qmp-spec.txt
@@ -209,13 +209,27 @@ incompatible way are
Right now, the semantics of next_list are complicated. The caller must:
* call start_list
* call next_list for each element *including the first*
* on the first call to next_list, the second argument should point to
NULL and the result is the head of the list. On subsequent calls,
the second a
On 03/22/2012 04:24 PM, Paolo Bonzini wrote:
Il 22/03/2012 21:22, Anthony Liguori ha scritto:
Signed-off-by: Paolo Bonzini
I've been staring a this patch for the past 5 minutes and I can't figure
out what's going on here.
Maybe the code was too obscure to begin with. Could you enhance the
c
On Wed, 21 Mar 2012 08:37:46 +0200, "Michael S. Tsirkin"
wrote:
> Ah. Right, we need to trap for host to clear the bit.
> OK, so let's make the bit RO, and add
> VIRTIO_NET_CTRL_ANNOUNCED to acknowledge that we've
> seen VIRTIO_NET_S_ANNOUNCE using the control VQ?
Thanks, that's nice. Guest sho
Il 22/03/2012 21:22, Anthony Liguori ha scritto:
>>
>> Signed-off-by: Paolo Bonzini
>
> I've been staring a this patch for the past 5 minutes and I can't figure
> out what's going on here.
>
> Maybe the code was too obscure to begin with. Could you enhance the
> commit message a bit with what's
On Thu, 22 Mar 2012 15:28:00 -0500
Anthony Liguori wrote:
> On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
> > Signed-off-by: Paolo Bonzini
>
> Reviewed-off-by: Anthony Liguori
>
> Looks good overall. I think documentation is the only real issue.
>
> I assume this will go through Luiz's tree?
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
Signed-off-by: Paolo Bonzini
Reviewed-off-by: Anthony Liguori
Looks good overall. I think documentation is the only real issue.
I assume this will go through Luiz's tree?
Regards,
Anthony Liguori
---
scripts/qapi-commands.py |2 +-
1 f
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
"O" is being used by the transaction and qom-set commands to mean "any
QObject", but it really means "do not validate the argument list".
Add a new specifier with the correct meaning.
Signed-off-by: Paolo Bonzini
Reviewed-by: Anthony Liguori
Regar
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
While QMP in general is designed so that it is possible to ignore
unknown arguments, in the case of the QMP server it is better to
reject them to detect bad clients. In fact, we're already doing
this at the top level in the argument checker. To exten
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
This is a slight change in the implementation of QMPInputVisitor
that helps when adding strict mode.
Const QObjects cannot be inc/decref-ed, and that's why QMPInputVisitor
relies heavily on weak references to inner objects. I'm not removing
the weak
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
Tweak a bit the code so that there is cleaner separation between
operation on the list and operation on the output. The next patch
requires this change.
Signed-off-by: Paolo Bonzini
I've been staring a this patch for the past 5 minutes and I can't
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
Objects going through the dealloc visitor can be only partially allocated.
Detect the situation and avoid a segfault. This also helps with the
input visitor, when there are errors.
Signed-off-by: Paolo Bonzini
Reviewed-by: Anthony Liguori
Regards
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
We can exit very soon if we enter a visitor with a preexisting error.
This simplifies some cases because we will not have to deal with
obj being non-NULL while *obj is NULL.
Signed-off-by: Paolo Bonzini
Reviewed-by: Anthony Liguori
Regards,
Antho
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
QmpInputVisitor would leak the malloced struct if the stack was
overflowed. This can be easily fixed using error_propagate.
Signed-off-by: Paolo Bonzini
Reviewed-by: Anthony Liguori
Regards,
Anthony Liguori
---
qapi/qmp-input-visitor.c |
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
QmpOutputVisitor will segfault if an imbalanced end function is
called. So we can abort in QmpInputVisitor too.
Signed-off-by: Paolo Bonzini
Reviewed-by: Anthony Liguori
Regards,
Anthony Liguori
---
qapi/qmp-input-visitor.c |5 +
1
On 03/22/2012 06:51 AM, Paolo Bonzini wrote:
There is no test case for parse errors, add one.
Signed-off-by: Paolo Bonzini
Reviewed-by: Anthony Liguori
Regards,
Anthony Liguori
---
test-qmp-input-visitor.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
d
On 03/22/2012 12:14 PM, Eduardo Habkost wrote:
On Thu, Mar 22, 2012 at 11:37:39AM -0500, Anthony Liguori wrote:
On 03/22/2012 04:32 AM, Gleb Natapov wrote:
On Tue, Mar 13, 2012 at 11:53:19AM -0300, Eduardo Habkost wrote:
So, this problem is solved if the defaults are easily found on
/usr/share
On 03/22/2012 11:01 AM, Julien Grall wrote:
QEMU will now register PCI in Xen. It will usefull to forward
IO config space to the right QEMU.
Before to register a PCI device, QEMU will check with XenStore if it is
autorized to register the PCI associate to a given BDF.
Signed-off-by: Julien Gral
This patchs permits to allocate more special pages. Indeed, for multiple
ioreq server, we need to have 2 shared pages by server.
xc_hvm_build will take an argument which will indicate the number of
special pages we want to allocate.
Signed-off-by: Julien Grall
---
tools/libxc/xc_hvm_build.c |
Il 22/03/2012 15:35, Jan Kiszka ha scritto:
>> @@ -167,9 +164,6 @@ int inet_aton(const char *cp, struct in_addr *ia);
>> #include "bootp.h"
>> #include "tftp.h"
>>
>> -/* osdep.c */
>> -int qemu_socket(int domain, int type, int protocol);
>> -
>> #define ETH_ALEN 6
>> #define ETH_HLEN 14
>>
Hi,
At 15:59 + on 22 Mar (1332431961), Julien Grall wrote:
> Julien Grall (15):
> xc: Add the hypercall for multiple servers
> xc: Add argument to allocate more special pages
> xc: Fix python build
Shouldn't something here update xc_domain_save/xc_domain_restore?
Cheers,
Tim.
* Register QEMU in Xen as server
* Retrieve it's own shared pages
* Check if the page is already mapping before to populate
Signed-off-by: Julien Grall
---
xen-all.c | 62 ++--
1 files changed, 59 insertions(+), 3 deletions(-)
diff --git
As for the normal IO, Xen browses the ranges to find which server
is able to handle the IO.
There is a special case for IOREQ_TYPE_TIMEOFFSET. Indeed,
this IO must be send to all servers.
For that we have introduce a new function hvm_buffered_io_send_to_server,
which send an IO to a specify server.
This modify several parts of the IO handle.
Each vcpu now contains a pointer to the current IO shared page.
A default shared page has been created for IO handle by Xen.
Each time that Xen receives an ioreq, it will use the default
shared page and set the right shared page when it's able to
know the
This patch series concerns QEMU. Another serie has already came for Xen.
As we discussed on Xen/QEMU mailing list
(http://marc.info/?l=qemu-devel&m=133042969527515), I have worked on multiple
QEMU support for one domain.
QEMU must registered all IO ranges (MMIO and PIO) and PCI that it's want's t
Stefan Hajnoczi writes:
> Yesterday I only posted an analysis of the bug but here are some
> thoughts on how to move forward. Throttling itself is not the problem.
> We've known that synchronous operations in the vcpu thread are a problem
> long before throttling. This is just another reason to
With this option, QEMU knows it's ID and can retrieve it's configuration
from XenStore.
Signed-off-by: Julien Grall
---
hw/xen.h|1 +
qemu-options.hx |2 ++
vl.c|8
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/hw/xen.h b/hw/xen.h
index
This ioreq type is introduced to handle easily the access
to the PCI config space. Indeed, all PCI config spaces are access
by the same IO ports (cf8 -> cff).
Signed-off-by: Julien Grall
---
xen-all.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/xen-all.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=802435 together with
patches for coolkey. coolkey patches are at:
git://people.freedesktop.org/~alon/coolkey bz806038.remove_fake
Alon Levy (3):
libcacard/vcard_emul_nss: don't stop thread when there are no slots
libcacard/vcard_emul_nss: han
This patchs add functions to help to :
- create/destroy server
- map/unmap IO range to a server
Signed-off-by: Julien Grall
---
xen/arch/x86/hvm/hvm.c | 352
1 files changed, 352 insertions(+), 0 deletions(-)
diff --git a/xen/arch/x86/hvm/hv
This patch add 5 hypercalls to register server, io range and PCI.
Signed-off-by: Julien Grall
---
tools/libxc/xc_domain.c | 140 +++
tools/libxc/xenctrl.h | 13
2 files changed, 153 insertions(+), 0 deletions(-)
diff --git a/tools/libxc/xc_d
QEMU will now register PCI in Xen. It will usefull to forward
IO config space to the right QEMU.
Before to register a PCI device, QEMU will check with XenStore if it is
autorized to register the PCI associate to a given BDF.
Signed-off-by: Julien Grall
---
hw/pci.c |6 +
xen-all.c |
QEMU will now register all memory range (PIO and MMIO) in Xen.
We distinct two phases in memory registered :
- initialization
- running
For all range registered during the initialization, QEMU will
check with XenStore if it is authorized to use them.
After the initialization, QEMU can register
This patch permits to launch and destroy all device models.
For the moment it's a fork of libxl__build_device*
Signed-off-by: Julien Grall
---
tools/libxl/libxl.c |8 +-
tools/libxl/libxl_create.c | 30 +-
tools/libxl/libxl_dm.c | 225 +
For the support of multiple ioreq server, we add a new option "device_models".
It's an array of device model, for each device model, we need to specify
which pci, IO range (MMIO, PIO) will be allow.
For instance, if we want a QEMU which handle a specify PCI:
name=net, path=/path/to/qemu-wrapper,
This patch series concerns Xen. Another serie will come for QEMU.
As we discussed on Xen/QEMU mailing list
(http://marc.info/?l=qemu-devel&m=133042969527515), I have worked on multiple
QEMU support for one domain.
QEMU must registered all IO ranges (MMIO and PIO) and PCI that it's want's to
use t
On 03/22/2012 03:14 AM, David Gibson wrote:
Here's another version of my series implementing the nevessary
framework for emulation of guest-visible IOMMUs. I've incorporated
the feedback from the last posting. I'm fairly confident that
preliminary patches 1-3 are ready to go in, the rest might
With the support of multiple device, the qmp library needs to know
which device model is currently used.
Signed-off-by: Julien Grall
---
tools/libxl/libxl_internal.h |9 +
tools/libxl/libxl_qmp.c | 24 +---
2 files changed, 18 insertions(+), 15 deletions(-)
This patch add a structure with contain all informations about
a device model.
Signed-off-by: Julien Grall
---
tools/libxl/libxl.h |4 ++--
tools/libxl/libxl_internal.h |1 +
tools/libxl/libxl_types.idl | 11 +++
3 files changed, 14 insertions(+), 2 deletions(-)
diff
This patch modifies initialization and the destruction of an hvm
Signed-off-by: Julien Grall
---
xen/arch/x86/hvm/hvm.c | 33 ++---
1 files changed, 10 insertions(+), 23 deletions(-)
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index e7a8f18..1b3876
When starting with no readers, coolkey should show no slots (with
RHBZ 806038 fixed). Fix initialization to launch the event handling
thread for each module that isn't the internal module regardless of the
number of slots detected for it at initialization time, since slot
number may start as 0 and
Signed-off-by: Alon Levy
---
libcacard/vcard_emul_nss.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/libcacard/vcard_emul_nss.c b/libcacard/vcard_emul_nss.c
index bdc3c79..7de5d5b 100644
--- a/libcacard/vcard_emul_nss.c
+++ b/libcacard/vcard_emul_nss.c
@@ -682,8 +682,19 @@ v
Older coolkey versions (before the future fix of RHBZ 802435) have
a fake card reader created if no reader is detected during module
initialization. Warn libcacard users if the faulty coolkey is detected
by checking for the fake reader name "E-Gate 0 0".
Signed-off-by: Alon Levy
---
libcacard/vc
Quickly fix for hvm_build in python.
Signed-off-by: Julien Grall
---
tools/python/xen/lowlevel/xc/xc.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools/python/xen/lowlevel/xc/xc.c
b/tools/python/xen/lowlevel/xc/xc.c
index 7c89756..eb004b6 100644
--- a/tools/pytho
Add structure to handle ioreq server. It's server which can
handle a range of IO (MMIO and/or PIO) and emulate a PCI.
Each server as its own shared page to receive ioreq. So
we have introduced to HVM PARAM to set/get the first and
the last shared used for ioreq. With it's id, the server
knows which
When an invalidate mapcache cache occurs, Xen need to send and
IOREQ_TYPE_INVALIDATE to each server and wait that all IO is completed.
We introduce a new function hvm_wait_on_io to wait until an IO is completed.
Signed-off-by: Julien Grall
---
xen/arch/x86/hvm/hvm.c | 41 ++
This patch remove useless hvm_param due to structure modification
and bind the new hypercalls to handle ioreq servers and pci.
Signed-off-by: Julien Grall
---
xen/arch/x86/hvm/hvm.c | 127 ++--
1 files changed, 80 insertions(+), 47 deletions(-)
diff
Add interface for the new xen hypercalls
Signed-off-by: Julien Grall
---
hw/xen.h |3 +++
xen-all.c |2 ++
xen-stub.c | 13 +
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/hw/xen.h b/hw/xen.h
index b056b13..a76616f 100644
--- a/hw/xen.h
+++ b/hw/xen.h
@
On 2012-03-22 17:01, Julien Grall wrote:
> QEMU will now register PCI in Xen. It will usefull to forward
> IO config space to the right QEMU.
>
> Before to register a PCI device, QEMU will check with XenStore if it is
> autorized to register the PCI associate to a given BDF.
>
> Signed-off-by: Ju
On 2012-03-22 17:01, Julien Grall wrote:
> QEMU will now register all memory range (PIO and MMIO) in Xen.
> We distinct two phases in memory registered :
> - initialization
> - running
>
> For all range registered during the initialization, QEMU will
> check with XenStore if it is authorized t
Add function to register a bdf with a server.
To handle cf8 -> cff we add an handler with register_portio_handle.
When Xen reveice a pio for cf8, it's store the value inside the current
vcpu until it receives a pio for cfc -> cff.
In this case, it checks if the bdf is registered and forge the ioreq
On 2012-03-22 17:01, Julien Grall wrote:
> With this option, QEMU knows it's ID and can retrieve it's configuration
> from XenStore.
Isn't this better modeled as a (Xen) machine option? I'd like to avoid
more "special" command line switch proliferation.
Jan
signature.asc
Description: OpenPGP
On Thu, Mar 22, 2012 at 11:37:39AM -0500, Anthony Liguori wrote:
> On 03/22/2012 04:32 AM, Gleb Natapov wrote:
> >On Tue, Mar 13, 2012 at 11:53:19AM -0300, Eduardo Habkost wrote:
> >>So, this problem is solved if the defaults are easily found on
> >>/usr/share.
> >>
> >What problem is solved and wh
On 22/03/2012 16:28, Stefan Hajnoczi wrote:
On Wed, Mar 21, 2012 at 1:01 PM, Andreas Färber wrote:
Hi,
Am 21.03.2012 11:45, schrieb Lee Essen:
I've been trying to find a sensible way to solve the Solaris/Illumos
dtrace requirement to pass all the objs to the dtrace command so that
the resulta
Unfortunately, pa_simple is a limited API which doesn't let us
retrieve the associated pa_stream. It is needed to control the volume
of the stream.
In v4:
- add missing braces
Signed-off-by: Marc-André Lureau
---
audio/paaudio.c | 377 +--
1
On 03/22/2012 04:32 AM, Gleb Natapov wrote:
On Tue, Mar 13, 2012 at 11:53:19AM -0300, Eduardo Habkost wrote:
So, trying to summarize what was discussed in the call:
On Mon, Mar 12, 2012 at 10:08:10AM -0300, Eduardo Habkost wrote:
Let's say we moved CPU definitions to /usr/share/qemu/cpu-models
On Wed, Mar 21, 2012 at 1:01 PM, Andreas Färber wrote:
> Hi,
>
> Am 21.03.2012 11:45, schrieb Lee Essen:
>> I've been trying to find a sensible way to solve the Solaris/Illumos
>> dtrace requirement to pass all the objs to the dtrace command so that
>> the resultant object file contains all the sy
It's a case by case (see Table 66. AC ‘97 Baseline Audio Register Map)
Signed-off-by: Marc-André Lureau
---
hw/ac97.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/hw/ac97.c b/hw/ac97.c
index f2804e6..f7866ed 100644
--- a/hw/ac97.c
+++ b/hw/ac97.c
@@ -118,7 +118,6 @@ e
Add a new PCM control operation to update the stream volume on the
audio backend. The argument given is a SWVoiceOut/SWVoiceIn.
v4:
- verified other backends didn't fail/assert on this new control
they randomly return 0 or -1, but we ignore return value.
Signed-off-by: Marc-André Lureau
---
That code doesn't compile. The interesting bits for volume control are
going to be rewritten in the following patch.
Signed-off-by: Marc-André Lureau
---
hw/ac97.c | 121 -
1 files changed, 0 insertions(+), 121 deletions(-)
diff --git
Combine output volume with Master and PCM registers values.
Use default values in mixer_reset ().
Set volume on post-load to update backend values.
v4,v5:
- fix some code style
Signed-off-by: Marc-André Lureau
---
hw/ac97.c | 81 +
1
If the audio backend is capable of volume control, don't apply
software volume (mixeng_volume ()), but instead, rely on backend
volume control. This will allow guest to have full range volume
control.
Signed-off-by: Marc-André Lureau
---
audio/audio.c |9 +++--
audio/audio_int.h
On Thu, Mar 22, 2012 at 04:30:55PM +0200, Gleb Natapov wrote:
> On Thu, Mar 22, 2012 at 10:31:21AM -0300, Eduardo Habkost wrote:
> > On Thu, Mar 22, 2012 at 11:32:44AM +0200, Gleb Natapov wrote:
> > > What does this mean? Will -nodefconfig disable loading of bios.bin,
> > > option roms, keymaps?
>
Use Spice server volume control API when available.
Signed-off-by: Marc-André Lureau
---
audio/spiceaudio.c | 41 +
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/audio/spiceaudio.c b/audio/spiceaudio.c
index f972110..6f15591 100644
---
On Thu, Mar 22, 2012 at 2:17 PM, Paolo Bonzini wrote:
> Il 22/03/2012 15:15, Benoît Canet ha scritto:
>>
>> I added this flag after seeing the following code in in bdrv_open_common.
>>
>> /*
>> * Clear flags that are internal to the block layer before opening the
>> * image.
>>
Without MIXEMU, volume control on the guest doesn't work (except when
volume is applied by guest "emulation", in Win7 for example).
Instead rely on backend volume support, or fallback on mixeng if
backend doesn't support volume control, except if mixemu is disabled
with QEMU_MIXEMU=0.
Signed-off-
Signed-off-by: Marc-André Lureau
---
audio/paaudio.c | 99 ---
1 files changed, 94 insertions(+), 5 deletions(-)
diff --git a/audio/paaudio.c b/audio/paaudio.c
index 6f50c1c..e6708d0 100644
--- a/audio/paaudio.c
+++ b/audio/paaudio.c
@@ -677,
Signed-off-by: Marc-André Lureau
---
configure |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 8b4e3c1..907a655 100755
--- a/configure
+++ b/configure
@@ -1847,9 +1847,9 @@ for drv in $audio_drv_list; do
;;
pa)
-audio_drv_p
Hi,
This patch series implements client-side audio volume support. This reduces
confusion of guest users when volume control is not effective (because mixemu
is disabled or because client-side is muted and can't be unmuted by the guest..)
Instead, the backend is responsible for applying volume
Am 22.03.2012 15:37, schrieb Gerd Hoffmann:
>>> +.driver = "USB",
>>> +.property = "full-path",
>>> +.value= "no",
>>
>> This touches on our "favorite" bit/bool topic again. While I agree that
>> "no" makes sense for a property of that name, the current cod
Basically, the main wait loop calls qemu_run_all_timers() unconditionally. The
first thing this routine used to do is to see if a timer had been serviced,
and then reset the loop timeout to the next deadline.
However, the new deadlines had not been calculated at that point, as
qemu_run_timers() ha
For one, while non-functional, this patch should probably be reviewed by
the block maintainer to not interfere with already queued patches.
Then the subject should indicate which part of code it touches, like
"block: " or "block/raw-posix.c: ". If Kevin agrees to merge this patch
I would suggest t
Hi,
>> +.driver = "USB",
>> +.property = "full-path",
>> +.value= "no",
>
> This touches on our "favorite" bit/bool topic again. While I agree that
> "no" makes sense for a property of that name, the current code still
> expects "on" and "off". In parti
On 2012-03-22 01:02, Paolo Bonzini wrote:
> Right now, slirp/slirp.h cannot include some system headers and,
> indirectly, qemu_socket.h. Clean this up, and remove a duplicate
> prototype that was introduced because of that.
>
>
> Signed-off-by: Paolo Bonzini
> ---
> slirp/slirp.h |8 +
On Thu, Mar 22, 2012 at 10:31:21AM -0300, Eduardo Habkost wrote:
> On Thu, Mar 22, 2012 at 11:32:44AM +0200, Gleb Natapov wrote:
> > On Tue, Mar 13, 2012 at 11:53:19AM -0300, Eduardo Habkost wrote:
> > > So, trying to summarize what was discussed in the call:
> > >
> > > On Mon, Mar 12, 2012 at 10
Il 22/03/2012 15:15, Benoît Canet ha scritto:
>
> I added this flag after seeing the following code in in bdrv_open_common.
>
> /*
> * Clear flags that are internal to the block layer before opening the
> * image.
> */
> open_flags = flags & ~(BDRV_O_SNAPSHOT | BDRV_O_NO_BA
>It's not clear to me why we need to introduce this field to stash
>flags values. bs->open_flags already has this information.
>Originally this was introduced in 06d9260ffa9 ("qcow2: implement
>bdrv_invalidate_cache (v2)") for qcow2. I wonder if that field is
>necessary when we already have bs->
On Thu, Mar 22, 2012 at 02:46:48PM +0100, Andreas Färber wrote:
> Am 22.03.2012 14:28, schrieb Stefan Berger:
> > On 03/21/2012 08:33 AM, Eduardo Habkost wrote:
> >> Fix stupid copy&paste mistake at commit
> >> ecf40beae7dcbb057d4f115207f9d8276832a774: I moved code around but kept
> >> "optarg" on
On 22 March 2012 13:36, Jia Liu wrote:
> This is the MIPS ASE DSP Support for Qemu.
> Jia Liu (4):
> add MIPS DSP helpers define
> add MIPS DSP helpers implement
> add MIPS DSP translation
> add MIPS DSP testcase
Most of these patches generate lots of errors when run
through scripts/checkpatc
On 22 March 2012 13:36, Jia Liu wrote:
> Jia Liu (4):
> add MIPS DSP helpers define
> add MIPS DSP helpers implement
> add MIPS DSP translation
> add MIPS DSP testcase
You can't split these changes into patches like this.
Every patch needs to be complete of itself, and in particular
it has to
Am 22.03.2012 13:07, schrieb Gerd Hoffmann:
> ... to make vmstate id string truely unique with multiple host
> controllers, i.e. move from "1/usb-ptr" to ":00:01.3/1/usb-ptr"
> (usb tabled connected to piix3 uhci).
>
> This obviously breaks migration. To handle this the usb bus
> property "fu
1 - 100 of 187 matches
Mail list logo