libguestfs/0001-i386-Add-noapic-flag-to-work-around-a-qemu-or-kernel.patch

15 lines
576 B
Diff
Raw Normal View History

diff --git a/src/launch.c b/src/launch.c
index cb1d80b..31d5c65 100644
--- a/src/launch.c
+++ b/src/launch.c
@@ -812,6 +812,9 @@ guestfs___appliance_command_line (guestfs_h *g, const char *appliance_dev)
ret = safe_asprintf
(g,
"panic=1" /* force kernel to panic if daemon exits */
+#ifdef __i386__
+ " noapic" /* workaround for RHBZ#857026 */
+#endif
" console=" SERIAL_CONSOLE /* serial console */
" udevtimeout=600" /* good for very slow systems (RHBZ#480319) */
" no_timer_check" /* fix for RHBZ#502058 */