From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [PATCH 5 of 5] qemu: implement support for secondary consoles in the console backend
Date: Thu, 11 Jun 2009 17:02:20 +0100 [thread overview]
Message-ID: <4A312A8C.4000606@eu.citrix.com> (raw)
In-Reply-To: <4A31218A.4060908@redhat.com>
Gerd Hoffmann wrote:
> Hi,
>
>> + if (!xendev->dev)
>> + snprintf(con->console, sizeof(con->console), "%s/console", dom);
>> + else
>> + snprintf(con->console, sizeof(con->console), "%s/device/console/%d", dom, xendev->dev);
>
>> + if (!xendev->dev)
>> + con->sring = xc_map_foreign_range(xen_xc, con->xendev.dom,
>> + else
>> + con->sring = xc_gnttab_map_grant_ref(xendev->gnttabdev, con->xendev.dom,
>
>> + if (!xendev->gnttabdev)
>> + munmap(con->sring, XC_PAGE_SIZE);
>> + else
>> + xc_gnttab_munmap(xendev->gnttabdev, con->sring, 1);
>
> This should check for xendev->dev too, like the other ones.
right.
> Also this changes code already merged to upstream qemu, so it should be
> crossposted to qemu-devel.
I'll do.
prev parent reply other threads:[~2009-06-11 16:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 15:08 [PATCH 5 of 5] qemu: implement support for secondary consoles in the console backend Stefano Stabellini
2009-06-11 15:23 ` Gerd Hoffmann
2009-06-11 16:02 ` Stefano Stabellini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A312A8C.4000606@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.com \
--cc=kraxel@redhat.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.