qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 18/21] openpic: add basic support for MPIC v4.2


From: Scott Wood
Subject: Re: [Qemu-devel] [PATCH 18/21] openpic: add basic support for MPIC v4.2
Date: Fri, 25 Jan 2013 13:28:03 -0600

On 01/25/2013 01:23:52 PM, Blue Swirl wrote:
On Fri, Jan 25, 2013 at 12:53 PM, Alexander Graf <address@hidden> wrote:
> +
> +static int inttgt_to_output(int inttgt)
> +{
> +    int i;
> +
> +    for (i = 0; i < ARRAY_SIZE(inttgt_output); i++) {
> +        if (inttgt_output[i][0] == inttgt) {
> +            return inttgt_output[i][1];
> +        }
> +    }
> +
> + fprintf(stderr, "%s: unsupported inttgt %d\n", __func__, inttgt);

No objection, but how about converting this to qemu_log(LOG_UNIMP,...) later?

OK, didn't know that existed.

-Scott



reply via email to

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