Xen: add XEN 4.5.1

+69 -1
+67
pkgs/applications/virtualization/xen/4.5.1.nix
··· 1 + { callPackage, fetchurl, fetchgit, ... } @ args: 2 + 3 + let 4 + # Xen 4.5.1 5 + xenConfig = { 6 + name = "xen-4.5.1"; 7 + version = "4.5.1"; 8 + 9 + src = fetchurl { 10 + url = "http://bits.xensource.com/oss-xen/release/4.5.1/xen-4.5.1.tar.gz"; 11 + sha256 = "0w8kbqy7zixacrpbk3yj51xx7b3f6l8ghsg3551w8ym6zka13336"; 12 + }; 13 + 14 + # Sources needed to build the xen tools and tools/firmware. 15 + firmwareGits = 16 + [ # tag 1.7.5 17 + { git = { name = "seabios"; 18 + url = git://xenbits.xen.org/seabios.git; 19 + rev = "e51488c5f8800a52ac5c8da7a31b85cca5cc95d2"; 20 + sha256 = "b96a0b9f31cab0f3993d007dcbe5f1bd69ad02b0a23eb2dc8a3ed1aafe7985cb"; 21 + }; 22 + patches = [ ./0000-qemu-seabios-enable-ATA_DMA.patch ]; 23 + } 24 + { git = { name = "ovmf"; 25 + url = git://xenbits.xen.org/ovmf.git; 26 + rev = "447d264115c476142f884af0be287622cd244423"; 27 + sha256 = "7086f882495a8be1497d881074e8f1005dc283a5e1686aec06c1913c76a6319b"; 28 + }; 29 + } 30 + ]; 31 + 32 + toolsGits = 33 + [ # tag qemu-xen-4.5.1 34 + { git = { name = "qemu-xen"; 35 + url = git://xenbits.xen.org/qemu-upstream-4.5-testing.git; 36 + rev = "d9552b0af21c27535cd3c8549bb31d26bbecd506"; 37 + sha256 = "15dbz8j26wl4vs5jijhccwgd8c6wkmpj4mz899fa7i1bbh8yysfy"; 38 + }; 39 + } 40 + # tag xen-4.5.1 41 + { git = { name = "qemu-xen-traditional"; 42 + url = git://xenbits.xen.org/qemu-xen-4.5-testing.git; 43 + rev = "afaa35b4bc975b2b89ad44c481d0d7623e3d1c49"; 44 + sha256 = "906b31cf32b52d29e521abaa76d641123bdf24f33fa53c6f109b6d7834e514be"; 45 + }; 46 + } 47 + { git = { name = "xen-libhvm"; 48 + url = "https://github.com/ts468/xen-libhvm"; 49 + rev = "442dcc4f6f4e374a51e4613532468bd6b48bdf63"; 50 + sha256 = "9ba97c39a00a54c154785716aa06691d312c99be498ebbc00dc3769968178ba8"; 51 + }; 52 + description = '' 53 + Helper library for reading ACPI and SMBIOS firmware values 54 + from the host system for use with the HVM guest firmware 55 + pass-through feature in Xen. 56 + ''; 57 + #license = licenses.bsd2; 58 + } 59 + ]; 60 + 61 + xenPatches = [ ./0001-libxl-Spice-image-compression-setting-support-for-up.patch 62 + ./0002-libxl-Spice-streaming-video-setting-support-for-upst.patch 63 + ./0003-Add-qxl-vga-interface-support-for-upstream-qem.patch ]; 64 + }; 65 + 66 + in callPackage ./generic.nix (args // { xenConfig=xenConfig; }) 67 +
+2 -1
pkgs/top-level/all-packages.nix
··· 13104 13104 13105 13105 xen_4_4_1 = callPackage ../applications/virtualization/xen/4.4.1.nix { }; 13106 13106 xen_4_5_0 = callPackage ../applications/virtualization/xen/4.5.0.nix { }; 13107 + xen_4_5_1 = callPackage ../applications/virtualization/xen/4.5.1.nix { }; 13107 13108 xen_xenServer = callPackage ../applications/virtualization/xen/4.5.0.nix { xenserverPatched = true; }; 13108 - xen = xen_4_5_0; 13109 + xen = xen_4_5_1; 13109 13110 13110 13111 xfe = callPackage ../applications/misc/xfe { 13111 13112 fox = fox_1_6;