Avi Kivity wrote:
Anthony Liguori wrote:
This option helps differentiate between guests when running more than
one instance of QEMU. It adds a string to the SDL window title and
to the VNC server title.
Having a name associated with a guest is also terribly useful for
management tools as it gives a standard way to identify guests to the
user.
- vnc_write_u32(vs, 4); - vnc_write(vs, "QEMU", 4);
+ if (qemu_name) + size = snprintf(buf, sizeof(buf), "QEMU
(%s)", qemu_name);
+ else
+ size = snprintf(buf, sizeof(buf), "QEMU");
+
Perhaps in the modern style:
snprintf("%s - QEMU", sizeof, qemu_name)
So right now we have:
QEMU
QEMU - Press Ctrl+Alt to exit grab
My patch would add:
QEMU (WinXP Home)
QEMU (WinXP Home) - Press Ctrl+Alt to exit grab
You're suggesting:
WinXP Home - QEMU
WinXP Home - QEMU - Press Ctrl+Alt to exit grab
I like yours for the first title but the SDL grab version seems a little
strange. That's why I stuck it in ()s in the first place.
Anyone else have ideas?
Regards,
Anthony Liguori
?
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel