What's a good source to learn about QEMU? - emulation

What book or website would you recommend to learn about QEMU? I'd like to see some usage examples as well as how to use the APIs.

Best Resources:
Main QEMU Usage Documentation
Qemu Man Page - Invaluable resource when working with qemu.
Quick Start Guide - Slightly ubuntu/debian specific. Covers KVM.
Qemu Networking Guide - Great resource, super useful.
Have fun qemu's a great tool.

Some additional resources to understand and get started with the source code:
http://vmsplice.net/~stefan/qemu-code-overview.pdf
https://wiki.aalto.fi/download/attachments/41747647/qemu.pdf
https://www.usenix.org/legacy/event/usenix05/tech/freenix/full_papers/bellard/bellard.pdf
http://www.ece.cmu.edu/~ee349/f-2012/lab2/qemu.pdf
http://events.linuxfoundation.org/sites/events/files/slides/cloudopen-liguori.pdf

Detailed technical info:
http://www.csd.uoc.gr/~hy428/reading/qemu-internals-slides-may6-2014.pdf
http://lists.gnu.org/archive/html/qemu-devel/2011-04/pdfhC5rVdz7U8.pdf
I was not able to find the other chapters
http://connect.ed-diamond.com/GNU-Linux-Magazine/GLMF-147/Qemu-Visite-au-caeur-de-l-emulateur (French only unfortunately)

Related

ipsec open source for linux

What are the open source available for ipsec in linux today.
I came across 1 (strongswan), but I am very new to this. Please suggest me which is the best available one and scalable.
if you look into kernel, you may find it.
For example, there is a ipsec.h under
/include/uapi/linux/
I am not an expert of kernel. Just a clue
I think the document of strongswan is a good start point to understand IPSec. but the source code of strongswan is not friendly enough for learning IPsec implementation.
I would recommend you start from the source code of ip, part of iproute2 utility of GNU tools.

Xenomai resources

I have just started to familiarize myself with Linux, and I was wondering if you guys could help me find good resources (easy enough to understand) with instructions on running Xenomai with Linux.
Thanks
How about this one? It's up-to-date course material for a course called Design of Embedded Systems (DES) by a Dutch University and I found it always helpful to get started (e.g. by following the exercises). ;)

Make an usb video grabber driver

I have buy an usb video grabber on ebay but I haven't received an official device, it's a fake, and this one is the only one fake not supported by Linux. I would like to write the linux driver, but I have no knowledge on driver dev. Where can I find tutorial for driver dev learning on linux?
The device is an easycap dc60++, identified as fushicai usbtv007. More details here : http://linuxtv.org/wiki/index.php/Easycap#Known_Easycap_devices
It works on win7, so I can easily sniff usb protocol.
Thanks you in advance
IMHO, the best way to learn how to develop drivers for the kernel is to take an existing driver (best if it's from mainline) that is similar to what you want and look at how they're doing it. For function references, head to your favourite LXR site and search it up.
You could look up Linux driver development on Google and find some tutorials but I wouldn't recommend it for anything other than to get started since they're likely to be outdated or use deprecated kernel APIs.
Otherwise, there's always libusb if you don't want to get into the world of kernel driver development.
Good luck.
I made an experimental userspace driver for this device:
https://github.com/memeruiz/usbtv007
Hopefully somebody (or me) will take this and make a proper kernel driver for it.
I've made a driver for the device in question (https://lkml.org/lkml/2013/6/10/381). There's a big space for improvement and I'd be very glad if you could get involved.
The following documentation is helpful:
Linux Device Driver, third edition, book.
PDFs: http://lwn.net/Kernel/LDD3/
epub: http://v3.sk/~lkundrak/ldd3/
Video4Linux2 API: http://lwn.net/Articles/203924/
Videobuf2 API: http://lwn.net/Articles/447435/
When it comes to a good example, have a look at the drivers/media/usb tree, particularly the stk1160 driver.
I didn't yet have a look at Federico Ruiz's libusb driver for the device, but it seems he mostly figured out the same things as I did about the hardware. I suggest you take a look at it though, as I'll certainly do.
Also, linux-media list is probably a better place to ask questions like this. I've got here mostly by accident and there certainly are much more capable people on the list.
Have a great day!

DirectX Architecture Resources

Can anybody please please post links to DX Driver architecture which covers topics like block manager etc etc. Hell lot of google search but i am not satisfied with what i get from google. nvidia specific resources preferred.
MSDN also seems to focus on DX APIs only. It dont curse them as they don't control the drivers.
I'm not sure, but may be "A trip through the Graphics Pipeline 2011" will be useful for you...?
I believe, that some aspects of "D3D/OpenGL graphics pipelines as actually implemented by GPUs" can give you a hits of what to search to retrieve more actual information about drivers.
Here are some links that might help you understand DX driver architecture:
How do libraries such as DirectX relate to drivers?
Direct3D device driver development on Windows (A thread in GameDev Forum)
What is the Architecture behind DirectX?
DirectX FAQ on programmers Heaven
Windows driver API basics
WDM I/O Concepts
I hope that helped!

Architecture/Block diagram of basic Emulator

I want to understand working of basic Emulator.
Could you please provide me some basics (general architecture / block diagram) of general emulator.
OR any links for the same.
If you can suggest some white paper published for the same then it will be helpful.
Thanks
PJ
Virtual Machines: Versatile Platforms for Systems and Processes might work as a starting point.

Resources