Revision d1ff903c

b/hw/s390-virtio-bus.c
60 60

  
61 61
static ram_addr_t s390_virtio_device_num_vq(VirtIOS390Device *dev);
62 62

  
63
/* length of VirtIO device pages */
64
const target_phys_addr_t virtio_size = S390_DEVICE_PAGES * TARGET_PAGE_SIZE;
65

  
63 66
VirtIOS390Bus *s390_virtio_bus_init(ram_addr_t *ram_size)
64 67
{
65 68
    VirtIOS390Bus *bus;
b/hw/s390-virtio-bus.h
33 33
#define VIRTIO_VQCONFIG_LEN		24
34 34

  
35 35
#define VIRTIO_RING_LEN			(TARGET_PAGE_SIZE * 3)
36
#define S390_DEVICE_PAGES		256
36
#define S390_DEVICE_PAGES		512
37 37

  
38 38
typedef struct VirtIOS390Device {
39 39
    DeviceState qdev;
b/target-s390x/cpu.h
310 310
#endif
311 311
CPUState *s390_cpu_addr2state(uint16_t cpu_addr);
312 312

  
313
/* from s390-virtio-bus */
314
extern const target_phys_addr_t virtio_size;
315

  
313 316
#ifndef KVM_S390_SIGP_STOP
314 317
#define KVM_S390_SIGP_STOP              0
315 318
#define KVM_S390_PROGRAM_INT            0

Also available in: Unified diff