qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 74bc41: xen: fix usage of ENODATA


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 74bc41: xen: fix usage of ENODATA
Date: Mon, 04 Aug 2014 05:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 74bc41511af5c389cd9f37956bd6e7fd7de35c49
      
https://github.com/qemu/qemu/commit/74bc41511af5c389cd9f37956bd6e7fd7de35c49
  Author: Roger Pau Monne <address@hidden>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M xen-hvm.c

  Log Message:
  -----------
  xen: fix usage of ENODATA

ENODATA doesn't exist on FreeBSD, so ENODATA errors returned by the
hypervisor are translated to ENOENT.

Also, the error code is returned in errno if the call returns -1, so
compare the error code with the value in errno instead of the value
returned by the function.

Signed-off-by: Roger Pau Monné <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Cc: address@hidden
Cc: Stefano Stabellini <address@hidden>
Cc: Anthony Perard <address@hidden>


  Commit: 8677de2b4d26f8878b7414d540a6b2e139bc4d91
      
https://github.com/qemu/qemu/commit/8677de2b4d26f8878b7414d540a6b2e139bc4d91
  Author: Roger Pau Monne <address@hidden>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M net/tap-bsd.c

  Log Message:
  -----------
  tap-bsd: implement a FreeBSD only version of tap_open

The current behaviour of tap_open for BSD systems differ greatly from
it's Linux counterpart. Since FreeBSD supports interface renaming and
tap device cloning by opening /dev/tap, implement a FreeBSD specific
version of tap_open that behaves like it's Linux counterpart.

This is specially important for toolstacks that use Qemu (like Xen
libxl), in order to have a unified behaviour across suported
platforms.

Signed-off-by: Roger Pau Monné <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: b33a5bbfbaab6c1ce653a8e3665a18ca67de1456
      
https://github.com/qemu/qemu/commit/b33a5bbfbaab6c1ce653a8e3665a18ca67de1456
  Author: Chunyan Liu <address@hidden>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/xen/xen_apic.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  qemu: support xen hvm direct kernel boot

qemu side patch to support xen HVM direct kernel boot:
if -kernel exists, calls xen_load_linux(), which will read kernel/initrd
and add a linuxboot.bin or multiboot.bin option rom. The
linuxboot.bin/multiboot.bin will load kernel/initrd and jump to execute
kernel directly. It's working when xen uses seabios.

During this work, found the 'kvmvapic' is in option_rom list, it should
not be there in xen case. Set s->vapic_control = 0 in xen_apic_realize()
to handle that.

Signed-off-by: Chunyan Liu <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>


  Commit: 7b13ff3f156b98c3183dfa30edfd6473e8660374
      
https://github.com/qemu/qemu/commit/7b13ff3f156b98c3183dfa30edfd6473e8660374
  Author: Peter Maydell <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/xen/xen_apic.c
    M include/hw/i386/pc.h
    M net/tap-bsd.c
    M xen-hvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/sstabellini/xen-20140801' into staging

* remotes/sstabellini/xen-20140801:
  qemu: support xen hvm direct kernel boot
  tap-bsd: implement a FreeBSD only version of tap_open
  xen: fix usage of ENODATA

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/c79805802ba0...7b13ff3f156b

reply via email to

[Prev in Thread] Current Thread [Next in Thread]