Re: [Qemu-devel] [PATCH 3/8] console: add information retrival wrappers

2013-11-20 Thread Gerd Hoffmann
Hi, > +int qemu_get_console_index(QemuConsole *con); Makes sense to have that. There are other retrival wrappers already (qemu_console_is_*). I'd like to see the new one placed next to the others, and follow the name convention (i.e. use qemu_console_get_index). > +int qemu_get_number_graphi

[Qemu-devel] [PATCH 3/8] console: add information retrival wrappers

2013-11-19 Thread Dave Airlie
From: Dave Airlie We need to know how many graphics consoles are registered in the UI code so it knows how many windows it should prepare for etc, also so that it could potentially warn for cases it can't handle. We also need to know the console index so we can add it to the list. (maybe we don'