On 2015/3/6 2:34, Markus Armbruster wrote:
zhanghailiang writes:
The original 'status' is an open-coded 'str' type, convert it to use an
enum type.
This conversion is backwards compatible, better documented and
more convenient for future extensibility.
We also rename 'MIGRATION_STATUS_ERROR'
On Fri, 13 Feb 2015 18:25:28 +0800
Zhu Guihua wrote:
> From: Gu Zheng
>
> Move cpu vmstate register from cpu_exec_init into cpu_common_realizefn,
> and use cc->get_arch_id as the instance id that suggested by Igor to
> fix the migration issue.
>
> Signed-off-by: Gu Zheng
> Signed-off-by: Zhu
On 2015/3/5 1:02, Markus Armbruster wrote:
zhanghailiang writes:
From: Xiangyou Xie
If VM is configured with large size of hugepage, when startup,
it will consume lots of time to zero the hugepage memory in the function
'os_mem_prealloc'.
Libvirtd will wait 30 seconds for qemu to establish t
Is there a specific practice of how static class members are stored?
I see there is a member named "class data" in "struct TypeInfo".
Can I use that for static class members?
By static member I'm referring to the concept from OOP.
When we're working to support IGD GFX passthrough with qemu
upstream, instead of "-gfx_passthru" we'd like to make that
a machine option, "-machine xxx,igd-passthru=on". This need
to bring a change on tool side.
After a discussion with Campbell, we'd like to construct a table to record
all IGD dev
While working with qemu, IGD is a specific device in the case of pass through
so we need to identify that to handle more later. Here we define a table to
record all IGD types currently we can support. Also we need to introduce two
helper functions to get vendor and device ids to lookup that table.
Although we already have 'gfx_passthru' in b_info, this doesn' suffice
after we want to handle IGD specifically. Now we define a new field of
type, gfx_passthru_kind, to indicate we're trying to pass IGD. Actually
this means we can benefit this to support other specific devices just
by extending gf
.user_print isn't used with QMP commands, only with HMP commands.
Copied over when QMP got its own command table in commit 82a56f0.
Most of them have been dropped since, but a few stragglers remain.
Drop them.
Signed-off-by: Markus Armbruster
---
qmp-commands.hx | 4
1 file changed, 4 delet
The command handler is a union of two function types. If
cmd->user_print is set, handle_user_command() calls
cmd->mhandler.cmd_new(), else cmd->mhandler.cmd().
Command definitions must therefore either set both user_print() and
mhandler.cmd_new(), or only mhandler.cmd().
quit's sets user_print a
A more thorough cleanup of the area is in the works, but I want to get
this out quickly, so it makes 2.3.
I think it can go via -trivial, if Luiz doesn't mind.
Markus Armbruster (2):
hmp: Fix definition of command quit
qmp: Drop unused .user_print from command definitions
hmp-commands.hx |
On 2015/3/6 17:08, Tiejun Chen wrote:
Although we already have 'gfx_passthru' in b_info, this doesn' suffice
after we want to handle IGD specifically. Now we define a new field of
type, gfx_passthru_kind, to indicate we're trying to pass IGD. Actually
this means we can benefit this to support oth
After forking, only the calling thread is duplicated in the child process.
The call_rcu thread has to be recreated in the child. Exploit the fact
that only one thread exists (same as when constructors run), and just redo
the entire initialization to ensure the threads are in the proper state.
The
Supporting fork in multithreaded programs is somewhat complicated,
however in QEMU we fork in two places (daemonize and smbd) and none of
them are complicated:
- daemonize happens before threads and mutexes proliferate unpredictably;
only the RCU state has to be reset and the call_rcu thread recre
PTHREAD_MUTEX_ERRORCHECK is completely broken with respect to fork.
The way to safely do fork is to bring all threads to a quiescent
state by acquiring locks (either in callers---as we do for the
iothread mutex---or using pthread_atfork's prepare callbacks)
and then release them in the child.
The
Move common code in all cases of the switch statement
to be outside of the statement.
Signed-off-by: Michael Tokarev
---
hw/9pfs/virtio-9p-proxy.c | 85 +++
1 file changed, 4 insertions(+), 81 deletions(-)
diff --git a/hw/9pfs/virtio-9p-proxy.c b/hw/9
All filesystem methods that call common v9fs_request() function
also convert return value to errno. Move this conversion to the
common function and remove redundand error handling in methods.
I didn't remove local `retval' variable in simple functions to
keep the code consistent.
Also, proxy_tru
All functions which deal with v9fs_request() use `retval'
variable to hold result of the request (except some which
use this value for other purposes too), but 3 use different
name (ret or err). Rename these 3 for consistency.
There's no actual code changes.
Signed-off-by: Michael Tokarev
---
h
Signed-off-by: Michael Tokarev
---
hw/9pfs/virtio-9p-proxy.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/hw/9pfs/virtio-9p-proxy.c b/hw/9pfs/virtio-9p-proxy.c
index c7b2f16..8e7ce3f 100644
--- a/hw/9pfs/virtio-9p-proxy.c
+++ b/hw/9pfs/virtio-9p-proxy.c
@@ -606,7 +6
This small patch series cleans up 9pfs-proxy.c code a little bit,
mostly by moving the same code repeated in all places to a single
place, and tiny cleanups to make the code more consistent.
Michael Tokarev (5):
9pfs-proxy: simplify v9fs_request(), P1
9pfs-proxy: simplify v9fs_request(), P2
This simplifies code in v9fs_request() a bit by replacing several
ifs with a common variable check and rearranging error/cleanup
code a bit.
Signet-off-by: Michael Tokarev
---
hw/9pfs/virtio-9p-proxy.c | 48 ---
1 file changed, 20 insertions(+), 28 del
On Fri, 13 Feb 2015 18:25:24 +0800
Zhu Guihua wrote:
> From: Chen Fan
>
> ICC bus was invented only to provide hotplug capability to
> CPU and APIC because at the time being hotplug was available only for
> BUS attached devices.
>
> Now this patch is to drop ICC bus impl, and switch to bus-les
On 03/06/2015 04:53 PM, Igor Mammedov wrote:
On Fri, 13 Feb 2015 18:25:28 +0800
Zhu Guihua wrote:
From: Gu Zheng
Move cpu vmstate register from cpu_exec_init into cpu_common_realizefn,
and use cc->get_arch_id as the instance id that suggested by Igor to
fix the migration issue.
Signed-off-
On 06/03/2015 08:03, Halsey Pian wrote:
> I have two threads to write two seperate qcow2 files, but after a
> while, the writing would be aborted in qemu_coroutine_enter, and report
> error “"Co-routine re-entered recursively” .
>
> Qemu should be thread safe, right? It seems that there are so
On Thu, Mar 5, 2015 at 2:12 PM, Fam Zheng wrote:
On Thu, 03/05 13:48, Jason Wang wrote:
This patch introduces a helper that can get the queue index of a
VirtQueue. This is useful when traversing the list of VirtQueues.
Cc: Anthony Liguori
Cc: Michael S. Tsirkin
Signed-off-by: Jason
Public bug reported:
qemu release version: 2.2.0
platform: x86_64
qemu would be aborted when there are two threads to write two seperate
qcow2 files.
call stack:
#0 0x75e18989 __GI_raise(sig=sig@entry=6)
(../nptl/sysdeps/unix/sysv/linux/raise.c:56)
#1 0x75e1a098 __GI_abort(
On Thu, 5 Mar 2015 16:54:59 +0200
Marcel Apfelbaum wrote:
> Add encoding for ACPI DefOr Opcode.
>
> Signed-off-by: Marcel Apfelbaum
Reviewed-by: Igor Mammedov
> ---
> hw/acpi/aml-build.c | 10 ++
> include/hw/acpi/aml-build.h | 1 +
> 2 files changed, 11 insertions(+)
>
>
On 5 March 2015 at 02:02, Markus Armbruster wrote:
> zhanghailiang writes:
>
>> From: Xiangyou Xie
>>
>> If VM is configured with large size of hugepage, when startup,
>> it will consume lots of time to zero the hugepage memory in the function
>> 'os_mem_prealloc'.
>> Libvirtd will wait 30 secon
On Thu, 5 Mar 2015 16:55:00 +0200
Marcel Apfelbaum wrote:
> Add encoding for ACPI DefAdd Opcode.
>
> Signed-off-by: Marcel Apfelbaum
Reviewed-by: Igor Mammedov
> ---
> hw/acpi/aml-build.c | 10 ++
> include/hw/acpi/aml-build.h | 1 +
> 2 files changed, 11 insertions(+)
>
>
On Thu, 5 Mar 2015 16:55:01 +0200
Marcel Apfelbaum wrote:
> Add encoding for ACPI DefLLess Opcode.
>
> Signed-off-by: Marcel Apfelbaum
Reviewed-by: Igor Mammedov
> ---
> hw/acpi/aml-build.c | 9 +
> include/hw/acpi/aml-build.h | 1 +
> 2 files changed, 10 insertions(+)
>
>
On 2015/3/6 17:51, Peter Maydell wrote:
On 5 March 2015 at 02:02, Markus Armbruster wrote:
zhanghailiang writes:
From: Xiangyou Xie
If VM is configured with large size of hugepage, when startup,
it will consume lots of time to zero the hugepage memory in the function
'os_mem_prealloc'.
Lib
On Wed, Mar 04, 2015 at 04:58:25PM +0100, Frank Blaschka wrote:
> On Wed, Mar 04, 2015 at 04:25:07PM +0100, Alexander Graf wrote:
> >
> >
> > On 04.03.15 16:07, Frank Blaschka wrote:
> > > On Wed, Mar 04, 2015 at 03:49:15PM +0100, Alexander Graf wrote:
> > >>
> > >>
> > >> On 04.03.15 14:44, Fran
On Thu, 5 Mar 2015 16:55:02 +0200
Marcel Apfelbaum wrote:
> Add encoding for ACPI DefIndex Opcode.
>
> Signed-off-by: Marcel Apfelbaum
> ---
> hw/acpi/aml-build.c | 10 ++
> include/hw/acpi/aml-build.h | 1 +
> 2 files changed, 11 insertions(+)
>
> diff --git a/hw/acpi/aml-b
On Thu, 5 Mar 2015 16:55:03 +0200
Marcel Apfelbaum wrote:
> Add encoding for ACPI DefShiftLeft Opcode.
>
> Signed-off-by: Marcel Apfelbaum
Reviewed-by: Igor Mammedov
> ---
> hw/acpi/aml-build.c | 10 ++
> include/hw/acpi/aml-build.h | 1 +
> 2 files changed, 11 insertions(+
On Thu, 5 Mar 2015 16:55:04 +0200
Marcel Apfelbaum wrote:
> Add encoding for ACPI DefShiftRight Opcode.
>
> Signed-off-by: Marcel Apfelbaum
Reviewed-by: Igor Mammedov
> ---
> hw/acpi/aml-build.c | 10 ++
> include/hw/acpi/aml-build.h | 1 +
> 2 files changed, 11 insertions(
Hi Andrea,
On 5 March 2015 at 18:17, Andrea Arcangeli wrote:
> Once an userfaultfd has been created and certain region of the process
> virtual address space have been registered into it, the thread
> responsible for doing the memory externalization can manage the page
> faults in userland by tal
On 06.03.15 11:34, Frank Blaschka wrote:
> On Wed, Mar 04, 2015 at 04:58:25PM +0100, Frank Blaschka wrote:
>> On Wed, Mar 04, 2015 at 04:25:07PM +0100, Alexander Graf wrote:
>>>
>>>
>>> On 04.03.15 16:07, Frank Blaschka wrote:
On Wed, Mar 04, 2015 at 03:49:15PM +0100, Alexander Graf wrote:
>
On Thu, 5 Mar 2015 16:55:05 +0200
Marcel Apfelbaum wrote:
> Add encoding for ACPI DefIncrement Opcode.
>
> Signed-off-by: Marcel Apfelbaum
Reviewed-by: Igor Mammedov
> ---
> hw/acpi/aml-build.c | 8
> include/hw/acpi/aml-build.h | 1 +
> 2 files changed, 9 insertions(+)
>
On Thu, 5 Mar 2015 16:55:06 +0200
Marcel Apfelbaum wrote:
> Add encoding for ACPI DefWhile Opcode.
>
> Signed-off-by: Marcel Apfelbaum
Reviewed-by: Igor Mammedov
> ---
> hw/acpi/aml-build.c | 8
> include/hw/acpi/aml-build.h | 1 +
> 2 files changed, 9 insertions(+)
>
> di
> -Original Message-
> From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo
> Bonzini
> Sent: 2015年3月6日 17:45
> To: Halsey Pian; qemu-devel@nongnu.org
> Subject: Re: [Bug] qemu_coroutine_enter abort and report error "Co-routine
> re-entered recursively"
>
>
>
> On 0
On 06.03.15 05:18, David Gibson wrote:
> At present, ISA bus support is always included in the build for all
> targets. However these days there are a number of targets that have
> never had ISA, and even more where many of the individual machines
> don't have ISA.
>
> Unfortunately there are s
On Thu, 5 Mar 2015 13:48:42 +0800
Jason Wang wrote:
> Instead of depending on marco, switch to use a bus specific queue
> limit. Left is AdapterRouters->gsi[], this could be done in the future
> if we want to increase s390's queue limit really.
Stale comment regarding AdapterRoutes? You changed
On Fri, Mar 06, 2015 at 05:08:22PM +0800, Tiejun Chen wrote:
> While working with qemu, IGD is a specific device in the case of pass through
> so we need to identify that to handle more later. Here we define a table to
> record all IGD types currently we can support. Also we need to introduce two
>
On Fri, Mar 06, 2015 at 05:08:21PM +0800, Tiejun Chen wrote:
> When we're working to support IGD GFX passthrough with qemu
> upstream, instead of "-gfx_passthru" we'd like to make that
> a machine option, "-machine xxx,igd-passthru=on". This need
> to bring a change on tool side.
>
> After a discu
On Fri, Mar 06, 2015 at 05:08:23PM +0800, Tiejun Chen wrote:
> Although we already have 'gfx_passthru' in b_info, this doesn' suffice
> after we want to handle IGD specifically. Now we define a new field of
> type, gfx_passthru_kind, to indicate we're trying to pass IGD. Actually
> this means we ca
On Thu, 5 Mar 2015 13:48:46 +0800
Jason Wang wrote:
> Currently we will try to traverse all virtqueues to find a subset that
> using a specific vector. This is sub optimal when we will support
> hundreds or even thousands of virtqueues. So this patch introduces a
> method which could be used by
On Thu, 5 Mar 2015 13:48:43 +0800
Jason Wang wrote:
> Cc: Amit Shah
> Signed-off-by: Jason Wang
> ---
> hw/char/virtio-serial-bus.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c
> index 37a6f44..f280e95 1
On Fri, Mar 06, 2015 at 05:18:36PM +0800, Chen, Tiejun wrote:
> On 2015/3/6 17:08, Tiejun Chen wrote:
> >Although we already have 'gfx_passthru' in b_info, this doesn' suffice
> >after we want to handle IGD specifically. Now we define a new field of
> >type, gfx_passthru_kind, to indicate we're try
On Thu, 5 Mar 2015 13:48:45 +0800
Jason Wang wrote:
> Instead of depending on a macro, switch to use a bus specific queue
> limit.
>
> Cc: Anthony Liguori
> Cc: Michael S. Tsirkin
> Signed-off-by: Jason Wang
> ---
> hw/virtio/virtio-pci.c | 12 +++-
> include/hw/virtio/virtio.h
On 6 March 2015 at 21:05, Markus Armbruster wrote:
> Peter Maydell writes:
>
>> On 5 March 2015 at 02:02, Markus Armbruster wrote:
>>> This patch initializes monitors earlier, thus makes more errors look
>>> ugly. Do we care?
>>
>> Yeah, this doesn't seem great. Surely the actual problem here
>
On Thu, 5 Mar 2015 13:48:41 +0800
Jason Wang wrote:
> Instead of depending on marco, using a bus specific limit.
>
> Cc: Alexander Graf
> Cc: Cornelia Huck
> Cc: Christian Borntraeger
> Cc: Richard Henderson
> Signed-off-by: Jason Wang
> ---
> hw/s390x/s390-virtio-ccw.c | 7 +--
>
Am 05.03.2015 um 22:38 hat Stefan Hajnoczi geschrieben:
> Guests configured for multipath I/O might be started up with failed disks
> attached. QEMU should not refuse starting when a disk returns I/O errors (and
> in the past this behavior was implemented correctly).
>
> This patch series fixes a
Peter Maydell writes:
> On 5 March 2015 at 02:02, Markus Armbruster wrote:
>> zhanghailiang writes:
>>
>>> From: Xiangyou Xie
>>>
>>> If VM is configured with large size of hugepage, when startup,
>>> it will consume lots of time to zero the hugepage memory in the function
>>> 'os_mem_prealloc
"Michael S. Tsirkin" writes:
> Sorry about all the problems.
> Same as v4, but updated generated files for non-iasl systems.
> Not re-sending the patches therefore.
>
> The following changes since commit 11d39a131020cc5c54ff9bc86d3259f7d32bf849:
>
> Merge remote-tracking branch 'remotes/borntra
Yeah, your method is better. But there is still a little problem.
For example: vda has one snapshot with name "s1" and id_str "1", vdb
has two snapshots: first name "s1" and id_str "2"; second name "s2"
and id_str "3". Error will occur when we want to create snapshot s1,
because snapshot s1 with id
On 6 March 2015 at 23:27, Markus Armbruster wrote:
> It looks like we now generate a bunch of files that used to be
> git-controlled. The "generate" part is fine. But generating into the
> source tree is asking for trouble.
>
> What happens when I build separate build trees in parallel?
>
> Why
Public bug reported:
I have recurring problems with VM installation and usage - data on VM disk gets
corrupted at some point and it causes all sorts of problems - sometimes I
cannot even install base system, other times some .so files are corrupt after
isntallation, etc - totally random.
I use
Peter Maydell writes:
> On 6 March 2015 at 23:27, Markus Armbruster wrote:
>> It looks like we now generate a bunch of files that used to be
>> git-controlled. The "generate" part is fine. But generating into the
>> source tree is asking for trouble.
>>
>> What happens when I build separate bu
On Fri, 06 Mar 2015 15:27:07 +0100
Markus Armbruster wrote:
> "Michael S. Tsirkin" writes:
>
> > Sorry about all the problems.
> > Same as v4, but updated generated files for non-iasl systems.
> > Not re-sending the patches therefore.
> >
> > The following changes since commit 11d39a131020cc5c5
Currently kvm_mem_flags just translates bools to bits, let's
make it also determine the bools first. This avoids its parameter
list growing each time we add a flag.
Signed-off-by: Andrew Jones
---
This patch comes from an experimental series that added a kvm
memslot flag. That series probably won
On Thu, Mar 05, 2015 at 04:47:53PM +0100, Andreas Färber wrote:
> Am 05.03.2015 um 14:37 schrieb Eduardo Habkost:
> > On Thu, Mar 05, 2015 at 01:32:02AM +0100, Andreas Färber wrote:
> >> Am 04.03.2015 um 03:13 schrieb Eduardo Habkost:
> >>> The APIC ID compatibility code is required only for PC, an
On 03/04/2015 07:09 AM, zhanghailiang wrote:
> The original 'status' is an open-coded 'str' type, convert it to use an
> enum type.
> This conversion is backwards compatible, better documented and
> more convenient for future extensibility.
>
> We also rename 'MIGRATION_STATUS_ERROR' to 'MIGRATION
On 03/04/2015 07:09 AM, zhanghailiang wrote:
> We will use the typename 'MigrationStatus' for publicly exported typename,
> So here we rename the internal-only 'MigrationStatus' to
> 'HMPMigrationStatus'.
>
> Signed-off-by: zhanghailiang
> ---
> hmp.c | 8
> 1 file changed, 4 insertions
On Fri, Mar 06, 2015 at 10:35:41PM +0800, Yi Wang wrote:
> Yeah, your method is better. But there is still a little problem.
> For example: vda has one snapshot with name "s1" and id_str "1", vdb
> has two snapshots: first name "s1" and id_str "2"; second name "s2"
> and id_str "3". Error will occu
On 03/04/2015 07:09 AM, zhanghailiang wrote:
> 'cancelling' status is introduced by commit 51cf4c1a, which is mainly avoid
s/is introduced/was introduced/
s/which is mainly avoid/mainly to avoid a/
> possible starting a new migration process while the previous one still exist.
s/starting a new/s
On Fri, Feb 20, 2015 at 05:26:50PM +0100, Paolo Bonzini wrote:
> By using thread-local storage, aio_poll can stop using global data during
> g_poll_ns. This will make it possible to drop callbacks from rfifolock.
>
> Signed-off-by: Paolo Bonzini
> ---
> aio-posix.c | 77
> +
On 03/04/2015 07:09 AM, zhanghailiang wrote:
> Signed-off-by: zhanghailiang
> ---
> migration/migration.c | 93
> +++
> 1 file changed, 50 insertions(+), 43 deletions(-)
>
> diff --git a/migration/migration.c b/migration/migration.c
> index b3adbc
Andrey Korolyov writes:
> On Fri, Mar 6, 2015 at 1:14 AM, Andrey Korolyov wrote:
>> Hello,
>>
>> recently I`ve got a couple of shiny new Intel 2620v2s for future
>> replacement of the E5-2620v1, but I experienced relatively many events
>> with emulation errors, all traces looks simular to the on
On 03/05/2015 10:17 AM, Andrea Arcangeli wrote:
> Add documentation.
>
> Signed-off-by: Andrea Arcangeli
> ---
> Documentation/vm/userfaultfd.txt | 97
>
> 1 file changed, 97 insertions(+)
> create mode 100644 Documentation/vm/userfaultfd.txt
Just a gr
Hi Richard,
I've finally managed to check out why my e500v2 automated tests fail to
run. Apparently they break because autotest wants to execute target code
and runs into an illegal instruction while doing that:
Program received signal SIGILL, Illegal instruction.
0xb57c84cc in ?? ()
(gdb) x /i $
On 02/25/2015 12:04 AM, zhanghailiang wrote:
>>> +++ b/qmp-commands.hx
>>> @@ -753,6 +753,25 @@ Example:
>>> EQMP
>>>
>>> {
>>> +.name = "colo_lost_heartbeat",
>>
>> ...but documented incorrectly (this should use '-' to match the command
>> name in the .json file, not '_')
>>
On 03/06/2015 02:22 AM, Paolo Bonzini wrote:
> PTHREAD_MUTEX_ERRORCHECK is completely broken with respect to fork.
> The way to safely do fork is to bring all threads to a quiescent
> state by acquiring locks (either in callers---as we do for the
> iothread mutex---or using pthread_atfork's prepare
Igor Mammedov writes:
> On Fri, 06 Mar 2015 15:27:07 +0100
> Markus Armbruster wrote:
>
>> "Michael S. Tsirkin" writes:
>>
>> > Sorry about all the problems.
>> > Same as v4, but updated generated files for non-iasl systems.
>> > Not re-sending the patches therefore.
>> >
>> > The following ch
On Fri, Mar 06, 2015 at 05:08:21PM +0800, Tiejun Chen wrote:
> When we're working to support IGD GFX passthrough with qemu
> upstream, instead of "-gfx_passthru" we'd like to make that
Could you also include in the cover letter an URL link to the latest
discussion on this?
Thank you.
> a machine
On 03/06/2015 02:09 AM, Markus Armbruster wrote:
> A more thorough cleanup of the area is in the works, but I want to get
> this out quickly, so it makes 2.3.
>
> I think it can go via -trivial, if Luiz doesn't mind.
>
> Markus Armbruster (2):
> hmp: Fix definition of command quit
> qmp: Drop
On 02/24/2015 06:51 AM, Alberto Garcia wrote:
> Hello,
>
> this is a follow-up to the comments from Eric Blake about my patches
> to extend the block streaming API:
>
>https://lists.gnu.org/archive/html/qemu-devel/2015-02/msg04231.html
>
> Since QEMU doesn't have an easy way to tell the argu
On 03/04/2015 06:32 PM, Fam Zheng wrote:
> Aio context switch should just work because the requests will be
> drained, so the scheduled timer(s) on the old context will be freed.
>
> Signed-off-by: Fam Zheng
>
> ---
> v2: Check for negative value; add sleep in null-co://. [Kevin]
> ---
> block/
The block layer maintainership is being split up into smaller, more
manageable pieces.
I propose that I take over / assist with the following areas:
* blockjobs
* archipelago
* curl
* gluster
* nfs
* rbd
* sheepdog
* ssh
* vhdx
As John Snow noted in a differen
On Fri, Feb 20, 2015 at 05:26:51PM +0100, Paolo Bonzini wrote:
> This is the first step in pushing down acquire/release, and will let
> rfifolock drop the contention callback feature.
>
> Signed-off-by: Paolo Bonzini
> ---
> aio-posix.c | 9 +
> aio-win32.c | 8
On Fri, Feb 20, 2015 at 05:26:52PM +0100, Paolo Bonzini wrote:
> This is the first step towards having fine-grained critical sections in
> dataplane threads, which resolves lock ordering problems between
> address_space_* functions (which need the BQL when doing MMIO, even
> after we complete RCU-b
On Wed, Feb 04, 2015 at 11:32:29AM +, Daniel P. Berrange wrote:
> In QEMU there are a number of features which involve communication with an
> external system over an I/O channel of some form. The features include
> migration, NBD, VNC and character devices. The I/O channel in question might
>
On Wed, Feb 25, 2015 at 09:32:18PM -0300, Christopher Pereira wrote:
> Does qemu reopen files on a 'cont' command?
>
> When working with images on a gluster volume, file descriptors may get into
> a bad state because of network timeouts, remounting a share, etc...and
> reinitializing file descript
On Fri, 6 Mar 2015, Alexander Graf wrote:
> I've finally managed to check out why my e500v2 automated tests fail to
> run. Apparently they break because autotest wants to execute target code
> and runs into an illegal instruction while doing that:
>
> Program received signal SIGILL, Illegal instr
On Thu, Feb 26, 2015 at 10:29:57AM +0100, Christian Borntraeger wrote:
> is this some know issue? Under heavy load with lots of dataplane devices I
> sometimes get a segfault in the bdrc_co_do_rw routine:
>
> #0 bdrv_co_do_rw (opaque=0x0) at /home/cborntra/REPOS/qemu/block.c:4791
> 4791 if
> Am 06.03.2015 um 18:20 schrieb Maciej W. Rozycki :
>
>> On Fri, 6 Mar 2015, Alexander Graf wrote:
>>
>> I've finally managed to check out why my e500v2 automated tests fail to
>> run. Apparently they break because autotest wants to execute target code
>> and runs into an illegal instruction
On Fri, 6 Mar 2015, Alexander Graf wrote:
> >> And lo and behold, I really couldn't find any reference to mfocrf in the
> >> e500v2 spec.
> >
> > Do real e500 processors trap on this operation as well?
>
> The illegal instruction I posted about above was when running qemu
> *on* e500v2, becau
On 03/06/2015 12:40 PM, Igor Mammedov wrote:
On Thu, 5 Mar 2015 16:55:02 +0200
Marcel Apfelbaum wrote:
Add encoding for ACPI DefIndex Opcode.
Signed-off-by: Marcel Apfelbaum
---
hw/acpi/aml-build.c | 10 ++
include/hw/acpi/aml-build.h | 1 +
2 files changed, 11 insertio
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
> On 2015/3/5 21:31, Dr. David Alan Gilbert (git) wrote:
> >From: "Dr. David Alan Gilbert"
>
> Hi Dave,
>
> >
> >Hi,
> > I'm getting COLO running on a couple of our machines here
> >and wanted to see what was actually going on, so I merge
In reply to this message I'll send two series' one for KVM and
one for QEMU. The two series' are their respective component
complements, and attempt to implement cache coherency for arm
guests using emulated devices, where the emulator (qemu) uses
cached memory for the device memory, but the guest
Remove the vcpu parameter. We can do this by doing the same
query in the caller of __coherent_cache_guest_page, and then
folding the result into its ipa_uncached parameter, which we
rename to need_flush.
A later patch will add a new caller for __coherent_cache_guest_page
that does not have a vcpu
Signed-off-by: Andrew Jones
---
arch/arm/kvm/mmu.c | 9 +++--
include/linux/kvm_host.h | 1 -
include/uapi/linux/kvm.h | 1 +
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c
index bcc1b3ad2adce..a806e8cecc01b 100644
--- a/arch/arm/k
Also support only invalidating, rather than always invalidate+clear.
Signed-off-by: Andrew Jones
---
arch/arm/include/asm/kvm_mmu.h | 7 +--
arch/arm/kvm/mmu.c | 2 +-
arch/arm64/include/asm/kvm_mmu.h | 7 +--
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git
Userspace flags memory regions as incoherent and kvm flushes/
invalidates those regions on entry/exit from userspace.
Result before patch 6/6: restores coherency, way t sloow
Result with patch 6/6: fast again - well, we removed the code...
Andrew Jones (6):
kvm: promote KVM_MEMSLO
Should do a proper update-linux-headers.sh update.
Signed-off-by: Andrew Jones
---
linux-headers/linux/kvm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index 12045a11c036b..d04e2d781c43b 100644
--- a/linux-headers/linux/kvm.h
+++ b/l
Add two new memslot functions to the API
kvm_flush_incoherent_memory_regions
flush all KVM_MEM_INCOHERENT memslot addresses
kvm_invalidate_incoherent_memory_regions
invalidate all KVM_MEM_INCOHERENT memslot addresses
Signed-off-by: Andrew Jones
---
include/linux/kvm_host.h | 14 +++
kvm_arch_flush_incoherent makes things too slow, and we don't
need it. Userspace can flush for us, as the necessary cache
maintenance instruction is not (necessarily) privileged.
Signed-off-by: Andrew Jones
---
arch/arm/kvm/mmu.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm
Add the kvm_*_incoherent_memory_regions calls to arm's
kvm_arch_vcpu_ioctl_run and implement the corresponding
arch flush/invalidate functions.
Signed-off-by: Andrew Jones
---
arch/arm/include/uapi/asm/kvm.h | 1 +
arch/arm/kvm/arm.c| 4 +++
arch/arm/kvm/mmu.c
Currently kvm_mem_flags just translates bools to bits, let's
make it also determine the bools first. This avoids its parameter
list growing each time we add a flag.
Signed-off-by: Andrew Jones
---
Posted this, as it makes sense without this series.
http://lists.gnu.org/archive/html/qemu-devel/201
Add support for the new KVM_MEM_INCOHERENT flag, and flag
appropriate memory. (Only flags vram for now.)
Patch 6/6 doesn't appear to be complete. While the VGA output is
99% corruption free, it's not perfect, so it's missing flushes
somewhere...
Andrew Jones (6):
memory: add incoherent cache f
On 06-03-2015 14:19, Stefan Hajnoczi wrote:
On Wed, Feb 25, 2015 at 09:32:18PM -0300, Christopher Pereira wrote:
Does qemu reopen files on a 'cont' command?
When working with images on a gluster volume, file descriptors may get into
a bad state because of network timeouts, remounting a share, e
Add a function that flushes the cache to PoC. We need a new
function because __builtin___clear_cache only flushes to
PoU. Call this function each time an address in a memory
region that has been flagged as having an incoherent cache
is written. For starters we only implement it for ARM. Most
other
1 - 100 of 180 matches
Mail list logo