08 Sep, 2016

1 commit

  • Running lguest without arguments or with a wrong argument name
    borks the terminal, because the cleanup handler is set up too late
    in the initialization process.

    Signed-off-by: Daniel Baluta
    Signed-off-by: Rusty Russell
    Cc: Andy Lutomirski
    Cc: Borislav Petkov
    Cc: Brian Gerst
    Cc: Denys Vlasenko
    Cc: H. Peter Anvin
    Cc: Josh Poimboeuf
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Signed-off-by: Ingo Molnar

    Daniel Baluta
     

22 Apr, 2016

2 commits

  • The paravirt_enabled() check is going away, the area tossed to
    the kernel on lguest is not zeroed out, so ensure lguest force
    disables tboot and APM just in case the kernel file being read
    might have this set for whatever reason.

    Signed-off-by: Luis R. Rodriguez
    Acked-by: Rusty Russell
    Cc: Andy Lutomirski
    Cc: Borislav Petkov
    Cc: Brian Gerst
    Cc: Denys Vlasenko
    Cc: H. Peter Anvin
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: andrew.cooper3@citrix.com
    Cc: andriy.shevchenko@linux.intel.com
    Cc: bigeasy@linutronix.de
    Cc: boris.ostrovsky@oracle.com
    Cc: david.vrabel@citrix.com
    Cc: ffainelli@freebox.fr
    Cc: george.dunlap@citrix.com
    Cc: glin@suse.com
    Cc: jgross@suse.com
    Cc: jlee@suse.com
    Cc: josh@joshtriplett.org
    Cc: julien.grall@linaro.org
    Cc: konrad.wilk@oracle.com
    Cc: kozerkov@parallels.com
    Cc: lenb@kernel.org
    Cc: lguest@lists.ozlabs.org
    Cc: linux-acpi@vger.kernel.org
    Cc: lv.zheng@intel.com
    Cc: matt@codeblueprint.co.uk
    Cc: mbizon@freebox.fr
    Cc: rjw@rjwysocki.net
    Cc: robert.moore@intel.com
    Cc: tiwai@suse.de
    Cc: toshi.kani@hp.com
    Cc: xen-devel@lists.xensource.com
    Link: http://lkml.kernel.org/r/1460592286-300-8-git-send-email-mcgrof@kernel.org
    Signed-off-by: Ingo Molnar

    Luis R. Rodriguez
     
  • Be explicit and make use of X86_SUBARCH_LGUEST directly.

    Signed-off-by: Luis R. Rodriguez
    Acked-by: Rusty Russell
    Cc: Andy Lutomirski
    Cc: Borislav Petkov
    Cc: Brian Gerst
    Cc: Denys Vlasenko
    Cc: H. Peter Anvin
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: andrew.cooper3@citrix.com
    Cc: andriy.shevchenko@linux.intel.com
    Cc: bigeasy@linutronix.de
    Cc: boris.ostrovsky@oracle.com
    Cc: david.vrabel@citrix.com
    Cc: ffainelli@freebox.fr
    Cc: george.dunlap@citrix.com
    Cc: glin@suse.com
    Cc: jgross@suse.com
    Cc: jlee@suse.com
    Cc: josh@joshtriplett.org
    Cc: julien.grall@linaro.org
    Cc: konrad.wilk@oracle.com
    Cc: kozerkov@parallels.com
    Cc: lenb@kernel.org
    Cc: lguest@lists.ozlabs.org
    Cc: linux-acpi@vger.kernel.org
    Cc: lv.zheng@intel.com
    Cc: matt@codeblueprint.co.uk
    Cc: mbizon@freebox.fr
    Cc: rjw@rjwysocki.net
    Cc: robert.moore@intel.com
    Cc: tiwai@suse.de
    Cc: toshi.kani@hp.com
    Cc: xen-devel@lists.xensource.com
    Link: http://lkml.kernel.org/r/1460592286-300-4-git-send-email-mcgrof@kernel.org
    Signed-off-by: Ingo Molnar

    Luis R. Rodriguez
     

26 Aug, 2015

2 commits

  • It contains a symlinked header we use; ignore it and clean it up
    on 'make clean'.

    Signed-off-by: Rusty Russell
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Ingo Molnar

    Rusty Russell
     
  • Ours uses a u32 for the data, since we ensure it's always
    aligned and it's x86 so it doesn't matter anyway.

    lguest.c:128:8: error: redefinition of ‘struct virtio_pci_cfg_cap’

    Signed-off-by: Rusty Russell
    Cc: Linus Torvalds
    Cc: Michael S. Tsirkin
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-kernel@vger.kernel.org
    Fixes: 3121bb023e2db ("virtio: define virtio_pci_cfg_cap in header.")
    Signed-off-by: Ingo Molnar

    Rusty Russell
     

13 Feb, 2015

11 commits


11 Feb, 2015

21 commits


15 Jul, 2013

1 commit


04 Jul, 2013

1 commit

  • Somehow a naked u16 slipped into the glibc headers on my Ubuntu machine
    (i386 2.17-0ubuntu5), breaking compile:

    In file included from lguest.c:46:0:
    /usr/include/linux/virtio_net.h:188:2: error: unknown type name ‘u16’

    We use the kernel-style types anyway, just define them before the includes.
    Also remove the advice on adding missing headers: that no longer works.

    Signed-off-by: Rusty Russell

    Rusty Russell
     

02 Jul, 2013

1 commit