diff options
Diffstat (limited to '')
| -rw-r--r-- | results/classifier/108/other/1294 | 16 | ||||
| -rw-r--r-- | results/classifier/108/other/1294227 | 47 | ||||
| -rw-r--r-- | results/classifier/108/other/1294898 | 111 |
3 files changed, 174 insertions, 0 deletions
diff --git a/results/classifier/108/other/1294 b/results/classifier/108/other/1294 new file mode 100644 index 000000000..bd789ef3a --- /dev/null +++ b/results/classifier/108/other/1294 @@ -0,0 +1,16 @@ +device: 0.858 +network: 0.795 +files: 0.669 +performance: 0.501 +graphic: 0.389 +boot: 0.372 +other: 0.307 +debug: 0.254 +semantic: 0.241 +socket: 0.234 +PID: 0.145 +vnc: 0.138 +permissions: 0.038 +KVM: 0.008 + +pflash size check appears to be incompatible with OVMF on x86 diff --git a/results/classifier/108/other/1294227 b/results/classifier/108/other/1294227 new file mode 100644 index 000000000..2ebb068ac --- /dev/null +++ b/results/classifier/108/other/1294227 @@ -0,0 +1,47 @@ +KVM: 0.796 +semantic: 0.592 +other: 0.579 +performance: 0.543 +device: 0.489 +network: 0.419 +graphic: 0.414 +vnc: 0.332 +socket: 0.318 +PID: 0.265 +permissions: 0.230 +files: 0.214 +boot: 0.163 +debug: 0.099 + +migration wrong handling of KVM_GET_DIRTY_LOG ioctl + +In the code below kvm_vm_ioctl(...) can return --errno != -1 from ioctl call, but return only checks for -1. +Found during KVM-ARM migration which apperead to go through but was actually failing getting +memslot dirty bitmap. + +static int kvm_physical_sync_dirty_bitmap(....) +{ + .... + if(kvm_vm_ioctl(s, KVM_GET_DIRTY_LOG, &d) == -1) { + - err out + } + ... continue +} + +Sent patch for error handling: +http://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg05633.html + +The apparently obvious fix was applied as commit b533f658a98325d0e4 but then reverted in commit 50212d6346f33d6e19, because not all errno returns from this ioctl should be treated as errors. + +That commit message said "Revert that patch instead of fixing it properly this late in the release process. I disagree with this approach, but let's make things move _somewhere_, instead of arguing endlessly whch of the 2 proposed fixes is better." -- and then we never did a proper fix, so 5 years later we're still making an incorrect == -1 check... + + + +Moving this bug back to Confirmed to move it out of "In progress" state. We still check for only -1 upstream. + +Yet another try to fix this issue: +https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg07557.html + +Patch has been merged here: +https://gitlab.com/qemu-project/qemu/-/commit/38e0b7904eca7cd32 + diff --git a/results/classifier/108/other/1294898 b/results/classifier/108/other/1294898 new file mode 100644 index 000000000..2764a14e6 --- /dev/null +++ b/results/classifier/108/other/1294898 @@ -0,0 +1,111 @@ +other: 0.772 +permissions: 0.660 +semantic: 0.648 +PID: 0.635 +device: 0.594 +KVM: 0.541 +debug: 0.523 +graphic: 0.512 +vnc: 0.493 +network: 0.473 +performance: 0.462 +boot: 0.441 +socket: 0.429 +files: 0.376 + +gtk: menubar visible in fullscreen mode with gtk3 + +Using the gtk UI, compiled with gtk3, the menu bar is fully visible in full screen mode. On gtk2 it's hidden. The set_size_request call isn't abided on gtk3 it seems. + +Simple fix is: + +diff --git a/ui/gtk.c b/ui/gtk.c +index 66e886f..7b3bd3d 100644 +--- a/ui/gtk.c ++++ b/ui/gtk.c +@@ -805,7 +805,7 @@ static void gd_menu_full_screen(GtkMenuItem *item, void *opaque) + + if (!s->full_screen) { + gtk_notebook_set_show_tabs(GTK_NOTEBOOK(s->notebook), FALSE); +- gtk_widget_set_size_request(s->menu_bar, 0, 0); ++ gtk_widget_hide(s->menu_bar); + gtk_widget_set_size_request(s->drawing_area, -1, -1); + gtk_window_fullscreen(GTK_WINDOW(s->window)); + if (gd_on_vga(s)) { +@@ -815,7 +815,7 @@ static void gd_menu_full_screen(GtkMenuItem *item, void *opaque) + } else { + gtk_window_unfullscreen(GTK_WINDOW(s->window)); + gd_menu_show_tabs(GTK_MENU_ITEM(s->show_tabs_item), s); +- gtk_widget_set_size_request(s->menu_bar, -1, -1); ++ gtk_widget_show(s->menu_bar); + gtk_widget_set_size_request(s->drawing_area, + surface_width(s->ds), + surface_height(s->ds)); + + +The problem with that is that hiding the menu bar means all its associated accelerators are no longer usable, so there's way to exit fullscreen mode. That's kind of a problem :) + +We can install the accelerators on the window, but make sure the menu item still shows the accelerator short cut. Example with the fullscreen accelerator: + +diff --git a/ui/gtk.c b/ui/gtk.c +index 66e886f..fbce2b0 100644 +--- a/ui/gtk.c ++++ b/ui/gtk.c +@@ -799,7 +799,7 @@ static void gd_menu_show_tabs(GtkMenuItem *item, void *opaque) + } + } + +-static void gd_menu_full_screen(GtkMenuItem *item, void *opaque) ++static void gd_do_full_screen(void *opaque) + { + GtkDisplayState *s = opaque; + +@@ -828,6 +828,11 @@ static void gd_menu_full_screen(GtkMenuItem *item, void *opaque) + gd_update_cursor(s, FALSE); + } + ++static void gd_menu_full_screen(GtkMenuItem *item, void *opaque) ++{ ++ gd_do_full_screen(opaque); ++} ++ + static void gd_menu_zoom_in(GtkMenuItem *item, void *opaque) + { + GtkDisplayState *s = opaque; +@@ -1304,10 +1309,11 @@ static GtkWidget *gd_create_menu_view(GtkDisplayState *s, GtkAccelGroup *accel_g + gtk_menu_set_accel_group(GTK_MENU(view_menu), accel_group); + + s->full_screen_item = gtk_menu_item_new_with_mnemonic(_("_Fullscreen")); +- gtk_menu_item_set_accel_path(GTK_MENU_ITEM(s->full_screen_item), +- "<QEMU>/View/Full Screen"); +- gtk_accel_map_add_entry("<QEMU>/View/Full Screen", GDK_KEY_f, +- HOTKEY_MODIFIERS); ++ gtk_accel_group_connect(accel_group, GDK_KEY_f, HOTKEY_MODIFIERS, 0, ++ g_cclosure_new_swap(G_CALLBACK(gd_do_full_screen), s, NULL)); ++ gtk_accel_label_set_accel( ++ GTK_ACCEL_LABEL(gtk_bin_get_child(GTK_BIN(s->full_screen_item))), ++ GDK_KEY_f, HOTKEY_MODIFIERS); + gtk_menu_shell_append(GTK_MENU_SHELL(view_menu), s->full_screen_item); + + separator = gtk_separator_menu_item_new(); + + +However gtk_accel_label_set_accel, which shows the accel key sequence in the menu, is gtk 3.8+ :/ So older versions wouldn't have any visual indication of the shortcuts. Maybe that's not a problem, SDL didn't have any indication of shortcuts either. + +For what it's worth, Gerd replied on the list that + +> Patch trades one bug for another. Hiding the menu bar also kills the +> accelerator keys, which is especially problematic for the fullscreen +> hotkey as there is no way out of fullscreen mode then. + +Mailing list discussion: + +https://lists.gnu.org/archive/html/qemu-devel/2014-10/msg00510.html + +When Gerd made the comment quoted above, he hadn't read the full report. If someone wants to flesh out my patch bits and send it to qemu-devel it will be easier to follow up there. + +Status changed to 'Confirmed' because the bug affects multiple users. + +Patch has been included upstream here: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=b0f3182064c4943b91d + |