Skip to content
Snippets Groups Projects
  1. Jul 10, 2014
    • Stefan Weil's avatar
      oslib-posix: Fix new compiler error with -Wclobbered · b7bf8f56
      Stefan Weil authored
      
      Newer versions of gcc report a warning (or an error with -Werror) when
      compiler option -Wclobbered (or -Wextra) is active:
      
      util/oslib-posix.c:372:12: error:
       variable ‘hpagesize’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
      
      The rewritten code fixes this warning: variable 'hpagesize' is now set and
      used in a block without any call of sigsetjmp or similar functions.
      
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      b7bf8f56
    • Eduardo Habkost's avatar
      target-i386: Add "kvmclock-stable-bit" feature bit name · 8248c36a
      Eduardo Habkost authored
      
      KVM_FEATURE_CLOCKSOURCE_STABLE_BIT is enabled by default and supported
      by KVM. But not having a name defined makes QEMU treat it as an unknown
      and unmigratable feature flag (as any unknown feature may possibly
      require state to be migrated), and disable it by default on "-cpu host".
      
      As a side-effect, the new name also makes the flag configurable,
      allowing the user to disable it (which may be useful for testing or for
      compatibility with old kernels).
      
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      8248c36a
    • Miroslav Rezanina's avatar
      Enforce stack protector usage · 3b463a3f
      Miroslav Rezanina authored
      
      If --enable-stack-protector is used is used, configure script try to use
      --fstack-protector-strong. In case it's not supported, --fstack-protector-all
      is enabled. If both protectors are not supported, configure does not use
      any protector at all without any notification.
      
      This patch reports error when user requests stack protector to be used and
      both protector modes are not supported. Behavior is not changed in case
      user do not use any of --enable-stack-protector/--disable-stack-protector.
      
      Signed-off-by: default avatarMiroslav Rezanina <mrezanin@redhat.com>
      [Fix non-POSIX operator in test. - Paolo]
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      3b463a3f
  2. Jul 09, 2014
  3. Jul 05, 2014
  4. Jul 03, 2014
  5. Jul 01, 2014
Loading