1. 25 10月, 2016 9 次提交
  2. 24 10月, 2016 15 次提交
  3. 22 10月, 2016 3 次提交
    • O
      xen_platform: SUSE xenlinux unplug for emulated PCI · 35132016
      Olaf Hering 提交于
      Implement SUSE specific unplug protocol for emulated PCI devices
      in PVonHVM guests. Its a simple 'outl(1, (ioaddr + 4));'.
      This protocol was implemented and used since Xen 3.0.4.
      It is used in all SUSE/SLES/openSUSE releases up to SLES11SP3 and
      openSUSE 12.3.
      In addition old (pre-2011) VMDP versions are handled as well.
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Reviewed-by: NStefano Stabellini <sstabellini@kernel.org>
      Signed-off-by: NStefano Stabellini <sstabellini@kernel.org>
      35132016
    • O
      xen_platform: unplug also SCSI disks · 78f66897
      Olaf Hering 提交于
      Using 'vdev=sd[a-o]' will create an emulated LSI controller, which can
      be used by the emulated BIOS to boot from disk. If the HVM domU has also
      PV driver the disk may appear twice in the guest. To avoid this an
      unplug of the emulated hardware is needed, similar to what is done for
      IDE and NIC drivers already.
      
      Since the SCSI controller provides only disks the entire controller can
      be unplugged at once.
      
      Impact of the change for classic and pvops based guest kernels:
      
       vdev=sda:disk0
      before: pvops:   disk0=pv xvda + emulated sda
              classic: disk0=pv sda  + emulated sdq
      after:  pvops:   disk0=pv xvda
              classic: disk0=pv sda
      
       vdev=hda:disk0, vdev=sda:disk1
      before: pvops:   disk0=pv xvda
                       disk1=emulated sda
              classic: disk0=pv hda
                       disk1=pv sda  + emulated sdq
      after:  pvops:   disk0=pv xvda
                       disk1=not accessible by blkfront, index hda==index sda
              classic: disk0=pv hda
                       disk1=pv sda
      
       vdev=hda:disk0, vdev=sda:disk1, vdev=sdb:disk2
      before: pvops:   disk0=pv xvda
                       disk1=emulated sda
                       disk2=pv xvdb + emulated sdb
              classic: disk0=pv hda
                       disk1=pv sda  + emulated sdq
                       disk2=pv sdb  + emulated sdr
      after:  pvops:   disk0=pv xvda
                       disk1=not accessible by blkfront, index hda==index sda
                       disk2=pv xvdb
              classic: disk0=pv hda
                       disk1=pv sda
                       disk2=pv sda
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Reviewed-by: NStefano Stabellini <sstabellini@kernel.org>
      Signed-off-by: NStefano Stabellini <sstabellini@kernel.org>
      78f66897
    • S
      xen-usb: do not reference PAGE_SIZE · c6d25aa6
      Stefano Stabellini 提交于
      PAGE_SIZE is undefined on ARM64. Use XC_PAGE_SIZE instead, which is
      always 4096 even when page granularity is 64K.
      
      For this to actually work with 64K pages, more changes are required.
      Signed-off-by: NStefano Stabellini <sstabellini@kernel.org>
      Reviewed-by: NJuergen Gross <jgross@suse.com>
      Release-acked-by: NWei Liu <wei.liu2@citrix.com>
      c6d25aa6
  4. 18 10月, 2016 13 次提交