|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug
To: |
"Liu, Jinsong" <jinsong.liu@xxxxxxxxx> |
Subject: |
Re: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug |
From: |
Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> |
Date: |
Wed, 11 Aug 2010 14:54:24 +0100 |
Cc: |
"Li, Xin" <xin.li@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> |
Delivery-date: |
Wed, 11 Aug 2010 06:55:35 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<BC00F5384FCFC9499AF06F92E8B78A9E0B0007FD20@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Newsgroups: |
chiark.mail.xen.devel |
References: |
<BC00F5384FCFC9499AF06F92E8B78A9E0B0007FD20@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Liu, Jinsong writes ("[Xen-devel] [PATCH] Fix hvm vcpu hotplug bug"):
> When hotplug hvm vcpu by 'xm vcpu-set' command, if it add/remove
> many vcpus by 1 'xm vcpu-set' command, it has a bug that it cannot
> add/remove all vcpus that want to be added/removed.
> This patch is to fix the bug. It delays trigger sci until all xenstore
> cpu node status are watched.
This patch seems to arrange to take multiple CPU hot-add/remove events
and coalesce them into a single event. It is obvious how this avoids
triggering a race, but I'm not convinced that it's a correct fix.
The core problem seems to be that somehow the SCI IRQ is lost ?
Perhaps the real problem is this code:
qemu_set_irq(sci_irq, 1);
qemu_set_irq(sci_irq, 0);
I'm not familiar with the way SCI is supposed to work but clearing the
irq in the qemu add/remove function seems wrong. Surely the host
should clear the interrupt when it has serviced the interrupt.
Can you explain what I'm missing ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Liu, Jinsong
- Re: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug,
Ian Jackson <=
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Liu, Jinsong
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Ian Jackson
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Liu, Jinsong
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Ian Jackson
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Liu, Jinsong
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Ian Jackson
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Liu, Jinsong
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Ian Jackson
- RE: [Xen-devel] [PATCH] Fix hvm vcpu hotplug bug, Liu, Jinsong
|
|
|
|
|