Messages in this thread | | | From | Kay Sievers <> | Date | Thu, 12 Jan 2012 18:48:28 +0100 | Subject | Re: linux 3.3-pre-rc1: Starting domU fails with Error: Failed to query current memory allocation of dom0. |
| |
On Thu, Jan 12, 2012 at 18:10, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote: > On Thu, Jan 12, 2012 at 06:05:46PM +0100, Sander Eikelenboom wrote:
>> Shouldn't the >> >> if (error) { >> bus_unregister(&balloon_subsys); >> return error; >> } >> >> right below it also be changed ? > > I thought so too, but looking at how the subsys_system_register it looks > to be OK. Kay, thoughts?
No, it's fine, there is nothing else.
The subsys_system_register() fucrtion is a new function (for compat with old sysdev rules only) that registers a bus. The counterpart is the bus_unregister.
The long-term picture is that 'struct bus_type' and 'struct class' will be merged and everything will be called 'subsys'.
Kay -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |