11 messages in com.xensource.lists.xen-develRe: [Xen-devel] [PATCH] [HVM] Patches...| From | Sent On | Attachments |
|---|---|---|
| Trolle Selander | 16 Mar 2007 05:06 | .patch, .patch, .patch, 2 more |
| Keir Fraser | 16 Mar 2007 05:20 | |
| Trolle Selander | 16 Mar 2007 05:45 | |
| Keir Fraser | 16 Mar 2007 07:10 | |
| Trolle Selander | 16 Mar 2007 11:22 | |
| Keir Fraser | 16 Mar 2007 12:07 | |
| Trolle Selander | 16 Mar 2007 13:10 | |
| Keir Fraser | 16 Mar 2007 13:28 | |
| ecs user | 21 Mar 2007 02:12 | |
| Trolle Selander | 21 Mar 2007 05:46 | |
| ecs user | 21 Mar 2007 10:29 |
| Subject: | Re: [Xen-devel] [PATCH] [HVM] Patches to make HVM capable of running OS/2.![]() |
|---|---|
| From: | Trolle Selander (trol...@gmail.com) |
| Date: | 03/16/2007 01:10:37 PM |
| List: | com.xensource.lists.xen-devel |
Meanwhile, domUs have plenty of other shared-memory protocols with dom0 kernel and root processes. It just needs some care to make sure the interface is sufficiently narrow and arguments are well checked. Burning 100% CPU is not considered a successful attack (although it would of course be annoying!). You can detect it and fix it up without rebooting the system, for example.
Indeed, that one is very easy to guard against in the code, too. Simply making the iopage handler loop on <= instead of != would do it, although it's probably better to just insert a sanity before entering the loop, and printing a warning to the log that the iopage may have been corrupted if bad values are detected. In any case, the current "qemu-dm in dom0" device model is unlikely to live forever. Both the two future alternatives I've seen discussed - the stub domain and the "reflection" one suggested earlier this month - would do away with any concerns I have. With the "reflection" model, the device emulation would actually run inside the HVM, in which case the io pages should certainly be owned by the domU, and in the stub domain case, I suppose it wouldn't matter as much whether the domU or the stub domain owned the pages in any case.
All your other patches are in except the smsw one.
Great news.
I'm looking at that now.
I apologize to your eyes, and hope it won't ruin your weekend. ;) That one shouldn't go in in its current state, at least.
/Trolle





.patch, .patch, .patch, 2 more