<div>hi,</div><div>    I use spice for remote view, I want to captures the guest video output, encodes it and send through, so I choose streaming agent, how to build and run it is not clear, can you help me?</div><div><br></div><div>1.host environment and Software version:</div><div>centOS(Mini install)</div><div>GVT-g kernel:      https://github.com/intel/gvt-linux/  (branch: topic/dmabuf)</div><div>QEMU:              https://github.com/intel/igvtg-qemu  (branch: qa/dma_buf)</div><div>streming agent:    https://gitlab.com/spice/spice-streaming-agent    </div><div>spice-server       version:0.13.3</div><div>spice-protocol     version:0.12.12</div><div><br></div><div>2.build info</div><div>kernel:</div><div>make -j 8</div><div>make modules_install && make install</div><div>reboot</div><div><br></div><div>qemu:</div><div>./configure --prefix=/usr --enable-kvm --disable-xen --enable-debug-info --enable-debug --enable-sdl --enable-vhost-net --enable-spice --disable-debug-tcg --enable-numa --enable-libusb --enable-curl --enable-usb-redir --enable-linux-aio --target-list=x86_64-softmmu --enable-gtk --with-gtkabi=3.0</div><div>make -j 8</div><div>cd roms/seabios</div><div>make -j 8</div><div>cd -</div><div>make install</div><div>cp roms/seabios/out/bios.bin /usr/bin/bios.bin</div><div><br></div><div>spice-protocol:</div><div>./configure --prefix=/usr</div><div>make -j 8</div><div>make install</div><div><br></div><div>spice-service:</div><div>./configure  --prefix=/usr --enable-manual=no --disable-silent-rules --disable-smartcard --disable-celt051 --enable-client CFLAGS="-g -O0" CXXFLAGS="-g -O0"</div><div>make -j 8</div><div>make install</div><div><br></div><div>streming agent</div><div>./autogen.sh</div><div>make -j 8</div><div>make install</div><div><br></div><div>3.run qemu</div><div>/usr/bin/qemu-system-x86_64 \</div><div>-m 8192 \</div><div>-smp 4,sockets=1,cores=4,threads=1 \</div><div>-M pc \</div><div>-name win71 \</div><div>-hda /Image/vm/win7_base.img \</div><div>-bios /usr/bin/bios.bin -enable-kvm \</div><div>-k en-us \</div><div>-vga none \</div><div>-display egl-headless \</div><div>-spice disable-ticketing,port=6901,streaming-video=off \</div><div>-machine kernel_irqchip=on,usb=on \</div><div>-global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 \</div><div>-cpu host -device usb-tablet \</div><div>-device vfio-pci,sysfsdev=/sys/bus/pci/devices/0000:00:02.0/5b8d581a-2dc9-11e8-8238-000906258002,x-display=on,x-igd-opregion=on</div><div>-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel1,id=channel1,name=org.spice-space.stream.0 -chardev spiceport,name=org.spice-space.stream.0,id=charchannel1</div><div><br></div><div>questions:</div><div>I am not clear How to use streaming agent and validate it, can you help me?</div><div><br></div><div>thank you!</div><div><includetail><!--<![endif]--></includetail></div>