Hi Yosuke,
Thanks for your reply.
I have felt sure of my thought by your reply.
I have written a patch for SCSI devices. The patch accepts udev
events about SCSI devices, then it updates physical SCSI information.
I'm going to send the patch to xen-devel.
Best regards,
Kan
Tue, 24 Mar 2009 17:12:58 +0900, Yosuke Iwamatsu wrote:
>Masaki Kanno wrote:
>> Hi Yosuke,
>>
>> I have a question.
>>
>> Need the patch call save_PPCIs at the end of add_PPCI and the end
>> of remove_PPCI?
>>
>
>It seems you are right. I generated a patch to do that.
>Thank you.
>
>-- Yosuke
>
>--------
>
>xend: Save the state of PPCIs after hot-plug events.
>
>Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
>
>diff -r 0477f9061c8a tools/python/xen/xend/XendNode.py
>--- a/tools/python/xen/xend/XendNode.py Fri Mar 20 17:42:46 2009 +0000
>+++ b/tools/python/xen/xend/XendNode.py Tue Mar 24 15:32:00 2009 +0900
>@@ -363,6 +363,8 @@
> ppci_uuid = saved_ppci_table.get(pci_dev.name, uuid.createString())
> XendPPCI(ppci_uuid, ppci_record)
>
>+ self.save_PPCIs()
>+
>
> def remove_PPCI(self, pci_name):
> # Update lspci info
>@@ -372,6 +374,8 @@
> (domain, bus, slot, func) = PciUtil.parse_pci_name(pci_name)
> ppci_ref = XendPPCI.get_by_sbdf(domain, bus, slot, func)
> XendAPIStore.get(ppci_ref, "PPCI").destroy()
>+
>+ self.save_PPCIs()
>
>
> def add_PSCSI(self):
>
>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|