* use of struct hvm_irq_dpci in pv guests
@ 2011-03-31 12:31 Jan Beulich
2011-04-21 7:02 ` Haitao Shan
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2011-03-31 12:31 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
The per-domain pointer to this is stored in ->arch.hvm_domain.irq.dpci,
hence suggesting that this is a HVM only field.
do_domctl(XEN_DOMCTL_bind_pt_irq) and domain_get_irq_dpci()
access it however without considering HVM-ness. In the course of
splitting/shrinking struct domain, I'd therefore need to know whether
this field ought to become common, or whether all accessors of the
field need to get protected by is_hvm_domain().
Thanks, Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: use of struct hvm_irq_dpci in pv guests
2011-03-31 12:31 use of struct hvm_irq_dpci in pv guests Jan Beulich
@ 2011-04-21 7:02 ` Haitao Shan
0 siblings, 0 replies; 2+ messages in thread
From: Haitao Shan @ 2011-04-21 7:02 UTC (permalink / raw)
To: Jan Beulich; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 789 bytes --]
Hi, Jan,
I think it should be protected by is_hvm_domain(). Anyway, I have saw your
patches already in upstream Xen.
Shan Haitao
2011/3/31 Jan Beulich <JBeulich@novell.com>
> The per-domain pointer to this is stored in ->arch.hvm_domain.irq.dpci,
> hence suggesting that this is a HVM only field.
> do_domctl(XEN_DOMCTL_bind_pt_irq) and domain_get_irq_dpci()
> access it however without considering HVM-ness. In the course of
> splitting/shrinking struct domain, I'd therefore need to know whether
> this field ought to become common, or whether all accessors of the
> field need to get protected by is_hvm_domain().
>
> Thanks, Jan
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
[-- Attachment #1.2: Type: text/html, Size: 1320 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-21 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-31 12:31 use of struct hvm_irq_dpci in pv guests Jan Beulich
2011-04-21 7:02 ` Haitao Shan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).