aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu/vl.c
Commit message (Collapse)AuthorAgeFilesLines
...
* ptsname() is applied to the master fd, not the slave fd.kaf24@firebug.cl.cam.ac.uk2005-12-011-2/+2
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix serial pty creation in qemu-dm. Set raw attributes tokaf24@firebug.cl.cam.ac.uk2005-11-301-7/+10
| | | | | | | | | | avoid weird buffering behaviour and obtain the pty name via ptsname(). Signed-off-by: Ping Yu <ping.y.yu@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Clean up some Xen files in the ioemulator.kaf24@firebug.cl.cam.ac.uk2005-11-241-228/+244
| | | | | | | | | | 1) fix indent 2) use fprintf(logfile, ...) instead of perror and printf 3) remove tailing spaces Signed-off-by: Xin Li <xin.b.li@intel.com>
* Set up fully-virtualised RTC time zone default to localkaf24@firebug.cl.cam.ac.uk2005-11-181-1/+1
| | | | | | | | time (not UTC). Signed-off-by: Winston Wang <winston.l.wang@intel.com>
* This patch use same expression as vif for vmx guest but has a distinguish ↵Xiaofeng Ling2005-11-101-1/+9
| | | | | | | | | | | | | | | | | | "type=ioemu" just like block device. e.g. vif=['type=ioemu, mac=01:00:00:00:00:33, bridge=xenbr0'] type=ioemu to specify for vmx NIC device. nics=4 can specify 4 vmx NIC now. bridge is passed to device model now. With this patch, the error "Error: Device 0 (vif) could not be connected." will not happen for creating vmx guest currently, it happens on some linux distribution. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Enable xm console for vmx guest.kaf24@firebug.cl.cam.ac.uk2005-11-101-1/+47
| | | | | | | | | | | When the serial port is redirect to pty, write the allocated device to xenstore, then xm console can get it. TODO:serial port by pty shall not block if there are no reading on the other end Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
* Support recent change moving virtual IOAPIC model into Xen forkaf24@firebug.cl.cam.ac.uk2005-11-091-2/+2
| | | | | | | | | | | | | | | | | | | | | ia64/VTI. Now ia64/vti will create links to arch/x86/dm/vmx_vioapic.c and include/x86/vmx_vlapic.h. Firstly, a small change to common virtual IOAPIC model to be used by both sides. Also some compilation fix to tools is included in first one. Secondly, there are ia64-specific changes to hook to common IOAPIC model. Based on this patch upon latest xen-ia64-unstable tip, we can see multiple domains working again on XEN/IA64, including both domU and VTI domain simultaneously in run-time. Signed-off-by Kevin Tian <kevin.tian@intel.com> Signed-off-by Anthony Xu <Anthony.xu@intel.com> Signed-off-by Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by Eddie Dong <eddie.dong@intel.com>
* This patch is intended to make qemu support ia64/vti. We have validatedkaf24@firebug.cl.cam.ac.uk2005-11-051-3/+44
| | | | | | | | | | | | it against latest xen-unstable.hg, both ia32 and x86-64 are not affected. Signed-off-by Ke Yu <ke.yu@intel.com> Signed-off-by Kevin Tian <kevin.tian@intel.com> Signed-off-by Nakajima Jun <nakajima.jun@intel.com> Signed-off-by Anthony Xu <anthony.xu@intel.com>
* This patch is to fix the NIC driven mechanism to make it eventkaf24@firebug.cl.cam.ac.uk2005-10-301-1/+62
| | | | | | | | driven. We will also send it to Qemu mailing list. Signed-off-by: Eddie Dong <eddie.dong@intel.com>
* Add a option for enabling ne2000 NIC device modelkaf24@firebug.cl.cam.ac.uk2005-10-121-6/+6
| | | | | | | | Signed-off-by: Yan Li <yanx.li@intel.com> Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
* Fix Xen public interfaces and the tools to consistentlykaf24@firebug.cl.cam.ac.uk2005-10-121-3/+3
| | | | | | | | use stdint-format bitsize types (uint32_t and friends). Signed-off-by: Keir Fraser <keir@xensource.com>
* Big simplification of the Xen event-channel interface.kaf24@firebug.cl.cam.ac.uk2005-10-071-1/+1
| | | | | | | | EVTCHNOP_bind_interdomain in particular is much simpler. Signed-off-by: Keir Fraser <keir@xensource.com>
* Change how event channels are allocated and used by the controlkaf24@firebug.cl.cam.ac.uk2005-10-061-3/+3
| | | | | | | | | | | | | | tools. /dev/xen/evtchn is now used by daemons to connect to remote domains: the advantage is that the local ports are garbage collected automatically if the daemon dies. xen no longer constructs end-to-end event-channel port pairs -- it allocates an unbound port in new domU and writes that port to xenstore. It is then picked up by teh appropriate daemon which does interdomain bind via /dev/xen/evtchn. Signed-off-by: Keir Fraser <keir@xensource.com>
* Initialize pointer array for set mapping.yjiang5@vtsmp-build.sh.intel.com2005-09-281-1/+2
| | | | | | Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
* Add VGA acceleration support for cirrus logic device modelkaf24@firebug.cl.cam.ac.uk2005-09-231-7/+240
| | | | | | | | Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
* Parse vcpus for VMX guest.kaf24@firebug.cl.cam.ac.uk2005-09-211-0/+7
| | | | | | | | | | Vcpus are passed to device model and vmx domain builder. Signed-off-by: Yan Li <yanx.li@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com>
* Attached are the patches for new ioemu communication mechanism. The newkaf24@firebug.cl.cam.ac.uk2005-09-021-0/+5
| | | | | | | | | | | | mechanism provides richer I/O operation semantics, such as and,or,xor operation on MMIO space. This is necessary for operating systems such as Windows XP and Windows 2003. This is the first part of a two part patch. This patch applies to ioemu. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
* Merge.adsharma@los-vmm.sc.intel.com2005-08-251-1/+1
|\
| * Rename libxc => libxenctrl and xc.h => xen/xenctrl.hcl349@firebug.cl.cam.ac.uk2005-08-241-1/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : tools/libxc/xc.h => tools/libxc/xenctrl.h
| * Support rebooting VMX domainskaf24@firebug.cl.cam.ac.uk2005-08-111-1/+1
| | | | | | | | | | | | | | Signed-off-by: Ke Yu <ke.yu@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | PCNET NIC card support for qemuadsharma@los-vmm.sc.intel.com2005-08-161-0/+7
| | | | | | | | | | | | | | | | | | | | Based on: http://cyberkinetica.homeunix.net/qemu/qemu-pcnet.patch6.gz Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | Support rebooting VMX domainsadsharma@los-vmm.sc.intel.com2005-08-091-1/+1
|/ | | | | | | Signed-off-by: Ke Yu <ke.yu@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1773 (42c3a841nLib9kdSmthr05jouqiNeg)arun.sharma@intel.com[kaf24]2005-06-301-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] Device model cleanup. Device model cleanup. - Single config file for xen and device models (Shell script doesn't source xmdefconfig anymore) - No more device-model shell script by default. You can have one if needed (qemu-dm.debug) - All logic in the script device-model is moved to python - $DISPLAY is passed from xm to xend - Don't fork vncviewer on dryruns - Add support for killing device models on domain destroy - info vmxiopage command added to the monitor - Refactor shared io page into global and per vcpu state - Remove the hard coding of IOPACKET_PORT - move the virtual_platform_def up to domain struct from vcpu - xm create -n: (vm (name ExampleVMXDomain) (memory 128) (ssidref -1) (image (vmx (kernel /usr/lib/xen/boot/vmxloader) (root '/dev/hda1 ro') (vcpus 1) ) ) (memmap ) (device_model /tmp/foo) (hda /var/images/min-el3-i386.img) (hdb ) (hdc ) (hdd ) (cdrom ) (boot c) (fda ) (fdb ) (localtime 0) (serial ) (macaddr ) (stdvga 0) (isa 0) (nographic 0) (vnc 0) (sdl 0) (display localhost:10.0) ) Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* bitkeeper revision 1.1515.1.1 (42922641RfGxKY5iamyIb3lRFjlpzQ)rneugeba@wyvis.research.intel-research.net2005-05-231-4/+26
| | | | | | | | | better support for vnc in qemu device model: - different ports for different VMs - allow reverse connect to a running viewer Signed-off-by: Rolf Neugebauer <rolf.neugebauer@intel.com>
* bitkeeper revision 1.1476 (428d0d8esmCTqdrDnpEQ1XlfV6CWGg)kaf24@firebug.cl.cam.ac.uk2005-05-191-0/+2978
New qemu-based ioemu for fully virtualised guests. Signed-off-by: Arun Sharma <arun.sharma@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>