qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] IS_USER(s) in target-arm


From: Shijesta Victor
Subject: [Qemu-devel] IS_USER(s) in target-arm
Date: Tue, 15 Jan 2013 00:40:10 -0800 (PST)

I am trying to use QEMU to print the virtual and physical addresses of all memory accesses for target-arm. I can see the addresses being computed, but they pass IS_USER(s) as an index to routines like gen_ld8s etc, Can you please explain what this does?

Any help is appreciated; thanks in advance!

regards,
shijesta

--- On Tue, 15/1/13, Wenchao Xia <address@hidden> wrote:

From: Wenchao Xia <address@hidden>
Subject: Re: [Qemu-devel] [PATCH V3 02/11] block: add bdrv_get_filename() function
To: "Luiz Capitulino" <address@hidden>
Cc: address@hidden, address@hidden, address@hidden, address@hidden, address@hidden, address@hidden
Date: Tuesday, 15 January, 2013, 13:00

于 2013-1-15 1:08, Luiz Capitulino 写道:
> On Mon, 14 Jan 2013 15:09:38 +0800
> Wenchao Xia <address@hidden> wrote:
>
>>    This function will simply return the uri or filename used
>> to open the image.
>>
>> Reviewed-by: Eric Blake <address@hidden>
>> Signed-off-by: Wenchao Xia <address@hidden>
>> ---
>>   block.c               |    5 +++++
>>   include/block/block.h |    1 +
>>   2 files changed, 6 insertions(+), 0 deletions(-)
>>
>> diff --git a/block.c b/block.c
>> index 4e28c55..5f95da5 100644
>> --- a/block.c
>> +++ b/block.c
>> @@ -2967,6 +2967,11 @@ BlockStatsList *qmp_query_blockstats(Error **errp)
>>       return head;
>>   }
>>
>> +const char *bdrv_get_filename(BlockDriverState *bs)
>> +{
>
> bs can be const.
>
OK.


--
Best Regards

Wenchao Xia



reply via email to

[Prev in Thread] Current Thread [Next in Thread]