27.03.2015 17:49, Eric Blake wrote:
> On 03/27/2015 03:07 AM, Michael Tokarev wrote:
>> Hello.
>>
>> I tried to experiment with block-commit command, which propagates
>> changes accumulated in an overlay (qcow2) block image file back to
>> the base image file.
>>
>> And immediately faced a problem.
We need to be able to run qemu as not root. Has anyone tried using qemu
with fakechroot?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1245703
Title:
LD_PREFIX option reads directories recursively
在 2015年03月27日 22:35, Igor Mammedov 写道:
On Fri, 27 Mar 2015 13:36:11 +0800
Lin Ma wrote:
If backends implement the can_be_deleted and it returns false,
Then the qmp_object_del won't delete the given backends.
Signed-off-by: Lin Ma
---
include/qom/object_interfaces.h | 14 ++
q
Eric Blake writes:
> ...or an array of dictionaries. Although we have to cater to
> existing commands, returning a non-dictionary means the command
> is not extensible (no new name/value pairs can be added if more
> information must be returned in parallel). By making the
> whitelist explicit,
Just a respectful ping on this one..
Luiz do you think you can integrate this into the monitor?
I have given it quite some testing for the LE host case,
I don't have a BE host to test with at the moment, maybe someone can advise
about how to test that scenario?
I was trying to do some qemu under
Hello,
I'm trying to understand what the idea behind these is. For one,
without .valid.accepts set I can't see the two respective .valid
fields take effect at all. Yet all examples I looked at don't set
.valid.accepts. What's the deal here?
And then the way access_with_adjusted_size() works, it l
On 27 March 2015 at 16:22, Christopher Covington
wrote:
> Print semihosting debugging information before the
> do_arm_semihosting() call so that angel_SWIreason_ReportException,
> which causes the function to not return, gets the same debug prints as
> other semihosting calls. Also print out the s
On 27 March 2015 at 16:22, Christopher Covington
wrote:
> In AArch64, Angel semihosting uses HLT instructions with a special
> immediate value, 0xf000. Use a new exception type EXCP_SEMI for this,
> since I'm not aware of plans for full HLT support, and EXCP_HLT is
> already defined as a QEMU inte
On 27 March 2015 at 16:22, Christopher Covington
wrote:
> This will allow the print-error-and-exit sequence to be called from a
> second location in a subsequent patch. The type of the nr variable is
> changed from int to uint32_t since I'm unaware of semihosting call
> numbers needing more than 3
This is the set of things I have on the list for "should ideally
get into rc2":
* AArch64 migration fixes
* VNC patches to fix CVEs
* recent exec.c changes broke ppc OSX/OpenBIOS boot
Anything else?
thanks
-- PMM
The patchset adds a generic can_be_deleted callback to UserCreatableClass.
It prevents removing a usercreatable object if the callback returns false.
Backends could implement the callback if it shoudn't be removed while it's
in use.
Thank Peter Crosthwaite, Paolo Bonzini, Andreas Färber and Igor
If backends implement the can_be_deleted and it returns false,
Then the qmp_object_del won't delete the given backends.
Signed-off-by: Lin Ma
---
include/qom/object_interfaces.h | 14 ++
qmp.c | 5 +
qom/object_interfaces.c | 14 ++
showing a memory device whose memdev is removed leads an assert:
(qemu) object_add memory-backend-ram,id=ram0,size=128M
(qemu) device_add pc-dimm,id=d0,memdev=ram0
(qemu) object_del ram0
(qemu) info memory-devices
**
ERROR:qom/object.c:1274:object_get_canonical_path_component:\
> On 27 Mar 2015, at 18:22, Christopher Covington
> wrote:
>
>
> Hi,
>
> Here are a few patches preparing for and adding AArch64 Angel
> semihosting support.
please note that the semihosting support is still incomplete, the code to pass
the semihosting command line is not in; we discussed a
On 03/27/2015 03:47 AM, Chen Gang wrote:
> After load elf64 binary, qemu tilegx can finish executing the first
> system call (uname) successfully in _dl_discover_osversion(), and
> return to __libc_start_main().
>
> Chen Gang (12):
> linux-user: tilegx: Firstly add architecture related features
On 27 March 2015 at 16:57, Liviu Ionescu wrote:
>
>> On 27 Mar 2015, at 18:22, Christopher Covington
>> wrote:
>>
>>
>> Hi,
>>
>> Here are a few patches preparing for and adding AArch64 Angel
>> semihosting support.
>
> please note that the semihosting support is still incomplete,
Christopher's
On 03/27/2015 05:42 PM, Peter Maydell wrote:
This is the set of things I have on the list for "should ideally
get into rc2":
* AArch64 migration fixes
* VNC patches to fix CVEs
* recent exec.c changes broke ppc OSX/OpenBIOS boot
Anything else?
Hi Peter,
I have one more TriCore fix
(ht
On 27 March 2015 at 17:07, Bastian Koppelmann
wrote:
> I have one more TriCore fix (https://patchwork.ozlabs.org/patch/455433/),
> that could go into rc2. Is there a good point in time for you, when I should
> send a pull request?
rc2 is scheduled to be done on Tuesday. "by end of the
previous da
Eric Blake writes:
> Previous commits demonstrated that the generator overlooked various
> bad naming situations:
> - types, commands, and events need a valid name
> - union and alternate branches cannot be marked optional
>
> The set of valid names includes [a-zA-Z0-9._-] (where '.' is
> useful
Hi,
On 27/03/2015 17:05, Peter Maydell wrote:
> On 27 March 2015 at 16:57, Liviu Ionescu wrote:
>>
>>> On 27 Mar 2015, at 18:22, Christopher Covington
>>> wrote:
>>>
>>>
>>> Hi,
>>>
>>> Here are a few patches preparing for and adding AArch64 Angel
>>> semihosting support.
>>
>> please note that
On Sat, 28 Mar 2015 00:55:29 +0800
Lin Ma wrote:
> If backends implement the can_be_deleted and it returns false,
> Then the qmp_object_del won't delete the given backends.
>
> Signed-off-by: Lin Ma
> ---
> include/qom/object_interfaces.h | 14 ++
> qmp.c
On 03/27/2015 09:36 AM, Michael Tokarev wrote:
>> It is already possible to open a file read-write on the command line, by
>> using -add-fd twice to put both a read-only and a read-write fd handle
>> to the same file in a single set N, then using -drive options to specify
>> /dev/fdset/N rather tha
On 27 March 2015 at 17:15, Leon Alrae wrote:
> On 27/03/2015 17:05, Peter Maydell wrote:
>> We should pick those back up -- I think we sort of stalled
>> because it wasn't clear that you were happy with the double-comma
>> thing. It does fit in with the rest of QEMU's (ugly) command
>> line syntax
> On 27 Mar 2015, at 19:15, Leon Alrae wrote:
>
> ... introducing separate "-semihosting-arg" option to pass input arguments
if we'll ever go for this solution, I would call it "-semihosting-cmdline",
since it should include the entire command line, starting with argv[0].
> ... but basically
在 2015年03月28日 01:20, Igor Mammedov 写道:
On Sat, 28 Mar 2015 00:55:29 +0800
Lin Ma wrote:
If backends implement the can_be_deleted and it returns false,
Then the qmp_object_del won't delete the given backends.
Signed-off-by: Lin Ma
---
include/qom/object_interfaces.h | 14 ++
q
On 27/03/2015 17:42, Peter Maydell wrote:
> This is the set of things I have on the list for "should ideally
> get into rc2":
> * AArch64 migration fixes
> * VNC patches to fix CVEs
> * recent exec.c changes broke ppc OSX/OpenBIOS boot
>
> Anything else?
Nothing else from me (planning to loo
On 03/26/2015 11:41 AM, Andreas Färber wrote:
Am 25.03.2015 um 23:14 schrieb John Snow:
On 03/25/2015 02:20 PM, Andreas Färber wrote:
Replace uses of g_test_add_data_func() for QTest test cases.
It is still valid to use it for any non-QTest test cases,
which are not run for multiple target b
Initial patchset adding support for trapping to an EL other than EL1. Support
includes changes to interfaces to allow specification of the target EL. Also
includes the addition of the ARMv8 CPTR system registers used for controlling
the trapping of features.
Greg Bellows (7):
target-arm: Add e
Adds CPTR_EL2/3 system registers definitions and access function.
Signed-off-by: Greg Bellows
---
target-arm/cpu.h| 18 +-
target-arm/helper.c | 43 ++-
2 files changed, 59 insertions(+), 2 deletions(-)
diff --git a/target-arm/cpu.h b/
Updated the various helper routines to set the target EL as needed.
Signed-off-by: Greg Bellows
---
target-arm/op_helper.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index 72a973a..aa175b5 100644
--- a/target-arm/op_helper.c
+++ b/tar
Add a CPU state exception target EL field that will be used for communicating
the EL to which an exception should be routed.
Add a target EL argument to the generic exception helper for callers to specify
the EL to which the exception should be routed. Extended the helper to set
the newly added C
Add a utility function for choosing the correct TTBR system register based on
the specified MMU index. Add use of function on physical address lookup.
Signed-off-by: Greg Bellows
---
target-arm/helper.c | 44
1 file changed, 32 insertions(+), 12 delet
Adds a utility function for creating a WFx exception syndrome
Signed-off-by: Greg Bellows
---
target-arm/internals.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/target-arm/internals.h b/target-arm/internals.h
index bb171a7..8dc2e2b 100644
--- a/target-arm/internals.h
+++ b/target-a
Updated the interrupt handling to utilize and report through the target EL
exception field. This includes consolidating and cleaning up code where
needed. Target EL is now calculated once in arm_cpu_exec_interrupt() and
do_interrupt was updated to use the target_el exception field. The
necessary
Add support for trapping WFI and WFE instructions to the proper EL when
SCTLR/SCR/HCR settings apply.
Signed-off-by: Greg Bellows
---
target-arm/op_helper.c | 75 +++---
1 file changed, 71 insertions(+), 4 deletions(-)
diff --git a/target-arm/op_helpe
Allow bitmap successors to carry reference counts.
We can in a later patch use this ability to clean up the dirty bitmap
according to both the individual job's success and the success of all
jobs in the transaction group.
The code for cleaning up a bitmap is also moved from backup_run to
backup_c
Test simple usage cases for using transactions to create
and synchronize incremental backups.
Signed-off-by: John Snow
---
tests/qemu-iotests/124 | 51 ++
tests/qemu-iotests/124.out | 4 ++--
2 files changed, 53 insertions(+), 2 deletions(-)
diff
We'd like to be able to specify the callback given to backup_start
manually in the case of transactions, so split apart qmp_drive_backup
into an implementation and a wrapper.
Switch drive_backup_prepare to use the new wrapper, but don't overload
the callback and closure yet.
Signed-off-by: John S
This patch actually implements the transactional callback system
for the drive_backup transaction.
(1) We manually pick up a reference to the bitmap if present to allow
its cleanup to be delayed until after all drive_backup jobs launched
by the transaction have fully completed.
(2) We
The goal here is to add a new method to transactions that allows
developers to specify a callback that will get invoked only once
all jobs spawned by a transaction are completed, allowing developers
the chance to perform actions conditionally pending complete success,
partial failure, or complete f
Use a transaction to request an incremental backup across two drives.
Coerce one of the jobs to fail, and then re-run the transaction.
Verify that no bitmap data was lost due to the partial transaction
failure.
Signed-off-by: John Snow
---
tests/qemu-iotests/124 | 119 ++
These structures are misnomers, somewhat.
(1) BlockTransactionState is not state for a transaction,
but is rather state for a single transaction action.
Rename it "BlkActionState" to be more accurate.
(2) The BdrvActionOps describes operations for the BlkActionState,
above. This name
In general, since transactions may reference QMP function helpers,
it would be nice for them to sit beneath them.
This will avoid the need for forward declaring any QMP interfaces,
which would be aggravating to update in so many places.
Signed-off-by: John Snow
---
blockdev.c | 2581 +++
Now that the structure formerly known as BlkTransactionState has been
renamed to something sensible (BlkActionState), re-introduce an actual
BlkTransactionState that actually manages state for the entire Transaction.
In the process, convert the old QSIMPLEQ list of actions into a QTAILQ,
to let us
If we want to get at the job after the life of the job,
we'll need a refcount for this object.
This may occur for example if we wish to inspect the actions
taken by a particular job after a transactional group of jobs
runs, and further actions are required.
Signed-off-by: John Snow
---
blockjob
This adds two qmp commands to transactions.
block-dirty-bitmap-add allows you to create a bitmap simultaneously
alongside a new full backup to accomplish a clean synchronization
point.
block-dirty-bitmap-clear allows you to reset a bitmap back to as-if
it were new, which can also be used alongsid
On 03/27/2015 06:38 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> On 03/26/2015 09:55 AM, Markus Armbruster wrote:
>>> Eric Blake writes:
>>>
Demonstrate that the qapi generator doesn't deal well with
expressions that aren't up to par. Later patches will improve
the expec
On 03/27/2015 06:30 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> On 03/26/2015 07:18 AM, Markus Armbruster wrote:
>>> Eric Blake writes:
>>>
Demonstrate that the qapi generator doesn't deal well with unions
that aren't up to par. Later patches will update the expected
re
On 03/27/2015 01:52 AM, Markus Armbruster wrote:
> One more...
>
> Eric Blake writes:
>
> [...]
>> diff --git a/scripts/qapi.py b/scripts/qapi.py
>> index 90eb3bc..5d0dc91 100644
>> --- a/scripts/qapi.py
>> +++ b/scripts/qapi.py
> [...]
>> @@ -560,12 +585,22 @@ def type_name(name):
>> r
requires: 1426879023-18151-1-git-send-email-js...@redhat.com
"[PATCH v4 00/20] block: transactionless incremental backup series"
This series adds support for incremental backup primitives in QMP
transactions. It requires my transactionless incremental backup series,
currently at v4.
Pat
On 03/27/2015 02:23 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> Now that we know every expression is valid with regards to
>> its keys, we can add further tests that those keys refer to
>> valid types. With this patch, all uses of a type (the 'data':
>> of command, type, union, altern
On 03/27/2015 02:48 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> Previous commits demonstrated that the generator overlooked various
>> bad naming situations:
>> - types, commands, and events need a valid name
>> - union and alternate branches cannot be marked optional
>>
>> The set of
On 03/27/2015 11:14 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> Previous commits demonstrated that the generator overlooked various
>> bad naming situations:
>> - types, commands, and events need a valid name
>> - union and alternate branches cannot be marked optional
>>
>> The set of
On 03/27/2015 03:11 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> ...or an array of dictionaries. Although we have to cater to
>> existing commands, returning a non-dictionary means the command
>> is not extensible (no new name/value pairs can be added if more
>> information must be ret
On 03/27/2015 10:19 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> ...or an array of dictionaries. Although we have to cater to
>> existing commands, returning a non-dictionary means the command
>> is not extensible (no new name/value pairs can be added if more
>> information must be ret
On 03/27/2015 03:52 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> In the testsuite, UserDefTwo and UserDefNested were identical
>> types other than the member names. Reduce code duplication by
>> having just one type, and choose names that also favor reuse.
>> This will also make it eas
Am 27.03.2015 um 18:10 schrieb Peter Maydell:
On 27 March 2015 at 17:07, Bastian Koppelmann
wrote:
I have one more TriCore fix (https://patchwork.ozlabs.org/patch/455433/),
that could go into rc2. Is there a good point in time for you, when I should
send a pull request?
rc2 is scheduled to be
On Fri, Mar 27, 2015 at 09:55:03 +, Alex Bennée wrote:
> Have you been able to measure any performance improvement with these new
> structures? In theory, if aligned with cache lines, performance should
> improve but real numbers would be nice.
I haven't benchmarked anything, which makes me ve
Print semihosting debugging information before the
do_arm_semihosting() call so that angel_SWIreason_ReportException,
which causes the function to not return, gets the same debug prints as
other semihosting calls. Also print out the semihosting call number.
Signed-off-by: Christopher Covington
--
Hi,
Here are a few patches preparing for and adding AArch64 Angel
semihosting support. I've been testing them with some simple tests from
the following repository. This series only adds support for exit, but
support for the rest of the calls will hopefully follow shortly.
http://git.linaro.org/p
This will allow the print-error-and-exit sequence to be called from a
second location in a subsequent patch. The type of the nr variable is
changed from int to uint32_t since I'm unaware of semihosting call
numbers needing more than 32 bits, even on AArch64. Also generalize
the wording of the unsup
In AArch64, Angel semihosting uses HLT instructions with a special
immediate value, 0xf000. Use a new exception type EXCP_SEMI for this,
since I'm not aware of plans for full HLT support, and EXCP_HLT is
already defined as a QEMU internal exception type. Support just the
exit call in A64 to start w
The FIS Receive Buffer and Command List Buffer pointers
should not be edited while the FIS receive engine or
Command Receive engines are running.
Currently, we attempt to re-map the buffers every time they
are adjusted, but while the AHCI engines are off, these registers
may contain stale values,
Many bits in the CMD register are supposed to be strictly read-only.
We should not be deleting them on every write.
As a side-effect: pay explicit attention to when a guest marks off
the FIS Receive or Start bits, and disable the status bits ourselves,
instead of letting them implicitly fall off.
The following changes since commit b27e767e8c8d56cb7c9d0b78eadd89521bdf836c:
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
staging (2015-03-27 12:12:27 +)
are available in the git repository at:
https://github.com/jnsnow/qemu.git tags/ide-pull-request
for y
The following changes since commit b27e767e8c8d56cb7c9d0b78eadd89521bdf836c:
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
staging (2015-03-27 12:12:27 +)
are available in the git repository at:
https://github.com/jnsnow/qemu.git tags/ide-pull-request
for y
On 3/28/15 01:01, Richard Henderson wrote:
> On 03/27/2015 03:47 AM, Chen Gang wrote:
>> After load elf64 binary, qemu tilegx can finish executing the first
>> system call (uname) successfully in _dl_discover_osversion(), and
>> return to __libc_start_main().
>>
>> Chen Gang (12):
>> linux-user:
On 27.03.2015 12:10, Greg Bellows wrote:
> Add a utility function for choosing the correct TTBR system register based on
> the specified MMU index. Add use of function on physical address lookup.
>
> Signed-off-by: Greg Bellows
> ---
> target-arm/helper.c | 44
On 2015/3/27 18:51, Juan Quintela wrote:
zhanghailiang wrote:
On 2015/3/26 11:52, Li Zhijian wrote:
On 03/26/2015 11:12 AM, Wen Congyang wrote:
On 03/25/2015 05:50 PM, Juan Quintela wrote:
zhanghailiang wrote:
Hi all,
We found that, sometimes, the content of VM's memory is
inconsistent be
Hi,
Ping again... Can this patch be a raw stuff for rc2 ?
Regards,
Gonglei
On 2015/3/17 15:15, Gonglei wrote:
> On 2015/3/5 11:05, arei.gong...@huawei.com wrote:
>> From: Gonglei
>>
>> When not assign a -dtb argument, the variable dtb_filename
>> storage returned from qemu_find_file(), whic
On Thu, Mar 5, 2015 at 6:05 AM, wrote:
> From: Gonglei
>
> When not assign a -dtb argument, the variable dtb_filename
> storage returned from qemu_find_file(), which should be freed
> after use. Alternatively we define a local variable filename,
> with 'char *' type, free after use.
>
> Cc: Mich
> -
> > 1 file changed, 177 insertions(+), 7 deletions(-)
> >
> > diff --git a/arch_init.c b/arch_init.c index 48cae22..9f63c0f 100644
> > --- a/arch_init.c
> > +++ b/arch_init.c
> > @@ -355,12 +355,33 @@ static DecompressParam *decomp_param; static
> > QemuThread *decompress_threads; static uin
bdrv_aio_* APIs can use coroutines to achieve asynchronicity. However,
the coroutine may terminate without having yielded back to the caller
(for example because of something that invokes a nested event loop,
or because the coroutine is doing nothing at all). In this case,
the bdrv_aio_* API must
101 - 173 of 173 matches
Mail list logo