libguestfs/0001-i386-Add-noapic-flag-to-work-around-a-qemu-or-kernel.patch
Richard W.M. Jones f358753678 Re-add: Non-upstream patch to add the noapic flag on the kernel
command line on i386 only.  This works around a bug in 32-bit qemu,
https://bugzilla.redhat.com/show_bug.cgi?id=857026
2012-11-24 07:40:46 +00:00

15 lines
576 B
Diff

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 */