For 
"Check also /var/log/xen/console/guest-(VMNAME)-dm.log and
/var/log/xen/console/hypervisor.log, maybe you'll find some
device-related errors. "

I get this following code for the windows 10 nothin (bluescreen)
And same with the windows 7 with bluescreen (memory_management)

You can find the file attach.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/216c4922-2e70-454b-b7a7-b03709211a41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Linux version 4.14.68-xen-stubdom (user@build-fedora4) (gcc version 6.4.1 
20170727 (Red Hat 6.4.1-1) (GCC)) #1 Tue Oct 2 03:34:17 UTC 2018
Command line: debug console=hvc0
x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 
'standard' format.
Released 0 page(s)
e820: BIOS-provided physical RAM map:
Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Xen: [mem 0x0000000000100000-0x00000000087fffff] usable
NX (Execute Disable) protection: active
Hypervisor detected: Xen PV
tsc: Fast TSC calibration failed
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
e820: remove [mem 0x000a0000-0x000fffff] usable
e820: last_pfn = 0x8800 max_arch_pfn = 0x400000000
x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WC  WP  UC  UC  
Base memory trampoline at [ffff88000009a000] 9a000 size 24576
BRK [0x01b47000, 0x01b47fff] PGTABLE
RAMDISK: [mem 0x01c00000-0x033b1fff]
Zone ranges:
  DMA32    [mem 0x0000000000001000-0x00000000087fffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000001000-0x000000000009ffff]
  node   0: [mem 0x0000000000100000-0x00000000087fffff]
Initmem setup node 0 [mem 0x0000000000001000-0x00000000087fffff]
On node 0 totalpages: 34719
  DMA32 zone: 544 pages used for memmap
  DMA32 zone: 21 pages reserved
  DMA32 zone: 34719 pages, LIFO batch:7
p2m virtual area at ffffc90000000000, size is 200000
Remapped 0 page(s)
e820: [mem 0x08800000-0xffffffff] available for PCI devices
Booting paravirtualized kernel on Xen
Xen version: 4.8.4 (preserve-AD)
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 7645519600211568 ns
random: get_random_bytes called from 0xffffffff81a5e5a1 with crng_init=0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists, mobility grouping on.  Total pages: 34154
Kernel command line: debug console=hvc0
PID hash table entries: 1024 (order: 1, 8192 bytes)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Memory: 97752K/138876K available (6152K kernel code, 343K rwdata, 368K rodata, 
656K init, 280K bss, 41124K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Using NULL legacy PIC
NR_IRQS: 4352, nr_irqs: 24, preallocated irqs: 0
xen:events: Using FIFO-based ABI
console [hvc0] enabled
clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, 
max_idle_ns: 881590591483 ns
Xen: using vcpuop timer interface
installing Xen timer for CPU 0
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
tsc: Detected 4200.076 MHz processor
Calibrating delay loop (skipped), value calculated using timer frequency.. 
8400.15 BogoMIPS (lpj=16800304)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
mce: CPU supports 2 MCE banks
Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (family: 0x6, model: 0x9e, 
stepping: 0x9)
Spectre V2 : Mitigation: Full generic retpoline
Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Spectre V2 : Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier
Spectre V2 : Enabling Restricted Speculation for firmware calls
Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via 
prctl and seccomp
Performance Events: unsupported p6 CPU model 158 no PMU driver, software events 
only.
Not enabling interrupt remapping due to skipped IO-APIC setup
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100de2e
CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100de2e
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010202
RAX: ffffffff8100de2e RBX: 29e8a73010f5b18a RCX: ffffffff81a675cd
RDX: 1845987f2a63fd6f RSI: ffffc90000203d44 RDI: 0000000000000000
RBP: ffffc90000203ee8 R08: 000000000000000a R09: ffffffff81b1a574
R10: 0000000000000004 R11: 0000000000000060 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78e8f
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c2 48 83 f8 ff 48 0f 45 c2 c3 48 c7 c0 a8 5a 80 81 c3 48 c7 06 ff 00 00 
00 c3 48 89 f8 b9 00 04 00 00 48 89 f7 48 89 c6 f3 a5 c3 <0f> 0b 89 f8 c3 89 f8 
c1 e8 18 c3 31 c0 c3 31 c0 c3 0f 0b c3 31 
---[ end trace 0eb60bc526c3ed11 ]---
register: 20, value: 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010286
RAX: 0000000000000016 RBX: 29e8a73010f5b18a RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d44 RDI: 0000000000000200
RBP: ffffc90000203ee8 R08: 000000000000000a R09: ffffffff81b1ac08
R10: 0000000000000004 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78e9b
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 0eb60bc526c3ed12 ]---
pmu_apic_update: pmudata not initialized
register: 80, value: 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000016 RBX: 000000000040168c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 00000199fdfa3b0d R08: 000000000000020a R09: ffffffff81b1b2b8
R10: 0000000000000004 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff810215a3
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 0eb60bc526c3ed13 ]---
register: f0, value: 1ff
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 000000000040168c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 00000199fdfa3b0d R08: 000000000000010a R09: ffffffff81b1b958
R10: 0000000000000004 R11: 0000000000000038 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 00000000000000f0
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81021687
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 0eb60bc526c3ed14 ]---
register: 350, value: 700
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000019 RBX: 0000000000000700 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 00000199fdfa3b0d R08: 000000000000000a R09: ffffffff81b1bff8
R10: 0000000000000004 R11: 000000000000003c R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 00000000000000f0
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff810216ea
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 0eb60bc526c3ed15 ]---
register: 360, value: 400
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010286
RAX: 0000000000000019 RBX: 29e8a73010f5b18a RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d44 RDI: 0000000000000200
RBP: ffffc90000203ee8 R08: 000000000000000a R09: ffffffff81b1c69c
R10: 0000000000000004 R11: 000000000000003c R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 0eb60bc526c3ed16 ]---
register: 370, value: fe
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203eb8 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d2c RDI: 0000000000000200
RBP: 0000000000000000 R08: 000000000000010a R09: ffffffff81b1cd18
R10: 0000000000000004 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81020f9f
 ? 0xffffffff81a78ed9
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 0eb60bc526c3ed17 ]---
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 
7645041785100000 ns
futex hash table entries: 16 (order: -4, 384 bytes)
NET: Registered protocol family 16
xen:grant_table: Grant tables using version 1 layout
Grant table initialized
PCI: setting up Xen PCI frontend stub
PCI: pci_cache_line_size set to 64 bytes
xen:balloon: Initialising balloon driver
PCI: System does not support PCI
clocksource: Switched to clocksource xen
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
Unpacking initramfs...
Freeing initrd memory: 24264K
workingset: timestamp_bits=62 max_order=15 bucket_order=0
io scheduler noop registered (default)
xen:xen_evtchn: Event-channel device installed
Invalid max_queues (4), will use default max: 1.
tun: Universal TUN/TAP device driver, 1.6
xen_netfront: Initialising Xen virtual ethernet driver
NET: Registered protocol family 17
sched_clock: Marking stable (11789647, 0)->(347615618913, -347603829266)
random: fast init done
blkfront: xvda: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
 xvda: xvda1 xvda2
blkfront: xvdb: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
blkfront: xvdc: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
Freeing unused kernel memory: 656K
Write protecting the kernel read-only data: 10240k
Freeing unused kernel memory: 2032K
Freeing unused kernel memory: 1680K
+ mount -t devtmpfs none /dev
+ mount -t sysfs /sys /sys
+ mount -t proc /proc /proc
+ mount -t tmpfs -o 'size=1m,nodev,noexec' /tmp /tmp
+ mount -o remount,ro /
+ echo 1
+ test -e /sys/class/net/eth0
+ ip link set eth0 address fe:ff:ff:ff:ff:fe
+ ip addr flush eth0
+ ip link set eth0 up
+ brctl addbr br0
+ brctl addif br0 eth0
br0: port 1(eth0) entered blocking state
br0: port 1(eth0) entered disabled state
device eth0 entered promiscuous mode
+ ip link set br0 up
br0: port 1(eth0) entered blocking state
br0: port 1(eth0) entered forwarding state
+ xenstore-read device/vif/0/backend
+ xenstore-read /local/domain/3/backend/vif/8/0/ip
+ client_ip=10.137.0.17
+ client_ip=10.137.0.17
+ net_prefix=10.137.0
+ /bin/xenstore-read target
+ udhcpd -f -I 10.137.0.1 -
+ domid=7
udhcpd: started, v1.29.3
+ xenstore-read /local/domain/7/vm
+ vm_path=/vm/f732bbe9-80d3-4149-93aa-188cc604f620
+ xenstore-read -R /vm/f732bbe9-80d3-4149-93aa-188cc604f620/image/dmargs
+ 
dm_args='-xen-domid.7.-nodefaults.-no-user-config.-name.win10new.-display.none.-device.cirrus-vga,vgamem_mb=8.-boot.order=dc.-device.usb-ehci,id=ehci.-device.usb-tablet,bus=ehci.0.-smp.4,maxcpus=4.-device.rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00.-netdev.type=tap,id=net0,ifname=vif7.0-emu,script=no,downscript=no.-display.qubes-gui.-machine.xenfv.-m.10232.-device.mptsas1068,id=scsi0.-drive.file=/dev/xvda,if=none,id=disk0,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk0,wwn=0x3525400051756265.-drive.file=/dev/xvdb,if=none,id=disk1,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk1,wwn=0x3525400051756266.-drive.file=/dev/xvdc,if=none,id=disk2,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk2,wwn=0x3525400051756267'
+ mkdir /tmp/qmp
+ mkdir /tmp/qmp/req
+ mkdir /tmp/qmp/res
+ kernel=
+ '[' -b /dev/xvdd ]
+ mkfifo /tmp/qmp/qemu.in /tmp/qmp/qemu.out /tmp/qmp/qemu_res.out
+ IFS='.'
+ set -f
+ set +f
+ unset IFS
+ qemu_pid=44
+ true
+ printf '==== Press enter for shell ====\n'
==== Press enter for shell ====
+ read
+ qemu -sandbox 
'on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny' 
-chardev 'pipe,path=/tmp/qmp/qemu,id=m' -mon 'chardev=m,mode=control' 
-xen-domid 7 -nodefaults -no-user-config -name win10new -display none -device 
'cirrus-vga,vgamem_mb=8' -boot 'order=dc' -device 'usb-ehci,id=ehci' -device 
'usb-tablet,bus=ehci.0' -smp '4,maxcpus=4' -device 
'rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00' -netdev 
'type=tap,id=net0,ifname=vif7.0-emu,script=no,downscript=no' -display qubes-gui 
-machine xenfv -m 10232 -device 'mptsas1068,id=scsi0' -drive 
'file=/dev/xvda,if=none,id=disk0,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk0,wwn=0x3525400051756265' -drive 
'file=/dev/xvdb,if=none,id=disk1,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk1,wwn=0x3525400051756266' -drive 
'file=/dev/xvdc,if=none,id=disk2,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk2,wwn=0x3525400051756267'
+ set +x
Clearing kmsg buffer...
+ set +x
+ xenstore-read target
+ set +x
+ target=7
+ device_model=device-model/7
+ true
+ xenstore-watch -n 2 device-model/7/command
device-model/7/command
+ set +x
random: qemu: uninitialized urandom read (16 bytes read)
{"QMP": {"version": {"qemu": {"micro": 0, "minor": 0, "major": 3}, "package": 
""}, "capabilities": []}}

{"execute": "qmp_capabilities"}
br0: port 2(vif7.0-emu) entered blocking state
br0: port 2(vif7.0-emu) entered disabled state
device vif7.0-emu entered promiscuous mode
br0: port 2(vif7.0-emu) entered blocking state
br0: port 2(vif7.0-emu) entered forwarding state
qubes_gui/init: 592
qubes_gui/init: 607
qubes_gui/init: 609
qubes_gui/init[639]: version sent, waiting for xorg conf
{"return": {}}

pcifront pci-0: Installing PCI frontend
xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
software IO TLB [mem 0x03000000-0x03400000] (4MB) mapped at 
[ffff880003000000-ffff8800033fffff]
pcifront pci-0: Creating PCI Frontend Bus 0000:00
pcifront pci-0: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0x7fffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: [10de:1b00] type 00 class 0x030000
pci 0000:00:00.0: reg 0x10: [mem 0xde000000-0xdeffffff]
pci 0000:00:00.0: reg 0x14: [mem 0xc0000000-0xcfffffff 64bit pref]
pci 0000:00:00.0: reg 0x1c: [mem 0xd0000000-0xd1ffffff 64bit pref]
pci 0000:00:00.0: reg 0x24: [io  0xe000-0xe07f]
pci 0000:00:00.0: reg 0x30: [mem 0xdf000000-0xdf07ffff pref]
pcifront pci-0: claiming resource 0000:00:00.0/0
pcifront pci-0: claiming resource 0000:00:00.0/1
pcifront pci-0: claiming resource 0000:00:00.0/3
pcifront pci-0: claiming resource 0000:00:00.0/5
pcifront pci-0: claiming resource 0000:00:00.0/6
device-model/7/command
+ xenstore-read device-model/7/command
+ cmd=pci-ins
+ '[' pci-ins '!=' pci-ins ]
+ xenstore-read device-model/7/parameter
+ para='0000:01:00.0,msitranslate=0,power_mgmt=0'
+ cut -b 1-12
+ printf '%s' '0000:01:00.0,msitranslate=0,power_mgmt=0'
+ dev=0000:01:00.0
+ tr : -
+ printf '%s' 0000:01:00.0
+ qdev_id=xen-pci-pt_0000-01-00.0
+ '[' pci-ins '=' pci-rem ]
+ xenstore-read device/pci/0/backend
+ be=/local/domain/0/backend/pci/8/0
+ xenstore-read /local/domain/0/backend/pci/8/0/num_devs
+ devs=1
+ dev_n=
+ seq 0 0
+ sed 's/\.0\([0-9]\)$/.\1/'
+ xenstore-read /local/domain/0/backend/pci/8/0/dev-0
+ '[' 0000:01:00.0 '=' 0000:01:00.0 ]
+ dev_n=0
+ break
+ '[' -z 0 ]
+ xenstore-read /local/domain/0/backend/pci/8/0/vdev-0
+ vdev=0000:00:00.00
+ addr_arg=
+ xenstore-read /local/domain/0/backend/pci/8/0/vdevfn-0
xenstore-read: couldn't read path /local/domain/0/backend/pci/8/0/vdevfn-0
+ true
+ vdevfn=
+ '[' -n  ]
+ permissive=false
+ grep -q '\<permissive=1\>'
+ xenstore-read /local/domain/0/backend/pci/8/0/opts-0
+ cat
+ qmp_req '{"execute": "device_add", "arguments": {"driver": 
"xen-pci-passthrough", "id": "xen-pci-pt_0000-01-00.0", "hostaddr": 
"0000:00:00.00", "machine_addr": "0000:01:00.0", "permissive": false}}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=fd49704e-2e33-45f5-81eb-6dedf80b217c'
+ echo '{"execute": "device_add", "arguments": {"driver": 
"xen-pci-passthrough", "id": "xen-pci-pt_0000-01-00.0", "hostaddr": 
"0000:00:00.00", "machine_addr": "0000:01:00.0", "permissive": false}}'
+ mv /tmp/qmp/new-req_fd49704e-2e33-45f5-81eb-6dedf80b217c 
/tmp/qmp/req/fd49704e-2e33-45f5-81eb-6dedf80b217c
+ '[' -f /tmp/qmp/res/fd49704e-2e33-45f5-81eb-6dedf80b217c ]
+ sleep 0.1
fd49704e-2e33-45f5-81eb-6dedf80b217c
[00:07.0] xen_pt_realize: Assigning real physical device 00:00.0 to devfn 0x38
[00:07.0] xen_pt_register_regions: IO region 0 registered (size=0x01000000 
base_addr=0xde000000 type: 0)
[00:07.0] xen_pt_register_regions: IO region 1 registered (size=0x10000000 
base_addr=0xc0000000 type: 0x4)
[00:07.0] xen_pt_register_regions: IO region 3 registered (size=0x02000000 
base_addr=0xd0000000 type: 0x4)
[00:07.0] xen_pt_register_regions: IO region 5 registered (size=0x00000080 
base_addr=0x0000e000 type: 0x1)
{"execute": "device_add", "arguments": {"driver": "xen-pci-passthrough", "id": 
"xen-pci-pt_0000-01-00.0", "hostaddr": "0000:00:00.00", "machine_addr": 
"0000:01:00.0", "permissive": false}}
[00:07.0] xen_pt_register_regions: Expansion ROM registered (size=0x00080000 
base_addr=0xdf000000)
[00:07.0] xen_pt_config_reg_init: Offset 0x0010 mismatch! Emulated=0x0000, 
host=0xde000000, syncing to 0xde000000.
[00:07.0] xen_pt_config_reg_init: Offset 0x0014 mismatch! Emulated=0x0000, 
host=0xc000000c, syncing to 0xc000000c.
[00:07.0] xen_pt_config_reg_init: Offset 0x001c mismatch! Emulated=0x0000, 
host=0xd000000c, syncing to 0xd000000c.
[00:07.0] xen_pt_config_reg_init: Offset 0x0024 mismatch! Emulated=0x0000, 
host=0xe001, syncing to 0xe001.
[00:07.0] xen_pt_config_reg_init: Offset 0x0062 mismatch! Emulated=0x0000, 
host=0x0003, syncing to 0x0003.
[00:07.0] xen_pt_config_reg_init: Offset 0x006a mismatch! Emulated=0x0000, 
host=0x0080, syncing to 0x0080.
[00:07.0] xen_pt_config_reg_init: Offset 0x007c mismatch! Emulated=0x0000, 
host=0x12c8de1, syncing to 0x12c8de1.
[00:07.0] xen_pt_config_reg_init: Offset 0x0082 mismatch! Emulated=0x0000, 
host=0x0009, syncing to 0x0009.
[00:07.0] xen_pt_config_reg_init: Offset 0x008a mismatch! Emulated=0x0000, 
host=0x1083, syncing to 0x1083.
[00:07.0] xen_pt_pci_intx: intx=1
[00:07.0] xen_pt_realize: Real physical device 00:00.0 registered successfully
{"return": {}}

+ '[' -f /tmp/qmp/res/fd49704e-2e33-45f5-81eb-6dedf80b217c ]
+ cat /tmp/qmp/res/fd49704e-2e33-45f5-81eb-6dedf80b217c
+ rm /tmp/qmp/res/fd49704e-2e33-45f5-81eb-6dedf80b217c
+ sed -n '/"qdev_id": "xen-pci-pt_0000-01-00.0"/{s/.*"slot": 
\([0-9]\+\),.*"function": \([0-9]\+\),.*/\1,\2/;p}'
+ sed 's/"qdev_id"/\n\0/g'
+ qmp_req '{"execute": "query-pci"}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=ffce7c0a-f769-4002-83ce-333d5be4713f'
+ echo '{"execute": "query-pci"}'
+ mv /tmp/qmp/new-req_ffce7c0a-f769-4002-83ce-333d5be4713f 
/tmp/qmp/req/ffce7c0a-f769-4002-83ce-333d5be4713f
+ '[' -f /tmp/qmp/res/ffce7c0a-f769-4002-83ce-333d5be4713f ]
+ sleep 0.1
ffce7c0a-f769-4002-83ce-333d5be4713f
{"execute": "query-pci"}
{"return": [{"bus": 0, "devices": [{"bus": 0, "qdev_id": "", "slot": 0, 
"class_info": {"class": 1536, "desc": "Host bridge"}, "id": {"device": 4663, 
"vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, "qdev_id": "", 
"slot": 1, "class_info": {"class": 1537, "desc": "ISA bridge"}, "id": 
{"device": 28672, "vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, 
"qdev_id": "", "slot": 1, "class_info": {"class": 257, "desc": "IDE 
controller"}, "id": {"device": 28688, "vendor": 32902}, "function": 1, 
"regions": [{"bar": 4, "size": 16, "address": -1, "type": "io"}]}, {"bus": 0, 
"qdev_id": "", "irq": 0, "slot": 1, "class_info": {"class": 1664, "desc": 
"Bridge"}, "id": {"device": 28947, "vendor": 32902}, "function": 3, "regions": 
[]}, {"bus": 0, "qdev_id": "", "irq": 0, "slot": 2, "class_info": {"class": 
65408}, "id": {"device": 1, "vendor": 22611}, "function": 0, "regions": 
[{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": true, 
"mem_type_64": false, "bar": 1, "size": 16777216, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "", "slot": 3, "class_info": {"class": 768, 
"desc": "VGA controller"}, "id": {"device": 184, "vendor": 4115}, "function": 
0, "regions": [{"prefetch": true, "mem_type_64": false, "bar": 0, "size": 
33554432, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": 
false, "bar": 1, "size": 4096, "address": -1, "type": "memory"}, {"prefetch": 
false, "mem_type_64": false, "bar": 6, "size": 65536, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "ehci", "irq": 0, "slot": 4, "class_info": 
{"class": 3075, "desc": "USB controller"}, "id": {"device": 9421, "vendor": 
32902}, "function": 0, "regions": [{"prefetch": false, "mem_type_64": false, 
"bar": 0, "size": 4096, "address": -1, "type": "memory"}]}, {"bus": 0, 
"qdev_id": "nic0", "irq": 0, "slot": 5, "class_info": {"class": 512, "desc": 
"Ethernet controller"}, "id": {"device": 33081, "vendor": 4332}, "function": 0, 
"regions": [{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": 
false, "mem_type_64": false, "bar": 1, "size": 256, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "scsi0", "irq": 0, "slot": 6, "class_info": 
{"class": 256, "desc": "SCSI controller"}, "id": {"device": 84, "vendor": 
4096}, "function": 0, "regions": [{"bar": 0, "size": 256, "address": -1, 
"type": "io"}, {"prefetch": false, "mem_type_64": false, "bar": 1, "size": 
16384, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": 
false, "bar": 2, "size": 65536, "address": -1, "type": "memory"}]}, {"bus": 0, 
"qdev_id": "xen-pci-pt_0000-01-00.0", "irq": 0, "slot": 7, "class_info": 
{"class": 0}, "id": {"device": 6912, "vendor": 4318}, "function": 0, "regions": 
[{"prefetch": false, "mem_type_64": false, "bar": 0, "size": 16777216, 
"address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": true, 
"bar": 1, "size": 268435456, "address": -1, "type": "memory"}, {"prefetch": 
false, "mem_type_64": true, "bar": 3, "size": 33554432, "address": -1, "type": 
"memory"}, {"bar": 5, "size": 128, "address": -1, "type": "io"}, {"prefetch": 
true, "mem_type_64": false, "bar": 6, "size": 524288, "address": -1, "type": 
"memory"}]}]}]}

+ '[' -f /tmp/qmp/res/ffce7c0a-f769-4002-83ce-333d5be4713f ]
+ sleep 0.1
+ '[' -f /tmp/qmp/res/ffce7c0a-f769-4002-83ce-333d5be4713f ]
+ cat /tmp/qmp/res/ffce7c0a-f769-4002-83ce-333d5be4713f
+ rm /tmp/qmp/res/ffce7c0a-f769-4002-83ce-333d5be4713f
+ slot_func=7,0
+ cut -d , -f 1
+ printf '%s' 7,0
+ slot=7
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x3c8aa8e9558, 
max_idle_ns: 440795275849 ns
+ cut -d , -f 2
+ printf '%s' 7,0
+ func=0
+ vdevfn=56
+ printf '0x%02x' 56
+ xenstore-write device-model/7/parameter 0x38
+ xenstore-write device-model/7/state pci-inserted
+ true
+ xenstore-watch -n 2 device-model/7/command
device-model/7/command
qubes_gui/init[650]: got xorg conf, creating window
qubes_gui/init: 660
dumping mfns: n=301, w=640, h=480
configure msg, x/y 640 325 (was 0 0), w/h 640 480
qemu: pin_memory_cacheattr failed: Operation not permitted
dumping mfns: n=282, w=720, h=400
configure msg, x/y 640 325 (was 640 325), w/h 640 480
random: crng init done
dumping mfns: n=769, w=1024, h=768
configure msg, x/y 640 325 (was 640 325), w/h 720 400
Issued domain 7 reboot
pcifront pci-0: Rescanning PCI Frontend Bus 0000:00
Linux version 4.14.68-xen-stubdom (user@build-fedora4) (gcc version 6.4.1 
20170727 (Red Hat 6.4.1-1) (GCC)) #1 Tue Oct 2 03:34:17 UTC 2018
Command line: debug console=hvc0
x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 
'standard' format.
Released 0 page(s)
e820: BIOS-provided physical RAM map:
Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Xen: [mem 0x0000000000100000-0x00000000087fffff] usable
NX (Execute Disable) protection: active
Hypervisor detected: Xen PV
tsc: Fast TSC calibration failed
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
e820: remove [mem 0x000a0000-0x000fffff] usable
e820: last_pfn = 0x8800 max_arch_pfn = 0x400000000
x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WC  WP  UC  UC  
Base memory trampoline at [ffff88000009a000] 9a000 size 24576
BRK [0x01b47000, 0x01b47fff] PGTABLE
RAMDISK: [mem 0x01c00000-0x033b1fff]
Zone ranges:
  DMA32    [mem 0x0000000000001000-0x00000000087fffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000001000-0x000000000009ffff]
  node   0: [mem 0x0000000000100000-0x00000000087fffff]
Initmem setup node 0 [mem 0x0000000000001000-0x00000000087fffff]
On node 0 totalpages: 34719
  DMA32 zone: 544 pages used for memmap
  DMA32 zone: 21 pages reserved
  DMA32 zone: 34719 pages, LIFO batch:7
p2m virtual area at ffffc90000000000, size is 200000
Remapped 0 page(s)
e820: [mem 0x08800000-0xffffffff] available for PCI devices
Booting paravirtualized kernel on Xen
Xen version: 4.8.4 (preserve-AD)
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 7645519600211568 ns
random: get_random_bytes called from 0xffffffff81a5e5a1 with crng_init=0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists, mobility grouping on.  Total pages: 34154
Kernel command line: debug console=hvc0
PID hash table entries: 1024 (order: 1, 8192 bytes)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Memory: 97752K/138876K available (6152K kernel code, 343K rwdata, 368K rodata, 
656K init, 280K bss, 41124K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Using NULL legacy PIC
NR_IRQS: 4352, nr_irqs: 24, preallocated irqs: 0
xen:events: Using FIFO-based ABI
console [hvc0] enabled
clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, 
max_idle_ns: 881590591483 ns
Xen: using vcpuop timer interface
installing Xen timer for CPU 0
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
tsc: Detected 4200.076 MHz processor
Calibrating delay loop (skipped), value calculated using timer frequency.. 
8400.15 BogoMIPS (lpj=16800304)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
mce: CPU supports 2 MCE banks
Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (family: 0x6, model: 0x9e, 
stepping: 0x9)
Spectre V2 : Mitigation: Full generic retpoline
Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Spectre V2 : Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier
Spectre V2 : Enabling Restricted Speculation for firmware calls
Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via 
prctl and seccomp
Performance Events: unsupported p6 CPU model 158 no PMU driver, software events 
only.
Not enabling interrupt remapping due to skipped IO-APIC setup
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100de2e
CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100de2e
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010202
RAX: ffffffff8100de2e RBX: 29e8a73010f5b18a RCX: ffffffff81a675cd
RDX: 1845987f2a63fd6f RSI: ffffc90000203d44 RDI: 0000000000000000
RBP: ffffc90000203ee8 R08: 000000000000000a R09: ffffffff81b1a574
R10: 0000000000000006 R11: 0000000000000060 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78e8f
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c2 48 83 f8 ff 48 0f 45 c2 c3 48 c7 c0 a8 5a 80 81 c3 48 c7 06 ff 00 00 
00 c3 48 89 f8 b9 00 04 00 00 48 89 f7 48 89 c6 f3 a5 c3 <0f> 0b 89 f8 c3 89 f8 
c1 e8 18 c3 31 c0 c3 31 c0 c3 0f 0b c3 31 
---[ end trace 3459a5361bdca995 ]---
register: 20, value: 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010286
RAX: 0000000000000016 RBX: 29e8a73010f5b18a RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d44 RDI: 0000000000000200
RBP: ffffc90000203ee8 R08: 000000000000000a R09: ffffffff81b1ac08
R10: 0000000000000006 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78e9b
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 3459a5361bdca996 ]---
pmu_apic_update: pmudata not initialized
register: 80, value: 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000016 RBX: 000000000040168c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 000001f23cf21f31 R08: 000000000000000a R09: ffffffff81b1b2b8
R10: 0000000000000006 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff810215a3
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 3459a5361bdca997 ]---
register: f0, value: 1ff
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 000000000040168c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 000001f23cf21f31 R08: 000000000000020a R09: ffffffff81b1b958
R10: 0000000000000006 R11: 0000000000000038 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 00000000000000f0
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81021687
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 3459a5361bdca998 ]---
register: 350, value: 700
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000019 RBX: 0000000000000700 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 000001f23cf21f31 R08: 000000000000070a R09: ffffffff81b1bff8
R10: 0000000000000006 R11: 000000000000003c R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 00000000000000f0
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff810216ea
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 3459a5361bdca999 ]---
register: 360, value: 400
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010286
RAX: 0000000000000019 RBX: 29e8a73010f5b18a RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d44 RDI: 0000000000000200
RBP: ffffc90000203ee8 R08: 000000000000000a R09: ffffffff81b1c69c
R10: 0000000000000006 R11: 000000000000003c R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 3459a5361bdca99a ]---
register: 370, value: fe
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000023340 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203eb8 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d2c RDI: 0000000000000200
RBP: 0000000000000000 R08: 000000000000000a R09: ffffffff81b1cd18
R10: 0000000000000006 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81020f9f
 ? 0xffffffff81a78ed9
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 3459a5361bdca99b ]---
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 
7645041785100000 ns
futex hash table entries: 16 (order: -4, 384 bytes)
NET: Registered protocol family 16
xen:grant_table: Grant tables using version 1 layout
Grant table initialized
PCI: setting up Xen PCI frontend stub
PCI: pci_cache_line_size set to 64 bytes
xen:balloon: Initialising balloon driver
PCI: System does not support PCI
clocksource: Switched to clocksource xen
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
Unpacking initramfs...
Freeing initrd memory: 24264K
workingset: timestamp_bits=62 max_order=15 bucket_order=0
io scheduler noop registered (default)
xen:xen_evtchn: Event-channel device installed
Invalid max_queues (4), will use default max: 1.
tun: Universal TUN/TAP device driver, 1.6
xen_netfront: Initialising Xen virtual ethernet driver
NET: Registered protocol family 17
sched_clock: Marking stable (14915660, 0)->(437900303534, -437885387874)
random: fast init done
blkfront: xvda: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
 xvda: xvda1 xvda2
blkfront: xvdb: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
blkfront: xvdc: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
Freeing unused kernel memory: 656K
Write protecting the kernel read-only data: 10240k
Freeing unused kernel memory: 2032K
Freeing unused kernel memory: 1680K
+ mount -t devtmpfs none /dev
+ mount -t sysfs /sys /sys
+ mount -t proc /proc /proc
+ mount -t tmpfs -o 'size=1m,nodev,noexec' /tmp /tmp
+ mount -o remount,ro /
+ echo 1
+ test -e /sys/class/net/eth0
+ ip link set eth0 address fe:ff:ff:ff:ff:fe
+ ip addr flush eth0
+ ip link set eth0 up
+ brctl addbr br0
+ brctl addif br0 eth0
br0: port 1(eth0) entered blocking state
br0: port 1(eth0) entered disabled state
device eth0 entered promiscuous mode
+ ip link set br0 up
br0: port 1(eth0) entered blocking state
br0: port 1(eth0) entered forwarding state
+ xenstore-read device/vif/0/backend
+ xenstore-read /local/domain/3/backend/vif/12/0/ip
+ client_ip=10.137.0.17
+ client_ip=10.137.0.17
+ net_prefix=10.137.0
+ /bin/xenstore-read target
+ udhcpd -f -I 10.137.0.1 -
+ domid=11
udhcpd: started, v1.29.3
+ xenstore-read /local/domain/11/vm
+ vm_path=/vm/f732bbe9-80d3-4149-93aa-188cc604f620
+ xenstore-read -R /vm/f732bbe9-80d3-4149-93aa-188cc604f620/image/dmargs
+ 
dm_args='-xen-domid.11.-nodefaults.-no-user-config.-name.win10new.-display.none.-device.cirrus-vga,vgamem_mb=8.-boot.order=dc.-device.usb-ehci,id=ehci.-device.usb-tablet,bus=ehci.0.-smp.4,maxcpus=4.-device.rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00.-netdev.type=tap,id=net0,ifname=vif11.0-emu,script=no,downscript=no.-display.qubes-gui.-machine.xenfv.-m.10232.-device.mptsas1068,id=scsi0.-drive.file=/dev/xvda,if=none,id=disk0,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk0,wwn=0x3525400051756265.-drive.file=/dev/xvdb,if=none,id=disk1,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk1,wwn=0x3525400051756266.-drive.file=/dev/xvdc,if=none,id=disk2,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk2,wwn=0x3525400051756267'
+ mkdir /tmp/qmp
+ mkdir /tmp/qmp/req
+ mkdir /tmp/qmp/res
+ kernel=
+ '[' -b /dev/xvdd ]
+ mkfifo /tmp/qmp/qemu.in /tmp/qmp/qemu.out /tmp/qmp/qemu_res.out
+ IFS='.'
+ set -f
+ set +f
+ unset IFS
+ qemu_pid=44
+ true
+ printf '==== Press enter for shell ====\n'
==== Press enter for shell ====
+ read
+ qemu -sandbox 
'on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny' 
-chardev 'pipe,path=/tmp/qmp/qemu,id=m' -mon 'chardev=m,mode=control' 
-xen-domid 11 -nodefaults -no-user-config -name win10new -display none -device 
'cirrus-vga,vgamem_mb=8' -boot 'order=dc' -device 'usb-ehci,id=ehci' -device 
'usb-tablet,bus=ehci.0' -smp '4,maxcpus=4' -device 
'rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00' -netdev 
'type=tap,id=net0,ifname=vif11.0-emu,script=no,downscript=no' -display 
qubes-gui -machine xenfv -m 10232 -device 'mptsas1068,id=scsi0' -drive 
'file=/dev/xvda,if=none,id=disk0,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk0,wwn=0x3525400051756265' -drive 
'file=/dev/xvdb,if=none,id=disk1,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk1,wwn=0x3525400051756266' -drive 
'file=/dev/xvdc,if=none,id=disk2,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk2,wwn=0x3525400051756267'
+ set +x
Clearing kmsg buffer...
+ set +x
+ xenstore-read target
+ set +x
+ target=11
+ device_model=device-model/11
+ true
+ xenstore-watch -n 2 device-model/11/command
device-model/11/command
+ set +x
random: qemu: uninitialized urandom read (16 bytes read)
{"QMP": {"version": {"qemu": {"micro": 0, "minor": 0, "major": 3}, "package": 
""}, "capabilities": []}}

{"execute": "qmp_capabilities"}
br0: port 2(vif11.0-emu) entered blocking state
br0: port 2(vif11.0-emu) entered disabled state
device vif11.0-emu entered promiscuous mode
br0: port 2(vif11.0-emu) entered blocking state
br0: port 2(vif11.0-emu) entered forwarding state
qubes_gui/init: 592
qubes_gui/init: 607
qubes_gui/init: 609
qubes_gui/init[639]: version sent, waiting for xorg conf
{"return": {}}

pcifront pci-0: Installing PCI frontend
xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
software IO TLB [mem 0x03000000-0x03400000] (4MB) mapped at 
[ffff880003000000-ffff8800033fffff]
pcifront pci-0: Creating PCI Frontend Bus 0000:00
pcifront pci-0: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0x7fffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: [10de:1b00] type 00 class 0x030000
pci 0000:00:00.0: reg 0x10: [mem 0xde000000-0xdeffffff]
pci 0000:00:00.0: reg 0x14: [mem 0xc0000000-0xcfffffff 64bit pref]
pci 0000:00:00.0: reg 0x1c: [mem 0xd0000000-0xd1ffffff 64bit pref]
pci 0000:00:00.0: reg 0x24: [io  0xe000-0xe07f]
pci 0000:00:00.0: reg 0x30: [mem 0xdf000000-0xdf07ffff pref]
pcifront pci-0: claiming resource 0000:00:00.0/0
pcifront pci-0: claiming resource 0000:00:00.0/1
pcifront pci-0: claiming resource 0000:00:00.0/3
pcifront pci-0: claiming resource 0000:00:00.0/5
pcifront pci-0: claiming resource 0000:00:00.0/6
device-model/11/command
+ xenstore-read device-model/11/command
+ cmd=pci-ins
+ '[' pci-ins '!=' pci-ins ]
+ xenstore-read device-model/11/parameter
+ para='0000:01:00.0,msitranslate=0,power_mgmt=0'
+ cut -b 1-12
+ printf '%s' '0000:01:00.0,msitranslate=0,power_mgmt=0'
+ dev=0000:01:00.0
+ tr : -
+ printf '%s' 0000:01:00.0
+ qdev_id=xen-pci-pt_0000-01-00.0
+ '[' pci-ins '=' pci-rem ]
+ xenstore-read device/pci/0/backend
+ be=/local/domain/0/backend/pci/12/0
+ xenstore-read /local/domain/0/backend/pci/12/0/num_devs
+ devs=1
+ dev_n=
+ seq 0 0
+ sed 's/\.0\([0-9]\)$/.\1/'
+ xenstore-read /local/domain/0/backend/pci/12/0/dev-0
+ '[' 0000:01:00.0 '=' 0000:01:00.0 ]
+ dev_n=0
+ break
+ '[' -z 0 ]
+ xenstore-read /local/domain/0/backend/pci/12/0/vdev-0
+ vdev=0000:00:00.00
+ addr_arg=
+ xenstore-read /local/domain/0/backend/pci/12/0/vdevfn-0
xenstore-read: couldn't read path /local/domain/0/backend/pci/12/0/vdevfn-0
+ true
+ vdevfn=
+ '[' -n  ]
+ permissive=false
+ grep -q '\<permissive=1\>'
+ xenstore-read /local/domain/0/backend/pci/12/0/opts-0
+ cat
+ qmp_req '{"execute": "device_add", "arguments": {"driver": 
"xen-pci-passthrough", "id": "xen-pci-pt_0000-01-00.0", "hostaddr": 
"0000:00:00.00", "machine_addr": "0000:01:00.0", "permissive": false}}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=49114cdd-21b0-4d0d-98f6-5c3a9cec76a8'
+ echo '{"execute": "device_add", "arguments": {"driver": 
"xen-pci-passthrough", "id": "xen-pci-pt_0000-01-00.0", "hostaddr": 
"0000:00:00.00", "machine_addr": "0000:01:00.0", "permissive": false}}'
+ mv /tmp/qmp/new-req_49114cdd-21b0-4d0d-98f6-5c3a9cec76a8 
/tmp/qmp/req/49114cdd-21b0-4d0d-98f6-5c3a9cec76a8
+ '[' -f /tmp/qmp/res/49114cdd-21b0-4d0d-98f6-5c3a9cec76a8 ]
+ sleep 0.1
49114cdd-21b0-4d0d-98f6-5c3a9cec76a8
[00:07.0] xen_pt_realize: Assigning real physical device 00:00.0 to devfn 0x38
[00:07.0] xen_pt_register_regions: IO region 0 registered (size=0x01000000 
base_addr=0xde000000 type: 0)
[00:07.0] xen_pt_register_regions: IO region 1 registered (size=0x10000000 
base_addr=0xc0000000 type: 0x4)
[00:07.0] xen_pt_register_regions: IO region 3 registered (size=0x02000000 
base_addr=0xd0000000 type: 0x4)
{"execute": "device_add", "arguments": {"driver": "xen-pci-passthrough", "id": 
"xen-pci-pt_0000-01-00.0", "hostaddr": "0000:00:00.00", "machine_addr": 
"0000:01:00.0", "permissive": false}}
+ '[' -f /tmp/qmp/res/49114cdd-21b0-4d0d-98f6-5c3a9cec76a8 ]
+ sleep 0.1
[00:07.0] xen_pt_register_regions: IO region 5 registered (size=0x00000080 
base_addr=0x0000e000 type: 0x1)
[00:07.0] xen_pt_register_regions: Expansion ROM registered (size=0x00080000 
base_addr=0xdf000000)
[00:07.0] xen_pt_config_reg_init: Offset 0x0010 mismatch! Emulated=0x0000, 
host=0xde000000, syncing to 0xde000000.
[00:07.0] xen_pt_config_reg_init: Offset 0x0014 mismatch! Emulated=0x0000, 
host=0xc000000c, syncing to 0xc000000c.
[00:07.0] xen_pt_config_reg_init: Offset 0x001c mismatch! Emulated=0x0000, 
host=0xd000000c, syncing to 0xd000000c.
[00:07.0] xen_pt_config_reg_init: Offset 0x0024 mismatch! Emulated=0x0000, 
host=0xe001, syncing to 0xe001.
[00:07.0] xen_pt_config_reg_init: Offset 0x0062 mismatch! Emulated=0x0000, 
host=0x0003, syncing to 0x0003.
[00:07.0] xen_pt_config_reg_init: Offset 0x006a mismatch! Emulated=0x0000, 
host=0x0080, syncing to 0x0080.
[00:07.0] xen_pt_config_reg_init: Offset 0x007c mismatch! Emulated=0x0000, 
host=0x12c8de1, syncing to 0x12c8de1.
[00:07.0] xen_pt_config_reg_init: Offset 0x0082 mismatch! Emulated=0x0000, 
host=0x0009, syncing to 0x0009.
[00:07.0] xen_pt_config_reg_init: Offset 0x008a mismatch! Emulated=0x0000, 
host=0x1083, syncing to 0x1083.
[00:07.0] xen_pt_pci_intx: intx=1
[00:07.0] xen_pt_realize: Real physical device 00:00.0 registered successfully
{"return": {}}

+ '[' -f /tmp/qmp/res/49114cdd-21b0-4d0d-98f6-5c3a9cec76a8 ]
+ cat /tmp/qmp/res/49114cdd-21b0-4d0d-98f6-5c3a9cec76a8
+ rm /tmp/qmp/res/49114cdd-21b0-4d0d-98f6-5c3a9cec76a8
+ sed -n '/"qdev_id": "xen-pci-pt_0000-01-00.0"/{s/.*"slot": 
\([0-9]\+\),.*"function": \([0-9]\+\),.*/\1,\2/;p}'
+ sed 's/"qdev_id"/\n\0/g'
+ qmp_req '{"execute": "query-pci"}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=20d95f0b-be96-4a7b-8d87-2eda2e19ac4d'
+ echo '{"execute": "query-pci"}'
+ mv /tmp/qmp/new-req_20d95f0b-be96-4a7b-8d87-2eda2e19ac4d 
/tmp/qmp/req/20d95f0b-be96-4a7b-8d87-2eda2e19ac4d
+ '[' -f /tmp/qmp/res/20d95f0b-be96-4a7b-8d87-2eda2e19ac4d ]
+ sleep 0.1
20d95f0b-be96-4a7b-8d87-2eda2e19ac4d
{"execute": "query-pci"}
{"return": [{"bus": 0, "devices": [{"bus": 0, "qdev_id": "", "slot": 0, 
"class_info": {"class": 1536, "desc": "Host bridge"}, "id": {"device": 4663, 
"vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, "qdev_id": "", 
"slot": 1, "class_info": {"class": 1537, "desc": "ISA bridge"}, "id": 
{"device": 28672, "vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, 
"qdev_id": "", "slot": 1, "class_info": {"class": 257, "desc": "IDE 
controller"}, "id": {"device": 28688, "vendor": 32902}, "function": 1, 
"regions": [{"bar": 4, "size": 16, "address": -1, "type": "io"}]}, {"bus": 0, 
"qdev_id": "", "irq": 0, "slot": 1, "class_info": {"class": 1664, "desc": 
"Bridge"}, "id": {"device": 28947, "vendor": 32902}, "function": 3, "regions": 
[]}, {"bus": 0, "qdev_id": "", "irq": 0, "slot": 2, "class_info": {"class": 
65408}, "id": {"device": 1, "vendor": 22611}, "function": 0, "regions": 
[{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": true, 
"mem_type_64": false, "bar": 1, "size": 16777216, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "", "slot": 3, "class_info": {"class": 768, 
"desc": "VGA controller"}, "id": {"device": 184, "vendor": 4115}, "function": 
0, "regions": [{"prefetch": true, "mem_type_64": false, "bar": 0, "size": 
33554432, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": 
false, "bar": 1, "size": 4096, "address": -1, "type": "memory"}, {"prefetch": 
false, "mem_type_64": false, "bar": 6, "size": 65536, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "ehci", "irq": 0, "slot": 4, "class_info": 
{"class": 3075, "desc": "USB controller"}, "id": {"device": 9421, "vendor": 
32902}, "function": 0, "regions": [{"prefetch": false, "mem_type_64": false, 
"bar": 0, "size": 4096, "address": -1, "type": "memory"}]}, {"bus": 0, 
"qdev_id": "nic0", "irq": 0, "slot": 5, "class_info": {"class": 512, "desc": 
"Ethernet controller"}, "id": {"device": 33081, "vendor": 4332}, "function": 0, 
"regions": [{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": 
false, "mem_type_64": false, "bar": 1, "size": 256, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "scsi0", "irq": 0, "slot": 6, "class_info": 
{"class": 256, "desc": "SCSI controller"}, "id": {"device": 84, "vendor": 
4096}, "function": 0, "regions": [{"bar": 0, "size": 256, "address": -1, 
"type": "io"}, {"prefetch": false, "mem_type_64": false, "bar": 1, "size": 
16384, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": 
false, "bar": 2, "size": 65536, "address": -1, "type": "memory"}]}, {"bus": 0, 
"qdev_id": "xen-pci-pt_0000-01-00.0", "irq": 0, "slot": 7, "class_info": 
{"class": 0}, "id": {"device": 6912, "vendor": 4318}, "function": 0, "regions": 
[{"prefetch": false, "mem_type_64": false, "bar": 0, "size": 16777216, 
"address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": true, 
"bar": 1, "size": 268435456, "address": -1, "type": "memory"}, {"prefetch": 
false, "mem_type_64": true, "bar": 3, "size": 33554432, "address": -1, "type": 
"memory"}, {"bar": 5, "size": 128, "address": -1, "type": "io"}, {"prefetch": 
true, "mem_type_64": false, "bar": 6, "size": 524288, "address": -1, "type": 
"memory"}]}]}]}

+ '[' -f /tmp/qmp/res/20d95f0b-be96-4a7b-8d87-2eda2e19ac4d ]
+ cat /tmp/qmp/res/20d95f0b-be96-4a7b-8d87-2eda2e19ac4d
+ rm /tmp/qmp/res/20d95f0b-be96-4a7b-8d87-2eda2e19ac4d
+ slot_func=7,0
+ cut -d , -f 1
+ printf '%s' 7,0
+ slot=7
+ cut -d , -f 2
+ printf '%s' 7,0
+ func=0
+ vdevfn=56
+ printf '0x%02x' 56
+ xenstore-write device-model/11/parameter 0x38
+ xenstore-write device-model/11/state pci-inserted
+ true
+ xenstore-watch -n 2 device-model/11/command
device-model/11/command
qubes_gui/init[650]: got xorg conf, creating window
qubes_gui/init: 660
dumping mfns: n=301, w=640, h=480
configure msg, x/y 640 325 (was 0 0), w/h 640 480
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x3c8aa8e9558, 
max_idle_ns: 440795275849 ns
qemu: pin_memory_cacheattr failed: Operation not permitted
dumping mfns: n=282, w=720, h=400
configure msg, x/y 640 325 (was 640 325), w/h 640 480
dumping mfns: n=769, w=1024, h=768
configure msg, x/y 640 325 (was 640 325), w/h 720 400
random: crng init done
dumping mfns: n=301, w=640, h=480
configure msg, x/y 909 147 (was 640 325), w/h 1024 768
qubes_gui: got unknown msg type 145, ignoring
Issued domain 11 reboot
pcifront pci-0: Rescanning PCI Frontend Bus 0000:00
Linux version 4.14.68-xen-stubdom (user@build-fedora4) (gcc version 6.4.1 
20170727 (Red Hat 6.4.1-1) (GCC)) #1 Tue Oct 2 03:34:17 UTC 2018
Command line: debug console=hvc0
x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 
'standard' format.
Released 0 page(s)
e820: BIOS-provided physical RAM map:
Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Xen: [mem 0x0000000000100000-0x0000000008ffffff] usable
NX (Execute Disable) protection: active
Hypervisor detected: Xen PV
tsc: Fast TSC calibration failed
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
e820: remove [mem 0x000a0000-0x000fffff] usable
e820: last_pfn = 0x9000 max_arch_pfn = 0x400000000
x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WC  WP  UC  UC  
Base memory trampoline at [ffff88000009a000] 9a000 size 24576
BRK [0x01b47000, 0x01b47fff] PGTABLE
RAMDISK: [mem 0x01c00000-0x033b1fff]
Zone ranges:
  DMA32    [mem 0x0000000000001000-0x0000000008ffffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000001000-0x000000000009ffff]
  node   0: [mem 0x0000000000100000-0x0000000008ffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x0000000008ffffff]
On node 0 totalpages: 36767
  DMA32 zone: 576 pages used for memmap
  DMA32 zone: 21 pages reserved
  DMA32 zone: 36767 pages, LIFO batch:7
p2m virtual area at ffffc90000000000, size is 200000
Remapped 0 page(s)
e820: [mem 0x09000000-0xffffffff] available for PCI devices
Booting paravirtualized kernel on Xen
Xen version: 4.8.4 (preserve-AD)
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 7645519600211568 ns
random: get_random_bytes called from 0xffffffff81a5e5a1 with crng_init=0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists, mobility grouping on.  Total pages: 36170
Kernel command line: debug console=hvc0
PID hash table entries: 1024 (order: 1, 8192 bytes)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Memory: 105912K/147068K available (6152K kernel code, 343K rwdata, 368K rodata, 
656K init, 280K bss, 41156K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Using NULL legacy PIC
NR_IRQS: 4352, nr_irqs: 24, preallocated irqs: 0
xen:events: Using FIFO-based ABI
console [hvc0] enabled
clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, 
max_idle_ns: 881590591483 ns
Xen: using vcpuop timer interface
installing Xen timer for CPU 0
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
tsc: Detected 4200.076 MHz processor
Calibrating delay loop (skipped), value calculated using timer frequency.. 
8400.15 BogoMIPS (lpj=16800304)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
mce: CPU supports 2 MCE banks
Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (family: 0x6, model: 0x9e, 
stepping: 0x9)
Spectre V2 : Mitigation: Full generic retpoline
Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Spectre V2 : Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier
Spectre V2 : Enabling Restricted Speculation for firmware calls
Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via 
prctl and seccomp
Performance Events: unsupported p6 CPU model 158 no PMU driver, software events 
only.
Not enabling interrupt remapping due to skipped IO-APIC setup
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100de2e
CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100de2e
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010203
RAX: ffffffff8100de2e RBX: 89eb833010f6ae81 RCX: ffffffff81a675cd
RDX: 1845987f2a63fd6f RSI: ffffc90000203d44 RDI: 0000000000000000
RBP: ffffc90000203ee8 R08: 000000000000000a R09: ffffffff81b1a574
R10: 0000000000000001 R11: 0000000000000060 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78e8f
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c2 48 83 f8 ff 48 0f 45 c2 c3 48 c7 c0 a8 5a 80 81 c3 48 c7 06 ff 00 00 
00 c3 48 89 f8 b9 00 04 00 00 48 89 f7 48 89 c6 f3 a5 c3 <0f> 0b 89 f8 c3 89 f8 
c1 e8 18 c3 31 c0 c3 31 c0 c3 0f 0b c3 31 
---[ end trace 5f67ff7525069b1c ]---
register: 20, value: 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010286
RAX: 0000000000000016 RBX: 89eb833010f6ae81 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d44 RDI: 0000000000000200
RBP: ffffc90000203ee8 R08: 000000000000020a R09: ffffffff81b1ac08
R10: 0000000000000001 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78e9b
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 5f67ff7525069b1d ]---
pmu_apic_update: pmudata not initialized
register: 80, value: 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000016 RBX: 000000000040168c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 00000481789d2d22 R08: 000000000000000a R09: ffffffff81b1b2b8
R10: 0000000000000001 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff810215a3
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 5f67ff7525069b1e ]---
register: f0, value: 1ff
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 000000000040168c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 00000481789d2d22 R08: 000000000000000a R09: ffffffff81b1b958
R10: 0000000000000001 R11: 0000000000000038 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 00000000000000f0
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81021687
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 5f67ff7525069b1f ]---
register: 350, value: 700
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000019 RBX: 0000000000000700 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 00000481789d2d22 R08: 000000000000000a R09: ffffffff81b1bff8
R10: 0000000000000001 R11: 000000000000003c R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 00000000000000f0
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff810216ea
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 5f67ff7525069b20 ]---
register: 360, value: 400
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010286
RAX: 0000000000000019 RBX: 89eb833010f6ae81 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d44 RDI: 0000000000000200
RBP: ffffc90000203ee8 R08: 000000000000010a R09: ffffffff81b1c69c
R10: 0000000000000001 R11: 000000000000003c R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81a78ec2
 ? 0xffffffff81a675cd
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 5f67ff7525069b21 ]---
register: 370, value: fe
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203eb8 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d2c RDI: 0000000000000200
RBP: 0000000000000000 R08: 000000000000060a R09: ffffffff81b1cd18
R10: 0000000000000001 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000042660
Call Trace:
 ? 0xffffffff81020f9f
 ? 0xffffffff81a78ed9
 ? 0xffffffff81a78fdd
 ? 0xffffffff81a5ed95
 ? 0xffffffff81217a24
 ? 0xffffffff81217a29
 ? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 
06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 
89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 
---[ end trace 5f67ff7525069b22 ]---
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 
7645041785100000 ns
futex hash table entries: 16 (order: -4, 384 bytes)
NET: Registered protocol family 16
xen:grant_table: Grant tables using version 1 layout
Grant table initialized
PCI: setting up Xen PCI frontend stub
PCI: pci_cache_line_size set to 64 bytes
xen:balloon: Initialising balloon driver
PCI: System does not support PCI
clocksource: Switched to clocksource xen
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
Unpacking initramfs...
Freeing initrd memory: 24264K
workingset: timestamp_bits=62 max_order=15 bucket_order=0
io scheduler noop registered (default)
xen:xen_evtchn: Event-channel device installed
Invalid max_queues (4), will use default max: 1.
tun: Universal TUN/TAP device driver, 1.6
xen_netfront: Initialising Xen virtual ethernet driver
NET: Registered protocol family 17
sched_clock: Marking stable (14991264, 0)->(1107942616641, -1107927625377)
random: fast init done
blkfront: xvda: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
 xvda: xvda1 xvda2
blkfront: xvdb: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
 xvdb: xvdb1
blkfront: xvdc: flush diskcache: enabled; persistent grants: enabled; indirect 
descriptors: enabled;
Freeing unused kernel memory: 656K
Write protecting the kernel read-only data: 10240k
Freeing unused kernel memory: 2032K
Freeing unused kernel memory: 1680K
+ mount -t devtmpfs none /dev
+ mount -t sysfs /sys /sys
+ mount -t proc /proc /proc
+ mount -t tmpfs -o 'size=1m,nodev,noexec' /tmp /tmp
+ mount -o remount,ro /
+ echo 1
+ test -e /sys/class/net/eth0
+ ip link set eth0 address fe:ff:ff:ff:ff:fe
+ ip addr flush eth0
+ ip link set eth0 up
+ brctl addbr br0
+ brctl addif br0 eth0
br0: port 1(eth0) entered blocking state
br0: port 1(eth0) entered disabled state
device eth0 entered promiscuous mode
+ ip link set br0 up
br0: port 1(eth0) entered blocking state
br0: port 1(eth0) entered forwarding state
+ xenstore-read device/vif/0/backend
+ xenstore-read /local/domain/3/backend/vif/16/0/ip
+ client_ip=10.137.0.16
+ client_ip=10.137.0.16
+ net_prefix=10.137.0
+ /bin/xenstore-read target
+ udhcpd -f -I 10.137.0.1 -
+ domid=15
udhcpd: started, v1.29.3
+ xenstore-read /local/domain/15/vm
+ vm_path=/vm/ccaed076-1e1e-4be0-aa1e-7af3a19aa9dc
+ xenstore-read -R /vm/ccaed076-1e1e-4be0-aa1e-7af3a19aa9dc/image/dmargs
+ 
dm_args='-xen-domid.15.-nodefaults.-no-user-config.-name.win7new.-display.none.-device.VGA,vgamem_mb=16.-boot.order=dc.-device.usb-ehci,id=ehci.-device.usb-tablet,bus=ehci.0.-smp.4,maxcpus=4.-device.rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00.-netdev.type=tap,id=net0,ifname=vif15.0-emu,script=no,downscript=no.-display.qubes-gui.-machine.xenfv.-m.8176.-device.mptsas1068,id=scsi0.-drive.file=/dev/xvda,if=none,id=disk0,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk0,wwn=0x3525400051756265.-drive.file=/dev/xvdb,if=none,id=disk1,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk1,wwn=0x3525400051756266.-drive.file=/dev/xvdc,if=none,id=disk2,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk2,wwn=0x3525400051756267'
+ mkdir /tmp/qmp
+ mkdir /tmp/qmp/req
+ mkdir /tmp/qmp/res
+ kernel=
+ '[' -b /dev/xvdd ]
+ mkfifo /tmp/qmp/qemu.in /tmp/qmp/qemu.out /tmp/qmp/qemu_res.out
+ IFS='.'
+ set -f
+ set +f
+ unset IFS
+ qemu_pid=44
+ true
+ printf '==== Press enter for shell ====\n'
==== Press enter for shell ====
+ read
+ qemu -sandbox 
'on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny' 
-chardev 'pipe,path=/tmp/qmp/qemu,id=m'+ set +x
Clearing kmsg buffer...
+ set +x
+ xenstore-read target
+ set +x
+ target=15
+ device_model=device-model/15
+ true
+ xenstore-watch -n 2 device-model/15/command
device-model/15/command
 -mon 'chardev=m,mode=control' -xen-domid 15 -nodefaults -no-user-config -name 
win7new -display none -device 'VGA,vgamem_mb=16' -boot 'order=dc' -device 
'usb-ehci,id=ehci' -device 'usb-tablet,bus=ehci.0' -smp '4,maxcpus=4' -device 
'rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00' -netdev 
'type=tap,id=net0,ifname=vif15.0-emu,script=no,downscript=no' -display 
qubes-gui -machine xenfv -m 8176 -device 'mptsas1068,id=scsi0' -drive 
'file=/dev/xvda,if=none,id=disk0,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk0,wwn=0x3525400051756265' -drive 
'file=/dev/xvdb,if=none,id=disk1,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk1,wwn=0x3525400051756266' -drive 
'file=/dev/xvdc,if=none,id=disk2,format=host_device,cache=writeback,readonly=off'
 -device 'scsi-hd,bus=scsi0.0,drive=disk2,wwn=0x3525400051756267'
+ set +x
random: qemu: uninitialized urandom read (16 bytes read)
{"QMP": {"version": {"qemu": {"micro": 0, "minor": 0, "major": 3}, "package": 
""}, "capabilities": []}}

{"execute": "qmp_capabilities"}
br0: port 2(vif15.0-emu) entered blocking state
br0: port 2(vif15.0-emu) entered disabled state
device vif15.0-emu entered promiscuous mode
qubes_gui/init: 592
qubes_gui/init: 607
qubes_gui/init: 609
br0: port 2(vif15.0-emu) entered blocking state
br0: port 2(vif15.0-emu) entered forwarding state
qubes_gui/init[639]: version sent, waiting for xorg conf
{"return": {}}

pcifront pci-0: Installing PCI frontend
xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
software IO TLB [mem 0x03000000-0x03400000] (4MB) mapped at 
[ffff880003000000-ffff8800033fffff]
pcifront pci-0: Creating PCI Frontend Bus 0000:00
pcifront pci-0: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0x7fffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: [10de:1b00] type 00 class 0x030000
pci 0000:00:00.0: reg 0x10: [mem 0xde000000-0xdeffffff]
pci 0000:00:00.0: reg 0x14: [mem 0xc0000000-0xcfffffff 64bit pref]
pci 0000:00:00.0: reg 0x1c: [mem 0xd0000000-0xd1ffffff 64bit pref]
pci 0000:00:00.0: reg 0x24: [io  0xe000-0xe07f]
pci 0000:00:00.0: reg 0x30: [mem 0xdf000000-0xdf07ffff pref]
pcifront pci-0: claiming resource 0000:00:00.0/0
pcifront pci-0: claiming resource 0000:00:00.0/1
pcifront pci-0: claiming resource 0000:00:00.0/3
pcifront pci-0: claiming resource 0000:00:00.0/5
pcifront pci-0: claiming resource 0000:00:00.0/6
device-model/15/command
+ xenstore-read device-model/15/command
+ cmd=pci-ins
+ '[' pci-ins '!=' pci-ins ]
+ xenstore-read device-model/15/parameter
+ para='0000:01:00.0,msitranslate=0,power_mgmt=0'
+ cut -b 1-12
+ printf '%s' '0000:01:00.0,msitranslate=0,power_mgmt=0'
+ dev=0000:01:00.0
+ tr : -
+ printf '%s' 0000:01:00.0
+ qdev_id=xen-pci-pt_0000-01-00.0
+ '[' pci-ins '=' pci-rem ]
+ xenstore-read device/pci/0/backend
+ be=/local/domain/0/backend/pci/16/0
+ xenstore-read /local/domain/0/backend/pci/16/0/num_devs
+ devs=1
+ dev_n=
+ seq 0 0
+ xenstore-read /local/domain/0/backend/pci/16/0/dev-0
+ sed 's/\.0\([0-9]\)$/.\1/'
+ '[' 0000:01:00.0 '=' 0000:01:00.0 ]
+ dev_n=0
+ break
+ '[' -z 0 ]
+ xenstore-read /local/domain/0/backend/pci/16/0/vdev-0
+ vdev=0000:00:00.00
+ addr_arg=
+ xenstore-read /local/domain/0/backend/pci/16/0/vdevfn-0
xenstore-read: couldn't read path /local/domain/0/backend/pci/16/0/vdevfn-0
+ true
+ vdevfn=
+ '[' -n  ]
+ permissive=false
+ grep -q '\<permissive=1\>'
+ xenstore-read /local/domain/0/backend/pci/16/0/opts-0
+ cat
+ qmp_req '{"execute": "device_add", "arguments": {"driver": 
"xen-pci-passthrough", "id": "xen-pci-pt_0000-01-00.0", "hostaddr": 
"0000:00:00.00", "machine_addr": "0000:01:00.0", "permissive": false}}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=3c446637-9b08-44e8-afd1-6ad5795ef0b2'
+ echo '{"execute": "device_add", "arguments": {"driver": 
"xen-pci-passthrough", "id": "xen-pci-pt_0000-01-00.0", "hostaddr": 
"0000:00:00.00", "machine_addr": "0000:01:00.0", "permissive": false}}'
+ mv /tmp/qmp/new-req_3c446637-9b08-44e8-afd1-6ad5795ef0b2 
/tmp/qmp/req/3c446637-9b08-44e8-afd1-6ad5795ef0b2
+ '[' -f /tmp/qmp/res/3c446637-9b08-44e8-afd1-6ad5795ef0b2 ]
+ sleep 0.1
3c446637-9b08-44e8-afd1-6ad5795ef0b2
[00:07.0] xen_pt_realize: Assigning real physical device 00:00.0 to devfn 0x38
[00:07.0] xen_pt_register_regions: IO region 0 registered (size=0x01000000 
base_addr=0xde000000 type: 0)
[00:07.0] xen_pt_register_regions: IO region 1 registered (size=0x10000000 
base_addr=0xc0000000 type: 0x4)
[00:07.0] xen_pt_register_regions: IO region 3 registered (size=0x02000000 
base_addr=0xd0000000 type: 0x4)
{"execute": "device_add", "arguments": {"driver": "xen-pci-passthrough", "id": 
"xen-pci-pt_0000-01-00.0", "hostaddr": "0000:00:00.00", "machine_addr": 
"0000:01:00.0", "permissive": false}}
[00:07.0] xen_pt_register_regions: IO region 5 registered (size=0x00000080 
base_addr=0x0000e000 type: 0x1)
[00:07.0] xen_pt_register_regions: Expansion ROM registered (size=0x00080000 
base_addr=0xdf000000)
[00:07.0] xen_pt_config_reg_init: Offset 0x0010 mismatch! Emulated=0x0000, 
host=0xde000000, syncing to 0xde000000.
[00:07.0] xen_pt_config_reg_init: Offset 0x0014 mismatch! Emulated=0x0000, 
host=0xc000000c, syncing to 0xc000000c.
[00:07.0] xen_pt_config_reg_init: Offset 0x001c mismatch! Emulated=0x0000, 
host=0xd000000c, syncing to 0xd000000c.
[00:07.0] xen_pt_config_reg_init: Offset 0x0024 mismatch! Emulated=0x0000, 
host=0xe001, syncing to 0xe001.
[00:07.0] xen_pt_config_reg_init: Offset 0x0062 mismatch! Emulated=0x0000, 
host=0x0003, syncing to 0x0003.
[00:07.0] xen_pt_config_reg_init: Offset 0x006a mismatch! Emulated=0x0000, 
host=0x0080, syncing to 0x0080.
[00:07.0] xen_pt_config_reg_init: Offset 0x007c mismatch! Emulated=0x0000, 
host=0x12c8de1, syncing to 0x12c8de1.
[00:07.0] xen_pt_config_reg_init: Offset 0x008a mismatch! Emulated=0x0000, 
host=0x1083, syncing to 0x1083.
[00:07.0] xen_pt_pci_intx: intx=1
[00:07.0] xen_pt_realize: Real physical device 00:00.0 registered successfully
{"return": {}}

+ '[' -f /tmp/qmp/res/3c446637-9b08-44e8-afd1-6ad5795ef0b2 ]
+ cat /tmp/qmp/res/3c446637-9b08-44e8-afd1-6ad5795ef0b2
+ rm /tmp/qmp/res/3c446637-9b08-44e8-afd1-6ad5795ef0b2
+ sed -n '/"qdev_id": "xen-pci-pt_0000-01-00.0"/{s/.*"slot": 
\([0-9]\+\),.*"function": \([0-9]\+\),.*/\1,\2/;p}'
+ sed 's/"qdev_id"/\n\0/g'
+ qmp_req '{"execute": "query-pci"}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=932f9379-dfd2-4172-850e-ed2dfb98f242'
+ echo '{"execute": "query-pci"}'
+ mv /tmp/qmp/new-req_932f9379-dfd2-4172-850e-ed2dfb98f242 
/tmp/qmp/req/932f9379-dfd2-4172-850e-ed2dfb98f242
+ '[' -f /tmp/qmp/res/932f9379-dfd2-4172-850e-ed2dfb98f242 ]
+ sleep 0.1
932f9379-dfd2-4172-850e-ed2dfb98f242
{"execute": "query-pci"}
{"return": [{"bus": 0, "devices": [{"bus": 0, "qdev_id": "", "slot": 0, 
"class_info": {"class": 1536, "desc": "Host bridge"}, "id": {"device": 4663, 
"vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, "qdev_id": "", 
"slot": 1, "class_info": {"class": 1537, "desc": "ISA bridge"}, "id": 
{"device": 28672, "vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, 
"qdev_id": "", "slot": 1, "class_info": {"class": 257, "desc": "IDE 
controller"}, "id": {"device": 28688, "vendor": 32902}, "function": 1, 
"regions": [{"bar": 4, "size": 16, "address": -1, "type": "io"}]}, {"bus": 0, 
"qdev_id": "", "irq": 0, "slot": 1, "class_info": {"class": 1664, "desc": 
"Bridge"}, "id": {"device": 28947, "vendor": 32902}, "function": 3, "regions": 
[]}, {"bus": 0, "qdev_id": "", "irq": 0, "slot": 2, "class_info": {"class": 
65408}, "id": {"device": 1, "vendor": 22611}, "function": 0, "regions": 
[{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": true, 
"mem_type_64": false, "bar": 1, "size": 16777216, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "", "slot": 3, "class_info": {"class": 768, 
"desc": "VGA controller"}, "id": {"device": 4369, "vendor": 4660}, "function": 
0, "regions": [{"prefetch": true, "mem_type_64": false, "bar": 0, "size": 
16777216, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": 
false, "bar": 2, "size": 4096, "address": -1, "type": "memory"}, {"prefetch": 
false, "mem_type_64": false, "bar": 6, "size": 65536, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "ehci", "irq": 0, "slot": 4, "class_info": 
{"class": 3075, "desc": "USB controller"}, "id": {"device": 9421, "vendor": 
32902}, "function": 0, "regions": [{"prefetch": false, "mem_type_64": false, 
"bar": 0, "size": 4096, "address": -1, "type": "memory"}]}, {"bus": 0, 
"qdev_id": "nic0", "irq": 0, "slot": 5, "class_info": {"class": 512, "desc": 
"Ethernet controller"}, "id": {"device": 33081, "vendor": 4332}, "function": 0, 
"regions": [{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": 
false, clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x3c8aa8e9558, 
max_idle_ns: 440795275849 ns
"mem_type_64": false, "bar": 1, "size": 256, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "scsi0", "irq": 0, "slot": 6, "class_info": 
{"class": 256, "desc": "SCSI controller"}, "id": {"device": 84, "vendor": 
4096}, "function": 0, "regions": [{"bar": 0, "size": 256, "address": -1, 
"type": "io"}, {"prefetch": false, "mem_type_64": false, "bar": 1, "size": 
16384, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": 
false, "bar": 2, "size": 65536, "address": -1, "type": "memory"}]}, {"bus": 0, 
"qdev_id": "xen-pci-pt_0000-01-00.0", "irq": 0, "slot": 7, "class_info": 
{"class": 0}, "id": {"device": 6912, "vendor": 4318}, "function": 0, "regions": 
[{"prefetch": false, "mem_type_64": false, "bar": 0, "size": 16777216, 
"address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": true, 
"bar": 1, "size": 268435456, "address": -1, "type": "memory"}, {"prefetch": 
false, "mem_type_64": true, "bar": 3, "size": 33554432, "address": -1, "type": 
"memory"}, {"bar": 5, "size": 128, "address": -1, "type": "io"}, {"prefetch": 
true, "mem_type_64": false, "bar": 6, "size": 524288, "address": -1, "type": 
"memory"}]}]}]}

+ '[' -f /tmp/qmp/res/932f9379-dfd2-4172-850e-ed2dfb98f242 ]
+ sleep 0.1
+ '[' -f /tmp/qmp/res/932f9379-dfd2-4172-850e-ed2dfb98f242 ]
+ cat /tmp/qmp/res/932f9379-dfd2-4172-850e-ed2dfb98f242
+ rm /tmp/qmp/res/932f9379-dfd2-4172-850e-ed2dfb98f242
+ slot_func=7,0
+ cut -d , -f 1
+ printf '%s' 7,0
+ slot=7
+ cut -d , -f 2
+ printf '%s' 7,0
+ func=0
+ vdevfn=56
+ printf '0x%02x' 56
+ xenstore-write device-model/15/parameter 0x38
+ xenstore-write device-model/15/state pci-inserted
+ true
+ xenstore-watch -n 2 device-model/15/command
device-model/15/command
pcifront pci-0: Rescanning PCI Frontend Bus 0000:00
pci 0000:00:00.1: [10de:10ef] type 00 class 0x040300
pci 0000:00:00.1: reg 0x10: [mem 0xdf080000-0xdf083fff]
pcifront pci-0: New device on 0000:00:00.1 found.
pcifront pci-0: claiming resource 0000:00:00.1/0
device-model/15/command
+ xenstore-read device-model/15/command
+ cmd=pci-ins
+ '[' pci-ins '!=' pci-ins ]
+ xenstore-read device-model/15/parameter
+ para='0000:01:00.1,msitranslate=0,power_mgmt=0'
+ cut -b 1-12
+ printf '%s' '0000:01:00.1,msitranslate=0,power_mgmt=0'
+ dev=0000:01:00.1
+ tr : -
+ printf '%s' 0000:01:00.1
+ qdev_id=xen-pci-pt_0000-01-00.1
+ '[' pci-ins '=' pci-rem ]
+ xenstore-read device/pci/0/backend
+ be=/local/domain/0/backend/pci/16/0
+ xenstore-read /local/domain/0/backend/pci/16/0/num_devs
+ devs=2
+ dev_n=
+ seq 0 1
+ sed 's/\.0\([0-9]\)$/.\1/'
+ xenstore-read /local/domain/0/backend/pci/16/0/dev-0
+ '[' 0000:01:00.1 '=' 0000:01:00.0 ]
+ sed 's/\.0\([0-9]\)$/.\1/'
+ xenstore-read /local/domain/0/backend/pci/16/0/dev-1
+ '[' 0000:01:00.1 '=' 0000:01:00.1 ]
+ dev_n=1
+ break
+ '[' -z 1 ]
+ xenstore-read /local/domain/0/backend/pci/16/0/vdev-1
+ vdev=0000:00:00.01
+ addr_arg=
+ xenstore-read /local/domain/0/backend/pci/16/0/vdevfn-1
xenstore-read: couldn't read path /local/domain/0/backend/pci/16/0/vdevfn-1
+ true
+ vdevfn=
+ '[' -n  ]
+ permissive=false
+ grep -q '\<permissive=1\>'
+ xenstore-read /local/domain/0/backend/pci/16/0/opts-1
+ cat
+ qmp_req '{"execute": "device_add", "arguments": {"driver": 
"xen-pci-passthrough", "id": "xen-pci-pt_0000-01-00.1", "hostaddr": 
"0000:00:00.01", "machine_addr": "0000:01:00.1", "permissive": false}}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=c79d9b12-10b0-40bc-975a-2e5885a75261'
+ echo '{"execute": "device_add", "arguments": {"driver": 
"xen-pci-passthrough", "id": "xen-pci-pt_0000-01-00.1", "hostaddr": 
"0000:00:00.01", "machine_addr": "0000:01:00.1", "permissive": false}}'
+ mv /tmp/qmp/new-req_c79d9b12-10b0-40bc-975a-2e5885a75261 
/tmp/qmp/req/c79d9b12-10b0-40bc-975a-2e5885a75261
+ '[' -f /tmp/qmp/res/c79d9b12-10b0-40bc-975a-2e5885a75261 ]
+ sleep 0.1
c79d9b12-10b0-40bc-975a-2e5885a75261
[00:08.0] xen_pt_realize: Assigning real physical device 00:00.1 to devfn 0x40
[00:08.0] xen_pt_register_regions: IO region 0 registered (size=0x00004000 
base_addr=0xdf080000 type: 0)
[00:08.0] xen_pt_config_reg_init: Offset 0x0010 mismatch! Emulated=0x0000, 
host=0xdf080000, syncing to 0xdf080000.
[00:08.0] xen_pt_config_reg_init: Offset 0x0062 mismatch! Emulated=0x0000, 
host=0x0003, syncing to 0x0003.
[00:08.0] xen_pt_config_reg_init: Offset 0x006a mismatch! Emulated=0x0000, 
host=0x0080, syncing to 0x0080.
{"execute": "device_add", "arguments": {"driver": "xen-pci-passthrough", "id": 
"xen-pci-pt_0000-01-00.1", "hostaddr": "0000:00:00.01", "machine_addr": 
"0000:01:00.1", "permissive": false}}
[00:08.0] xen_pt_config_reg_init: Offset 0x007c mismatch! Emulated=0x0000, 
host=0x12c8de1, syncing to 0x12c8de1.
[00:08.0] xen_pt_config_reg_init: Offset 0x008a mismatch! Emulated=0x0000, 
host=0x1083, syncing to 0x1083.
[00:08.0] xen_pt_pci_intx: intx=2
[00:08.0] xen_pt_realize: Real physical device 00:00.1 registered successfully
{"return": {}}

+ '[' -f /tmp/qmp/res/c79d9b12-10b0-40bc-975a-2e5885a75261 ]
+ cat /tmp/qmp/res/c79d9b12-10b0-40bc-975a-2e5885a75261
+ rm /tmp/qmp/res/c79d9b12-10b0-40bc-975a-2e5885a75261
+ sed -n '/"qdev_id": "xen-pci-pt_0000-01-00.1"/{s/.*"slot": 
\([0-9]\+\),.*"function": \([0-9]\+\),.*/\1,\2/;p}'
+ sed 's/"qdev_id"/\n\0/g'
+ qmp_req '{"execute": "query-pci"}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=42ea82da-dea6-4a69-83aa-48bfa720a2a0'
+ echo '{"execute": "query-pci"}'
+ mv /tmp/qmp/new-req_42ea82da-dea6-4a69-83aa-48bfa720a2a0 
/tmp/qmp/req/42ea82da-dea6-4a69-83aa-48bfa720a2a0
+ '[' -f /tmp/qmp/res/42ea82da-dea6-4a69-83aa-48bfa720a2a0 ]
+ sleep 0.1
42ea82da-dea6-4a69-83aa-48bfa720a2a0
{"execute": "query-pci"}
{"return": [{"bus": 0, "devices": [{"bus": 0, "qdev_id": "", "slot": 0, 
"class_info": {"class": 1536, "desc": "Host bridge"}, "id": {"device": 4663, 
"vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, "qdev_id": "", 
"slot": 1, "class_info": {"class": 1537, "desc": "ISA bridge"}, "id": 
{"device": 28672, "vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, 
"qdev_id": "", "slot": 1, "class_info": {"class": 257, "desc": "IDE 
controller"}, "id": {"device": 28688, "vendor": 32902}, "function": 1, 
"regions": [{"bar": 4, "size": 16, "address": -1, "type": "io"}]}, {"bus": 0, 
"qdev_id": "", "irq": 0, "slot": 1, "class_info": {"class": 1664, "desc": 
"Bridge"}, "id": {"device": 28947, "vendor": 32902}, "function": 3, "regions": 
[]}, {"bus": 0, "qdev_id": "", "irq": 0, "slot": 2, "class_info": {"class": 
65408}, "id": {"device": 1, "vendor": 22611}, "function": 0, "regions": 
[{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": true, 
"mem_type_64": false, "bar": 1, "size": 16777216, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "", "slot": 3, "class_info": {"class": 768, 
"desc": "VGA controller"}, "id": {"device": 4369, "vendor": 4660}, "function": 
0, "regions": [{"prefetch": true, "mem_type_64": false, "bar": 0, "size": 
16777216, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": 
false, "bar": 2, "size": 4096, "address": -1, "type": "memory"}, {"prefetch": 
false, "mem_type_64": false, "bar": 6, "size": 65536, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "ehci", "irq": 0, "slot": 4, "class_info": 
{"class": 3075, "desc": "USB controller"}, "id": {"device": 9421, "vendor": 
32902}, "function": 0, "regions": [{"prefetch": false, "mem_type_64": false, 
"bar": 0, "size": 4096, "address": -1, "type": "memory"}]}, {"bus": 0, 
"qdev_id": "nic0", "irq": 0, "slot": 5, "class_info": {"class": 512, "desc": 
"Ethernet controller"}, "id": {"device": 33081, "vendor": 4332}, "function": 0, 
"regions": [{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": 
false, "mem_type_64": false, "bar": 1, "size": 256, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "scsi0", "irq": 0, "slot": 6, "class_info": 
{"class": 256, "desc": "SCSI controller"}, "id": {"device": 84, "vendor": 
4096}, "function": 0, "regions": [{"bar": 0, "size": 256, "address": -1, 
"type": "io"}, {"prefetch": false, "mem_type_64": false, "bar": 1, "size": 
16384, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": 
false, "bar": 2, "size": 65536, "address": -1, "type": "memory"}]}, {"bus": 0, 
"qdev_id": "xen-pci-pt_0000-01-00.0", "irq": 0, "slot": 7, "class_info": 
{"class": 0}, "id": {"device": 6912, "vendor": 4318}, "function": 0, "regions": 
[{"prefetch": false, "mem_type_64": false, "bar": 0, "size": 16777216, 
"address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": true, 
"bar": 1, "size": 268435456, "address": -1, "type": "memory"}, {"prefetch": 
false, "mem_type_64": true, "bar": 3, "size": 33554432, "address": -1, "type": 
"memory"}, {"bar": 5, "size": 128, "address": -1, "type": "io"}, {"prefetch": 
true, "mem_type_64": false, "bar": 6, "size": 524288, "address": -1, "type": 
"memory"}]}, {"bus": 0, "qdev_id": "xen-pci-pt_0000-01-00.1", "irq": 0, "slot": 
8, "class_info": {"class": 0}, "id": {"device": 4335, "vendor": 4318}, 
"function": 0, "regions": [{"prefetch": false, "mem_type_64": false, "bar": 0, 
"size": 16384, "address": -1, "type": "memory"}]}]}]}

+ '[' -f /tmp/qmp/res/42ea82da-dea6-4a69-83aa-48bfa720a2a0 ]
+ sleep 0.1
+ '[' -f /tmp/qmp/res/42ea82da-dea6-4a69-83aa-48bfa720a2a0 ]
+ cat /tmp/qmp/res/42ea82da-dea6-4a69-83aa-48bfa720a2a0
+ rm /tmp/qmp/res/42ea82da-dea6-4a69-83aa-48bfa720a2a0
+ slot_func=8,0
+ cut -d , -f 1
+ printf '%s' 8,0
+ slot=8
+ cut -d , -f 2
+ printf '%s' 8,0
+ func=0
+ vdevfn=64
+ printf '0x%02x' 64
+ xenstore-write device-model/15/parameter 0x40
+ xenstore-write device-model/15/state pci-inserted
+ true
+ xenstore-watch -n 2 device-model/15/command
device-model/15/command
qubes_gui/init[650]: got xorg conf, creating window
qubes_gui/init: 660
dumping mfns: n=301, w=640, h=480
configure msg, x/y 640 325 (was 0 0), w/h 640 480
qemu: pin_memory_cacheattr failed: Operation not permitted
dumping mfns: n=282, w=720, h=400
configure msg, x/y 640 325 (was 640 325), w/h 640 480
random: crng init done
dumping mfns: n=769, w=1024, h=768
configure msg, x/y 640 325 (was 640 325), w/h 720 400
dumping mfns: n=301, w=640, h=480
configure msg, x/y 640 325 (was 640 325), w/h 1024 768
Issued domain 15 reboot
pcifront pci-0: Rescanning PCI Frontend Bus 0000:00
pcifront pci-0: Rescanning PCI Frontend Bus 0000:00

Reply via email to