The following changes since commit df58887b20fab8fe8a6dcca4db30cd4e4077d53a:
Merge remote-tracking branch
'remotes/mjt/tags/pull-trivial-patches-2015-01-15' into staging (2015-01-15
10:08:46 +)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/qemu/amit/migratio
> On 15 Jan 2015, at 22:41, Paolo Bonzini wrote:
>
>
>
> On 15/01/2015 21:53, Mark Burton wrote:
>>> Jan said he had it working at least on ARM (MusicPal).
>>
>> yeah - our problem is when we enable multi-threads - which I dont believe
>> Jan did…
>
> Multithreaded TCG, or single-threaded T
> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
> On 12/01/2015 13:01, Pavel Dovgalyuk wrote:
> > +void qemu_input_event_send(QemuConsole *src, InputEvent *evt)
> > {
> > -QemuInputHandlerState *s;
> > -
> > if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) {
> >
On Tue, Dec 23, 2014 at 06:30:19AM -0600, Michael Roth wrote:
> From: Mike Day
Even simple patches should have commit messages.
> Signed-off-by: Mike Day
> Signed-off-by: Michael Roth
> ---
> hw/ppc/spapr_rtas.c | 35 +++
> 1 file changed, 35 insertions(+)
>
>
On Tue, Dec 23, 2014 at 06:30:18AM -0600, Michael Roth wrote:
> From: Mike Day
>
> Signed-off-by: Mike Day
> Signed-off-by: Michael Roth
> ---
> hw/ppc/spapr_rtas.c | 80
> +
> 1 file changed, 80 insertions(+)
>
> diff --git a/hw/ppc/spapr_
On Tue, Dec 23, 2014 at 06:30:17AM -0600, Michael Roth wrote:
> From: Nathan Fontenot
>
> Signed-off-by: Nathan Fontenot
> Signed-off-by: Michael Roth
> ---
> hw/ppc/spapr_rtas.c | 25 +
> 1 file changed, 25 insertions(+)
>
> diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/s
On Tue, Dec 23, 2014 at 06:30:15AM -0600, Michael Roth wrote:
> This adds a general overview of hotplug/dynamic-reconfiguration
> for sPAPR/pSeries guest.
>
> As specified in PAPR+ v2.7.
>
> Signed-off-by: Michael Roth
> ---
> docs/specs/ppc-spapr-hotplug.txt | 287
> ++
On Tue, Dec 23, 2014 at 06:30:16AM -0600, Michael Roth wrote:
> This device emulates a firmware abstraction used by pSeries guests to
> manage hotplug/dynamic-reconfiguration of host-bridges, PCI devices,
> memory, and CPUs. It is conceptually similar to an SHPC device,
> complete with LED indicato
On (Mon) 15 Dec 2014 [10:05:40], Markus Armbruster wrote:
> Copying migration maintainers.
Thanks, Eric, pls give this a look too.
>
> Alex Bligh writes:
>
> > The QMP command 'query-migrate' returns the state 'setup' during
> > the setup phase. This patch documents it.
> >
> > Signed-off-by:
Hi all,
I am sorry that this method to fix this bug was not perfect.
I will find another way to do this.
Plz ignore this patch.
Regards,
Zhu
On Fri, 2015-01-16 at 13:45 +0800, Zhu Guihua wrote:
> If hot add 100MiB memory like this:
> (monitor) object_add memory-backend-ram,id=ram0,size=100M
> (m
If hot add 100MiB memory like this:
(monitor) object_add memory-backend-ram,id=ram0,size=100M
(monitor) device_add pc-dimm,id=d0,memdev=ram0
The hotplug operation will faile, and the guest will print error message:
Section-unaligned hotplug range: start 0x1, size 0x640
acpi PNP0C80:00:
On Tue, 01/13 18:52, Paolo Bonzini wrote:
> +int main(int argc, char *argv[])
> +{
> +int nreaders = 1;
> +int duration = 1;
> +
> +if (argc >= 2 && argv[1][0] == '-') {
> +g_test_init(&argc, &argv, NULL);
> +g_test_add_func("/rcu/torture/short/1reader", gtest_stress_1_1
We have module build support around for a while, but also had it bitrot
several times. It probably makes sense to enable it by default so that
people can notice and use it.
Add --disable-modules as a counterpart to --enable-modules, which is
now turned on by default. If both are omitted, support
v3: Fix commit message, error message and function name. (Stefan)
Fam Zheng (2):
configure: Default to enable module build
.travis.yml: Add "--disable-modules"
.travis.yml | 3 ++
configure | 95 ++---
2 files changed, 69 insertions(
Now we default to "--enable-modules", let's cover the old way in travis.
Signed-off-by: Fam Zheng
---
.travis.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index ad66e5b..12bf1db 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -98,3 +98,6 @@ matrix:
There is a bug in the recently added sys.platform test, and we no longer
run python tests, because "linux2" is the value to compare here. So do a
prefix match. According to python doc [1], the way to use sys.platform
is "unless you want to test for a specific system version, it is
therefore recomme
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/14/2015 03:51 PM, David Gibson wrote:
> On Fri, Jan 09, 2015 at 12:11:14PM +1100, Alexey Kardashevskiy wrote:
>> At the moment sPAPR only supports 512MB window for MMIO BARs.
>> However modern devices might want bigger 64bit BARs.
>>
>> This ext
This patch allows Mac OS X to use a real CDROM disc in QEMU. Testing this patch
will require using QEMU v2.2.0 because the current git version has a bug in it
that prevents /dev/cdrom from being used. "make check" did pass and my Debian
boot disc did work.
Signed-off-by: John Arbuckle
---
To
On 2015-01-12 at 07:35, Gerd Hoffmann wrote:
Signed-off-by: Gerd Hoffmann
---
include/ui/sdl2.h | 7 +++
ui/sdl2-2d.c | 6 --
ui/sdl2-gl.c | 7 ---
ui/sdl2-input.c | 6 --
ui/sdl2.c | 6 --
5 files changed, 7 insertions(+), 25 deletions(-)
Reviewe
On 2015-01-12 at 07:35, Gerd Hoffmann wrote:
Add new sdl2-gl.c file, with display
rendering functions using opengl.
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 1 +
include/ui/sdl2.h| 10 +
ui/Makefile.objs | 4 ++
ui/sdl.c | 11 +
ui/sdl2-2d.
On 15/01/2015 21:53, Mark Burton wrote:
>> Jan said he had it working at least on ARM (MusicPal).
>
> yeah - our problem is when we enable multi-threads - which I dont believe Jan
> did…
Multithreaded TCG, or single-threaded TCG with SMP?
>>> One thing I wonder - why do we need to go to the e
On 15/01/2015 21:53, Mark Burton wrote:
>> Jan said he had it working at least on ARM (MusicPal).
>
> yeah - our problem is when we enable multi-threads - which I dont believe Jan
> did…
Multithreaded TCG, or single-threaded TCG with SMP?
>>> One thing I wonder - why do we need to go to the e
@Paul,
could you confirm whether qemu 1:2.2+dfsg-3exp~ubuntu1 from
https://launchpad.net/~ubuntu-virt/+archive/ubuntu/virt-daily-upstream
fixes this issue? If it does then I'll go ahead and backport the patch.
--
You received this bug notification because you are a member of qemu-
devel-ml, whi
It looks as though the relevant commits were re-committed to upstream
git HEAD (9a48bcd1b82494671c09b0eefdb882581499 and
317b0a6d8ba44e9bf8f9c3dbd776c4536843d82c). So this may be fixed in
vivid, and we might be able to cherrypick the final patches to trusty.
** Package changed: libvirt (Ubunt
Hi Stefan,
if nothing went wrong the (whole) advent calendar will be on the DVD
published with the Linux Magazin issue 03/2015. The release date is the
05. Feb. 2015 (in germany).
Best regards,
Tim Schürmann
i...@tim-schuermann.de
Am 15.01.2015 um 15:47 schrieb Stefan Hajnoczi:
On Tue, Jan
Fixes keyboard mapping so right shift, right command, right option, right
control, keypad period, keypad '=', keypad enter, and F13 all work.
Signed-off-by: John Arbuckle
---
Undid most changes to keyboard map in cocoa.m.
Most changes made to keyboard map in adb.c.
Since there is no keypad '=
> On 15 Jan 2015, at 21:27, Paolo Bonzini wrote:
>
>
>
> On 15/01/2015 20:07, Mark Burton wrote:
>> However - if we go this route -the current patch is only for x86.
>> (apart from the fact that we still seem to land in a deadlock…)
>
> Jan said he had it working at least on ARM (MusicPal).
On 2015-01-12 at 07:35, Gerd Hoffmann wrote:
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 23 ++
ui/Makefile.objs | 5 ++
ui/console-gl.c | 127 +++
3 files changed, 155 insertions(+)
create mode 100644 ui/cons
On 15/01/2015 20:07, Mark Burton wrote:
> However - if we go this route -the current patch is only for x86.
> (apart from the fact that we still seem to land in a deadlock…)
Jan said he had it working at least on ARM (MusicPal).
> One thing I wonder - why do we need to go to the extent of mutex
In arch/arm/mach-realview/realview_*.c pl061_platform_data irq_base
members are statically (default) initialised to 0 (whereas for versatile
they are explicitly set via defines in the platform headers).
In pl061_probe, -ENODEV is returned for irq_base <= 0.
Changing this to < 0, results in irq_do
On 15/01/2015 20:10, Lluís Vilanova wrote:
> Peter Maydell writes:
>
>> On 15 January 2015 at 15:32, Lluís Vilanova wrote:
>>> I haven't reviewed the patches, but that's a much appreciated cleanup! I was
>>> also trying to make sense of all the variants while implementing guest
>>> memory
>>>
On 2015-01-12 at 07:35, Gerd Hoffmann wrote:
Rename config option from "glx" to "opengl", glx will not be the only
option for opengl in near future. Also switch over to pkg-config for
opengl support detection.
Signed-off-by: Gerd Hoffmann
---
configure| 39 +++
Peter Maydell writes:
> On 15 January 2015 at 15:32, Lluís Vilanova wrote:
>> I haven't reviewed the patches, but that's a much appreciated cleanup! I was
>> also trying to make sense of all the variants while implementing guest memory
>> access tracing
> I drew the following terrible ASCII art
Still in agony on this issue - I’ve CC’d Jan as his patch looks important…
the patch below would seem to offer by far and away the best result here. (If
only we could get it working ;-) )
it allows threads to proceed as we want them to, it means we dont have
to ‘count’ the number of CPU’
On 15 January 2015 at 18:52, Wei Huang wrote:
> On 01/15/2015 12:10 PM, Peter Maydell wrote:
>> I don't think we're anywhere ready yet to support between
>> version migration compatibility. We will want this *eventually*
>> but we are a long long way away from needing it...(maybe a
>> year?)
> Tha
On 01/15/2015 12:10 PM, Peter Maydell wrote:
> On 15 January 2015 at 17:50, Wei Huang wrote:
>> ARM virt machine type (machvirt) had been stable for a while. But recently
>> new devices have been added to support extra features. Considerring the
>> support of long-term compatibility, it is time
On 2015-01-03 at 07:23, Jun Li wrote:
On Fri, 11/21 11:56, Max Reitz wrote:
So, as for what I think we do need to do when shrinking (and keep in mind:
The offset given to qcow2_truncate() is the guest size! NOT the host image
size!):
(1) Determine the first L2 table and the first entry in the t
On 15 January 2015 at 15:32, Lluís Vilanova wrote:
> I haven't reviewed the patches, but that's a much appreciated cleanup! I was
> also trying to make sense of all the variants while implementing guest memory
> access tracing
I drew the following terrible ASCII art diagram of the remaining
memor
* David Gibson (da...@gibson.dropbear.id.au) wrote:
> On Fri, Oct 03, 2014 at 06:47:45PM +0100, Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert"
> >
> > postcopy_place_page (etc) provide a way for postcopy to place a page
> > into guests memory atomically (using the new rema
On 15 January 2015 at 17:50, Wei Huang wrote:
> ARM virt machine type (machvirt) had been stable for a while. But recently
> new devices have been added to support extra features. Considerring the
> support of long-term compatibility, it is time to create a version-based
> machine types.
>
> This
On 2015-01-15 at 06:26, Kevin Wolf wrote:
This test case is meant to detect corruptions of the Multiboot modules
as well as the multiboot modules list and the module command lines.
Signed-off-by: Kevin Wolf
---
tests/multiboot/Makefile| 5 -
tests/multiboot/libc.c | 12
ARM virt machine type (machvirt) had been stable for a while. But recently
new devices have been added to support extra features. Considerring the
support of long-term compatibility, it is time to create a version-based
machine types.
This patch defines a qemu 2.2 specific machine type (machvirt-2
On 15/01/2015 17:39, Mohammed Gamal wrote:
> The increase in the jitter and offset values is well within the 500 ppm
> frequency tolerance limit, and therefore are easily corrected by
> subsequent NTP clock sync events, but some live migrations do cause much
> higher jitter and offset jumps, whic
On 01/15/2015 04:26 AM, Kevin Wolf wrote:
This fixes a recent Multiboot load regression (see patch 2) that we
noticed while hacking on the advent calendar image for December 24.
These changes all look fine to me.
On 2015-01-15 at 06:26, Kevin Wolf wrote:
This fixes a bug introduced in commit 5eba5a66 ('Add bootloader name to
multiboot implementation').
The calculation of the bootloader name offset didn't consider space
occupied by module command lines, so some unlucky module got its command
line partiall
On 2015-01-12 at 07:46, Gerd Hoffmann wrote:
Hi,
+glBegin(GL_QUADS);
+glTexCoord2f(0, 1); glVertex3f(-1, -1, 0);
+glTexCoord2f(0, 0); glVertex3f(-1, 1, 0);
+glTexCoord2f(1, 0); glVertex3f(1, 1, 0);
+glTexCoord2f(1, 1); glVertex3f(1, -1, 0);
+glEnd();
I've been tr
Hi,
I've seen some strange time behavior in some of our VMs usually triggered
by live migration. In some VMs we have seen some significant time drift
which NTP was not able to correct after doing a live migration.
I've not been able so far to reproduce the same case, however, I did notice
that li
On Thu, Jan 15, 2015 at 01:44:34PM +0800, Fam Zheng wrote:
> There is a bug in the recently added sys.platform test and we no longer
> run python tests, because "linux2" is the value to compare here. So do a
> prefix match, although the python documentation claims Linux is always
> linux2.
It woul
On Tue, Jan 13, 2015 at 04:53:58PM +0800, Fam Zheng wrote:
> We have module build support around for a while, but also had it bitrot
> several times. It probably makes sense to enable it by default so that
> people can notice and use it.
>
> Counterpart to --enable-modules, which is turned as defa
Hi Baptiste,
On 01/12/2015 02:21 PM, Baptiste Reynal wrote:
> Adapt arm,pl330 function to use the vfio device property API.
>
> Clock apb-pclk is the default if a clock is needed by the device.
>
> Three optional parameters are taken into account :
> - #dma-cells
> - #dma-channels
> - #dma-reques
On 12/18/2014 04:24 AM, Dr. David Alan Gilbert wrote:
* David Gibson (da...@gibson.dropbear.id.au) wrote:
On Fri, Dec 12, 2014 at 11:13:41AM +, Dr. David Alan Gilbert (git) wrote:
From: "Dr. David Alan Gilbert"
The splitting of qemu-file and addition of the buffered file landed
at the sam
Peter Maydell writes:
> In the m68k cpu_loop() use get_user_u16 to read the immediate for
> the simcall rahter than lduw, to bring it into line with how other
> archs do it and to remove another user of the ldl family of functions.
>
> Signed-off-by: Peter Maydell
After getting lost tracing th
Peter Maydell writes:
> The monitor code for doing a memory_dump() was using ld*_raw() to do
> target-CPU accesses out of a local buf[] array. The correct functions
> for this purpose are ld*_p(), which take a host pointer, rather than
> ld*_raw(), which take an integer representing a guest addr
Hi Baptiste
On 01/12/2015 02:21 PM, Baptiste Reynal wrote:
> Use the VFIO device property API to retrieve interrupt
> information (type and flags) during device node creation.
>
> Signed-off-by: Baptiste Reynal
> ---
> hw/arm/sysbus-fdt.c | 26 ++
> 1 file changed, 18 ins
Peter Maydell writes:
> Use the cpu_ld*_data and cpu_st*_data family of functions to access
> guest memory in vm86.c rather than the very short-named ldl/stl functions.
>
> Signed-off-by: Peter Maydell
Reviewed-by: Alex Bennée
> ---
> linux-user/vm86.c | 57
> ++-
Peter Maydell writes:
> Use get_user_u64() and get_user_ual() instead of the ldl() and
> ldq_raw() functions.
>
> [Note that this change is not compile tested as it is actually
> in dead code -- none of the bsd-user configurations are PPC.]
>
> Signed-off-by: Peter Maydell
Reviewed-by: Alex Ben
Peter Maydell writes:
> The _raw accessor functions are an implementation detail that has
> leaked out to some callsites. Use get_user_u64() instead of ldq_raw().
>
> Signed-off-by: Peter Maydell
Reviewed-by: Alex Bennée
> ---
> linux-user/elfload.c | 7 +--
> 1 file changed, 5 insertio
Peter Maydell writes:
> Instead of using the _raw family of ld/st accessor functions, use
> cpu_*_data. All this code is CONFIG_USER_ONLY, so the two are the
> same semantically, but the _raw functions are really a detail of
> the implementation which has leaked into a few callsites like this on
Am 09.01.2015 um 18:19 hat Marc-André Lureau geschrieben:
> Learn to use the GCoroutine library instead of qemu own coroutine
> implementation.
>
> GCoroutine is hosted on github:
> https://github.com/elmarco/gcoroutine
>
> This allows to share the same coroutine implementation between various
>
Ady Wahyudi Paundu writes:
> Hi all, Happy New Year (not too late I hope)
> I also hope you guys don't' mind to be bothered by newbie questions
> related to Qemu, because I really don't know where else to ask. I
> want to learn how several aspects of qemu works, and it really hard to
> find res
On 12/30/2014 06:03 PM, Quan Xu wrote:
This Patch provides the glue for the TPM_TIS(Qemu frontend) to Xen
stubdom vTPM domain that provides the actual TPM functionality. It
sends data and TPM commends with xen_vtpm_frontend. It is similar as
another two vTPM backens:
*vTPM passthrough backen S
On 12/22/2014 05:23 PM, Baptiste Reynal wrote:
> Create a meta-device for PL330 DMA.
> Add add_arm_pl330_fdt_node function, with multiple compatible string
> and clocks support.
>
> Signed-off-by: Baptiste Reynal
> ---
> hw/arm/sysbus-fdt.c | 84
> ++
Peter Maydell writes:
> I was looking at our confusing mess of memory accessor functions,
> and I realised that partly it was confusing because we have a
> bunch of unnecessary junk lurking in there :-) This series
> attempts to clean things up by removing things we weren't using
> at all or were
On Tue, Jan 13, 2015 at 10:40:01AM +0900, Ady Wahyudi Paundu wrote:
> Hi all, Happy New Year (not too late I hope)
> I also hope you guys don't' mind to be bothered by newbie questions
> related to Qemu, because I really don't know where else to ask. I
> want to learn how several aspects of qemu w
I was looking at our confusing mess of memory accessor functions,
and I realised that partly it was confusing because we have a
bunch of unnecessary junk lurking in there :-) This series
attempts to clean things up by removing things we weren't using
at all or were only using by mistake in a few pl
On Mon, Jan 12, 2015 at 12:31:31PM +, Stefan Hajnoczi wrote:
> These patches add an overflow check and a test case for invalid QED headers.
> Note that this has no security impact because reading the backing filename is
> limited to sizeof(bs->backing_file).
>
> Stefan Hajnoczi (2):
> qed: c
In the m68k cpu_loop() use get_user_u16 to read the immediate for
the simcall rahter than lduw, to bring it into line with how other
archs do it and to remove another user of the ldl family of functions.
Signed-off-by: Peter Maydell
---
linux-user/main.c | 2 +-
1 file changed, 1 insertion(+), 1
The ld*_kernel and st*_kernel defines are not used anywhere;
delete them.
Signed-off-by: Peter Maydell
---
include/exec/cpu_ldst.h | 15 ---
1 file changed, 15 deletions(-)
diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h
index 4700831..64d9087 100644
--- a/include/exe
Use cpu_*_data instead of the direct *_raw load/store accessors.
Signed-off-by: Peter Maydell
---
target-mips/op_helper.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index d619ba4..ea7d95f 100644
--- a/target-mips/op_h
The _raw accessor functions are an implementation detail that has
leaked out to some callsites. Use get_user_u64() instead of ldq_raw().
Signed-off-by: Peter Maydell
---
linux-user/elfload.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/linux-user/elfload.c b/linux-u
The monitor code for doing a memory_dump() was using ld*_raw() to do
target-CPU accesses out of a local buf[] array. The correct functions
for this purpose are ld*_p(), which take a host pointer, rather than
ld*_raw(), which take an integer representing a guest address and
are somewhat meaningless
The five ldul_ macros are not used anywhere and are marked up with an XXX
comment. "ldul" is a non-standard prefix for our family of load instructions:
we don't mark 32-bit accesses for signedness because they return a 32 bit
quantity. So just delete them.
Signed-off-by: Peter Maydell
Reviewed-by
The cpu_ldfq/stfq/ldfl/stfl accessors for loading and storing
float32 and float64 are completely unused, so delete them.
(The union they use for converting from the float32/float64
type to uint32_t or uint64_t is the wrong way to do it anyway:
they should be using make_float* and float*_val.)
Sign
Use the cpu_ld*_data and cpu_st*_data family of functions to access
guest memory in vm86.c rather than the very short-named ldl/stl functions.
Signed-off-by: Peter Maydell
---
linux-user/vm86.c | 57 ++-
1 file changed, 31 insertions(+), 26 del
The very short ld*/st* defines are now not used anywhere; delete them.
Signed-off-by: Peter Maydell
---
include/exec/cpu_ldst.h | 26 --
1 file changed, 26 deletions(-)
diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h
index 64d9087..2dc4775 100644
--- a/inc
Add documentation of what the cpu_*_* accessors look like.
Correct some minor errors in the existing documentation of the
direct _p accessor family. Remove the near-duplicate comment
on the _p accessors from cpu-all.h and replace it with a reference
to the comment in bswap.h.
Signed-off-by: Peter
Use get_user_u64() and get_user_ual() instead of the ldl() and
ldq_raw() functions.
[Note that this change is not compile tested as it is actually
in dead code -- none of the bsd-user configurations are PPC.]
Signed-off-by: Peter Maydell
---
bsd-user/elfload.c | 11 +++
1 file changed,
Baptiste,
On 12/22/2014 05:23 PM, Baptiste Reynal wrote:
> Add VFIO_DEVICE_TYPE_AMBA.
> Differentiate amba and platform devices according to compatible string.
>
> Signed-off-by: Baptiste Reynal
> ---
> hw/vfio/platform.c| 15 ---
> include/hw/vfio/vfio-common.h | 1 +
>
On Fri, Jan 09, 2015 at 06:19:50PM +0100, Marc-André Lureau wrote:
> Learn to use the GCoroutine library instead of qemu own coroutine
> implementation.
>
> GCoroutine is hosted on github:
> https://github.com/elmarco/gcoroutine
>
> This allows to share the same coroutine implementation between v
Hi Baptiste,
On 12/22/2014 05:23 PM, Baptiste Reynal wrote:
> Creates set_interrupts_fdt_node and set_regions_fdt_node
> for code reusability.
>
> Signed-off-by: Baptiste Reynal
> ---
> hw/arm/sysbus-fdt.c | 102
> +---
> 1 file changed, 73 inser
The ld*_raw and st*_raw macros are now only used within the code
produced by cpu_ldst_template.h, and only in three places.
Expand these out to just call the ld_p and st_p functions directly.
Note that in all the callsites the address argument is a uintptr_t,
so we can drop that part of the double
Instead of using the _raw family of ld/st accessor functions, use
cpu_*_data. All this code is CONFIG_USER_ONLY, so the two are the
same semantically, but the _raw functions are really a detail of
the implementation which has leaked into a few callsites like this one.
Signed-off-by: Peter Maydell
The _raw macros and their helpers saddr() and laddr() are now
totally unused -- delete them.
Signed-off-by: Peter Maydell
---
include/exec/cpu_ldst.h | 23 ---
1 file changed, 23 deletions(-)
diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h
index bef2e5f..16f4e
Use inline functions rather than macros for cpu_ld/st accessors
for the *-user configurations, as we already do for softmmu.
This has a two advantages:
* we can actually typecheck our arguments
* we don't need to leak the _raw macros everywhere
Since the _kernel functions were only used by targe
On Fri, Jan 09, 2015 at 05:32:14PM +, Peter Maydell wrote:
> On 9 January 2015 at 17:19, Marc-André Lureau
> wrote:
> > Learn to use the GCoroutine library instead of qemu own coroutine
> > implementation.
> >
> > GCoroutine is hosted on github:
> > https://github.com/elmarco/gcoroutine
> >
>
On Tue, Jan 13, 2015 at 01:35:55PM +0100, Tim Schürmann wrote:
Hi Tim,
> >In order to comply with the license on GPL images you will need to offer
> >the source code (see links on http://qemu-advent-calendar.org/ for each
> >image).
>
> The Ubuntu Core and Ceph sourcecodes won't fit on our DVD.
On Do, 2015-01-15 at 12:23 +, Peter Maydell wrote:
> On 15 January 2015 at 12:17, Paolo Bonzini wrote:
> > Unless we want to support OpenGLES, which doesn't have glBegin/glEnd
> > (you need to use vertex buffers IIRC, but I last played with OpenGL in
> > 2008...), the old style is still fine.
I think we call that flag “please dont reallocate this TB until at least after
a CPU has exited and we do a global flush”… So if we sync and get all cpu’s to
exit on a global flush, this flag is only there as a figment of our imagination…
e.g. we’re safe without it?
Wish I could say the same of
On 15/01/2015 12:14, Alexander Graf wrote:
On 15.01.15 12:12, Paolo Bonzini wrote:
[now with correct listserver address]
On 15/01/2015 11:25, Frederic Konrad wrote:
Hi everybody,
In case of multithread TCG what is the best way to handle
qemu_global_mutex?
We though to have one mutex per vcpu
On 15 January 2015 at 13:27, Frederic Konrad wrote:
> PS: Any idea why listserver is dropped from listserver.greensocs.com?
Paolo's mail client apparently has a bizarre allergy to the correct
address...
-- PMM
On 15/01/2015 13:56, Paolo Bonzini wrote:
On 15/01/2015 13:51, Frederic Konrad wrote:
Thanks for the reply.
As I understand the idea of Jan is to unlock the global_mutex during tcg
execution.
Is that right?
So that means it's currently not the case and we won't be able to run
two TCG
threads
vfio-calxeda-xgmac now can be instantiated using the -device option.
The node creation function generates a very basic dt node composed
of the compat, reg and interrupts properties
Signed-off-by: Eric Auger
---
v8 -> v9:
- properly free resources in case of errors in
add_calxeda_midway_xgmac_f
The platform device class has become abstract. This patch introduces
a calxeda xgmac device that can be be instantiated on command line
using such option.
-device vfio-calxeda-xgmac,host="fff51000.ethernet"
Signed-off-by: Eric Auger
---
v8 -> v9:
- renamed calxeda_xgmac.c into calxeda-xgmac.c
This patch aims at optimizing IRQ handling using irqfd framework.
Instead of handling the eventfds on user-side they are handled on
kernel side using
- the KVM irqfd framework,
- the VFIO driver virqfd framework.
the virtual IRQ completion is trapped at interrupt controller
This removes the need
This patch adds the code requested to assign interrupts to
a guest. The interrupts are mediated through user handled
eventfds only.
The mechanics to start the IRQ handling is not yet there through.
Signed-off-by: Eric Auger
---
v8 -> v9:
- free irq related resources in case of error in vfio_po
Minimal VFIO platform implementation supporting register space
user mapping but not IRQ assignment.
Signed-off-by: Kim Phillips
Signed-off-by: Eric Auger
---
v8 -> v9:
- irq management is moved into a separate patch to ease the review
- VFIO_DEVICE_FLAGS_PLATFORM is checked in vfio_populate_dev
Update according to vfio.h header found in
http://git.linaro.org/people/eric.auger/linux.git
branch irqfd_v6_integrated_official_release
Signed-off-by: Eric Auger
---
v8 -> v9:
- rewording of the commit message
---
linux-headers/linux/vfio.h | 32 +++-
1 file change
Add a reset notify function that enables to start the propagation of
interrupts to the guest.
Signed-off-by: Eric Auger
---
v8 -> v9:
- handle failure in vfio_irq_starter
---
hw/vfio/platform.c | 52 +
include/hw/vfio/vfio-platform.h | 8 ++
This series aims at enabling KVM platform device passthrough.
It implements a VFIO platform device, derived from VFIO PCI device.
The VFIO platform device uses the host VFIO platform driver which must
be bound to the assigned device prior to the QEMU system start.
- the guest can directly access
This patch forces vgic initialization in the vgic realize function.
It uses a new group/attribute that allows such operation.
This earlier initialization allows, for example, to setup VFIO
signaling and irqfd after vgic initialization, on a reset notifier.
Signed-off-by: Eric Auger
---
hw/intc/
1 - 100 of 157 matches
Mail list logo