qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH][v9] megasas: LSI Megaraid SAS HBA emulation


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH][v9] megasas: LSI Megaraid SAS HBA emulation
Date: Sun, 15 Jan 2012 11:21:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

On 01/13/2012 06:54 PM, Andreas Färber wrote:
> > +static void megasas_unmap_sgl(struct megasas_cmd_t *cmd)
> > +{
> > +    int i, is_write = megasas_frame_is_write(cmd);
> > +
> > +    for (i = 0; i < cmd->iov_cnt; i++) {
> > +        cpu_physical_memory_unmap(cmd->iov[i].iov_base, 
> > cmd->iov[i].iov_len,
> > +                                  is_write, cmd->iov[i].iov_len);
>
> Not sure, but cpu_physical_memory_* sounds old-fashioned. Might need an
> update to MemoryRegion?

These APIs have not been updated (yet?).

-- 
error compiling committee.c: too many arguments to function




reply via email to

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