- 浏览: 1320931 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (351)
- Java General (37)
- .net General (2)
- Linux Toy (55)
- Oracle (81)
- Mysql (11)
- Programer Career (12)
- Oh, my living ! (2)
- Shell Script (8)
- Web Service (0)
- Linux Server (22)
- Php/Python/Perl (3P) (2)
- Javascript General (5)
- Saleforce Apex Dev (2)
- Web General (5)
- Xen & VM tech. (17)
- PSP (13)
- OpenSolaris (34)
- php (1)
- RAI/flex/action script (16)
- asterisk/CTI (7)
- 交互设计 (6)
- English (3)
- Lucene (1)
最新评论
-
GuolinLee:
markmark
JVM调优总结 -Xms -Xmx -Xmn -Xss -
di1984HIT:
写的太好啊。
JVM调优总结 -Xms -Xmx -Xmn -Xss -
javajdbc:
javajdbc 写道
JVM调优总结 -Xms -Xmx -Xmn -Xss -
javajdbc:
...
JVM调优总结 -Xms -Xmx -Xmn -Xss -
alvin198761:
非常感谢,国外的被封杀了,你这里还有一份
How to Convert An Image-Based Guest To An LVM-Based Guest
<script type="text/javascript"> /*<![CDATA[*/ if(top.location != self.location){ top.location = self.location; } var myref = encodeURI("http://hi.baidu.com/dereklouie/blog/item/85323fd0245cb08aa0ec9c1f%2Ehtml"); /*]]>*/ </script> /*<![CDATA[*/ #usrbar{padding:4px 10px 3px 0;font-size:12px;height:19px;line-height:19px;color:#000000;font-family:Arial;text-align:right;background:#ffffff;filter:alpha(opacity=65);-moz-opacity:0.5;width:auto !important;width:100%;letter-spacing:normal} #usrbar a,#usrbar a:link,#usrbar a:visited{color:#0000CC;text-decoration:underline} #ft{clear:both;height:20px;line-height:20px;color:#666666;font-size:12px;font-family:Arial;text-align:center} #ft a,#ft a:link,#ft a:visited{color:#7777CC;text-decoration:underline} #usrbar,#usrbar a,#usrbar a:link,#usrbar a:visited,#ft,#ft a,#ft a:link,#ft a:visited{letter-spacing:normal} /*]]>*/
查看文章
|
USB options: Network options: i82551
, i82557b
, i82559er
, ne2k_pci
, ne2k_isa
, pcnet
, rtl8139
, smc91c111
, lance
and mcf_fec
. Not all devices are supported on all targets. Use -net nic,model=? for a list of available devices for your target. qemu linux.img -net nic -net tapMore complicated example (two NICs, each one connected to a TAP device) qemu linux.img -net nic,vlan=0 -net tap,vlan=0,ifname=tap0 \ -net nic,vlan=1 -net tap,vlan=1,ifname=tap1 # launch a first QEMU instance qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \ -net socket,listen=:1234 # connect the VLAN 0 of this instance to the VLAN 0 # of the first instance qemu linux.img -net nic,macaddr=52:54:00:12:34:57 \ -net socket,connect=127.0.0.1:1234
# launch one QEMU instance qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \ -net socket,mcast=230.0.0.1:1234 # launch another QEMU instance on same "bus" qemu linux.img -net nic,macaddr=52:54:00:12:34:57 \ -net socket,mcast=230.0.0.1:1234 # launch yet another QEMU instance on same "bus" qemu linux.img -net nic,macaddr=52:54:00:12:34:58 \ -net socket,mcast=230.0.0.1:1234Example (User Mode Linux compat.): # launch QEMU instance (note mcast address selected # is UML's default) qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \ -net socket,mcast=239.192.168.1:1102 # launch UML /path/to/linux ubd0=/path/to/root_fs eth0=mcast bin
of the Unix TFTP client). The host IP address on the guest is as usual 10.0.2.2. qemu -hda linux.img -boot n -tftp /path/to/tftp/files -bootp /pxelinux.0 10.0.2.4 smbservermust be added in the file `C:\WINDOWS\LMHOSTS' (for windows 9x/Me) or `C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS' (Windows NT/2000). Then `dir ' can be accessed in `\\smbserver\qemu' . Note that a SAMBA server must be installed on the host OS in `/usr/sbin/smbd' . QEMU was tested successfully with smbd version 2.2.7a from the Red Hat 9 and version 3.0.10-1.fc3 from Fedora Core 3. # on the host qemu -redir tcp:6001::6000 [...] # this host xterm should open in the guest X11 server xterm -display :1To redirect telnet connections from host port 5555 to telnet port on the guest, use the following: # on the host qemu -redir tcp:5555::23 [...] telnet localhost 5555Then when you use on the host telnet localhost 5555
, you connect to the guest telnet server. Linux boot specific: When using these options, you can use a given Linux kernel without installing it in the disk image. It can be useful for easier testing of various kernels. Debug/Expert options: vc
in graphical mode and stdio
in non graphical mode. This option can be used several times to simulate up to 4 serials ports. Use -serial none
to disable all serial ports. Available character devices are: vc[:WxH]
vc:800x600It is also possible to specify width or height in characters: vc:80Cx24C pty
none
null
/dev/XXX
/dev/parportN
file:filename
stdio
pipe:filename
COMn
udp:[remote_host
]:remote_port
[@[src_ip
]:src_port
]
0.0.0.0
. When not using a specified src_port
a random port is automatically chosen. If you just want a simple readonly console you can use netcat
or nc
, by starting qemu with: -serial udp::4555
and nc as: nc -u -l -p 4555
.
Any time qemu writes something to that port it will appear in the
netconsole session. If you plan to send characters back via netconsole
or you want to stop and start qemu a lot of times, you should have qemu
use the same source port each time by using something like -serial udp::4555@:4556
to qemu. Another approach is to use a patched version of netcat which
can listen to a TCP port and send and receive characters via udp. If
you have a patched version of netcat which activates telnet remote echo
and single char transfer, then you can use the following options to
step up a netcat redirector to allow telnet on port 5555 to access the
qemu port. Qemu Options:
netcat options:
telnet options:
tcp:[host
]:port
[,server
][,nowait][,nodelay]
nowait
option was specified. The nodelay
option disables the Nagle buffering algorithm. If host
is omitted, 0.0.0.0 is assumed. Only one TCP connection at a time is accepted. You can use telnet
to connect to the corresponding character device. Example to send tcp console to 192.168.0.2 port 4444
Example to listen and wait on port 4444 for connection
Example to not wait and listen on ip 192.168.0.100 port 4444
telnet:host
:port
[,server][,nowait][,nodelay]
-serial tcp
.
The difference is that the port acts like a telnet server or client
using telnet option negotiation. This will also allow you to send the
MAGIC_SYSRQ sequence if you use a telnet that supports sending the
break sequence. Typically in unix telnet you do it with Control-] and
then type "send break" followed by pressing the enter key. unix:path
[,server][,nowait]
-serial tcp
except the unix domain socket path
is used for connections. mon:dev_string
-serial mon:telnet::4444,server,nowait
-parallel none
to disable all parallel ports. vc
in graphical mode and stdio
in non graphical mode. 0x01
when using the -nographic
option. 0x01
is equal to pressing Control-a
.
You can select a different character from the ascii control keys where
1 through 26 map to Control-a through Control-z. For instance you could
use the either of the following to change the escape character to
Control-t. -echr 0x14
-echr 20
loadvm
in monitor) 3.4 KeysDuring the graphical emulation, you can use the following keys: In the virtual consoles, you can use Ctrl-Up , Ctrl-Down , Ctrl-PageUp and Ctrl-PageDown to move in the back log. During emulation, if you are using the `-nographic' option, use Ctrl-a h to get terminal commands: 3.5 QEMU MonitorThe QEMU monitor is used to give complex commands to the QEMU emulator. You can use it to:
3.5.1 CommandsThe following commands are available: (qemu) change cdrom /path/to/some.iso (qemu) change vnc localhost:1 (qemu) change vnc password Password: ******** info mice
info capture h
or w
can be specified with the i
format to respectively select 16 or 32 bit code instruction size.
-
to press several keys simultaneously. Example:
sendkey ctrl-alt-f1This command is useful to send keys that your graphical user interface intercepts at low level, such as ctrl-alt-f1
in X Window. bus.addr
. Use the monitor command info usb
to see the devices you can remove. 3.5.2 Integer expressionsThe monitor understands integers expressions for every integer argument. You can use register names to get the value of specifics CPU registers by prefixing them with $ . |
登录 后,您就出现在这里。 | ||
姓 名: |
<script>
document.write(" <a href='http://passport.baidu.com/?reg&tpl=sp&return_method=get&skip_ok=1&u=http://hi.baidu.com/sys/reg/' target='_blank'>注册</a>");
document.write(" | <a href='http://passport.baidu.com/?login&tpl=sp&tpl_reg=sp&u="+myref+"'>登录</a>");
</script>
注册
| 登录
*姓名最长为50字节
|
网址或邮箱: | (选填) |
内 容: | <script> G("spBlogCmtor").value=G("spBlogCmtor").defaultValue; G("spBlogCmtText").value=""; </script> |
验证码: |
<script type="text/javascript"> /*<![CDATA[*/ var imgsrc="http://hiup.baidu.com/cgi-bin/genimg?1941CC86BD37265992C639E4BD2F647291326A2EBEECC8F68765094CCC239C31E30379BEB494A75B9B735F908F1104D1835D19A71EA96F5EFF1528DA8D122C5F"; function f_focus(){ if(G('yanzheng').style.display=="none" ){ G('verifypic').src=imgsrc; G('yanzheng').style.display="block"; } } function newverifypic(){ G("verifypic").src = imgsrc +"&t="+ Math.random(); return false; } /*]]>*/ </script> |
发表评论
-
Debootstrap Intrepid Server PV DomU at Xen 3.3.1 CentOS 5.2 Dom0 (all 64-bit)
2010-04-11 14:20 1904January 7, 2009 As appears ... -
Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu Ka
2010-04-11 12:06 3287Virt-install&Virt-manager a ... -
Set up Xen 3.4.3 Dom0 via xenified 2.6.31.12 kernel on top of Ubuntu 9.10 Server
2010-04-11 12:03 2401Set up Xen 3.4.3 Dom0 via xenif ... -
在 Xen 下运行 Openfiler
2010-04-05 15:26 23752010年04月5日 | 标签: ope ... -
让 Xen dom0 得到足够 CPU 处理 IO
2010-04-04 09:34 3255让 Xen dom0 得到足够 CPU 处理 IO ... -
在 Ubuntu 上安装和配置 Xen
2010-04-04 09:19 5797在 Ubuntu 上安装和配置 Xen ... -
在 CentOS 上安装和配置 Xen
2010-04-04 09:17 2457在 CentOS 上安装和配置 Xen 2 ... -
在 OpenSolaris 上安装和配置 Xen
2010-04-04 09:16 1625在 OpenSolaris 上安装和配置 Xen ... -
看中了一个vps
2010-04-04 09:11 2267http://www.vpsee.com/vps-plans/ ... -
OpenSolaris 2008.11 Paravirtualized domU on Xen 3.1.2
2009-11-21 21:57 1585By Tait Clarridgeon February ... -
centos xen rpm repo
2009-11-12 21:48 2147一位xen 虚拟化技术的支持者一直在维护的..... ... -
How to Convert An Image-Based Guest To An LVM-Based Guest
2009-11-01 17:42 2869Xen: How to Convert An Image-Ba ... -
ubuntu 8.04 KVM 中更换 cdrom iso文件
2008-07-05 19:59 25461. 启动kvm后,进入 monitor 模式 alt+ctl ... -
在VirtualBox中如何利用NAT使guest 访问host及访问其他host
2008-05-25 09:22 3844需要软件包 uml-utilit ... -
体验Windows Server 2008 RC0的虚拟化技术
2008-04-30 12:47 13622007-10-11 10:20:19 版权声明: ... -
install opensolaris domU on linux dom0
2008-03-16 08:23 1726IntroductionWith a Solaris dom0 ...
相关推荐
一、 虚拟化简介 二、 硬件虚拟化确认 三、 系统优化 四、 通KVM虚拟化包部署 1、 关闭防火墙和selinux 1.1关闭防火墙 1.2关闭selinux ...2.5允许没有根的QEMU/KVM命令 3、 安装Virtual Manager图形实用程序
3:注册 docker run --rm --privileged multiarch/qemu-user-static:register --reset 4:测试 docker run --rm -t -v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static arm64v8/ubuntu:18.04 uname -m ...
qemu-user-static multiarch / qemu-user-static用于通过QEMU [1]和binfmt_misc [2]来执行不同的多体系结构容器。 以下是Docker [3]的示例。 入门 $ uname -m x86_64 $ docker run --rm -t arm64v8/ubuntu uname -...
一、虚拟化简介 二、硬件虚拟化确认 ...6、 检查KVM / QEMU是否正常运行 7、 查看kvm模块是否加载 8、 确认KVM/QEMU组件 4、在libvirt目录中检查所有配置文件 介绍几个重要的配置文件 9、 查看KVM版信息
QEMU (Quick Emulator) 是一个通用、开源的机器模拟器,可以运行在多种CPU平台上,它不仅提供了硬件仿真,还通过KVM模块加速了虚拟机的性能。两者结合使用时,QEMU作为前端,负责用户交互和虚拟机管理;KVM作为后端...
QEMU(Quick Emulator)则是一个通用的机器模拟器,它可以模拟各种处理器架构,与KVM结合使用,可以提供高效的虚拟化解决方案。OVS(Open vSwitch)是一款开源的、多层虚拟交换机,广泛应用于云计算环境,提供了强大...
Qemu-KVM 详细教程 作为一款开源的虚拟机软件,Qemu-KVM 广受欢迎,尤其是在 Linux 平台上。KVM(Kernel-based Virtual Machine)是一款基于内核的虚拟机,需要 CPU 支持虚拟化技术,并且在 BIOS 里打开虚拟化选项...
本项目为基于Docker、Qemu和Bochs构建的Linux 0.11内核开发环境源码设计,总计包含150个文件,其中包括50个C源文件、33个头文件、8个汇编文件、7个Git忽略文件、6个脚本文件、4个xz压缩文件、3个Markdown文件、3个...
【KVM与QEMU基本知识】 KVM,全称为Kernel-based Virtual Machine,是一款开源的虚拟化解决方案,专门针对x86架构的系统设计,要求硬件支持虚拟化技术,如Intel的VT或AMD的AMD-V技术。KVM是Linux内核的一部分,通过...
Linux 内核实验室 —— 基于 Docker/Qemu 的极速 Linux 内核学习、开发和测试环境
基于KVM_QEMU与Libvirt的虚拟化资源池构建,
Linux 内核实验室 —— 基于 Docker/Qemu 的极速 Linux 内核学习、开发和测试环境。社区制作了多款免安装的随身Linux Lab系统盘,某宝检索”泰晓 Linux"快速体验
云计算容易混淆的概念详解 ...本文对云计算容易混淆的概念进行了详细的解释,涵盖了 IaaS、PaaS、SaaS、Kubernetes、微服务、OpenStack、华为云、KVM/QEMU/qemu-kvm/libvirt 等概念,希望对读者有所帮助。
Qemu KVM and Libvirt Qemu KVM 和 Libvirt 是虚拟化领域中的三个重要概念,分别是虚拟机监控器、内核模块和虚拟机管理工具。本文将对这三个概念进行解析,并探讨它们之间的关系。 虚拟化的基本类型 虚拟化可以...
【标题】"基于 Docker/Qemu/Bochs 的极速 Linux 0.11 内核学习和开发环境" 提供了一种高效的学习和研究早期 Linux 内核版本的方法。这个环境利用了三种强大的工具:Docker、QEMU 和 Bochs,它们各自在软件模拟和虚拟...
Linux 内核实验室 —— 基于 Docker/Qemu 的极速 Linux 内核学习、开发和测试环境。社区制作了多款免安装的随身Linux Lab系统盘,某宝检索”泰晓 Linux"快速体验
制作版本 centos update src.rpm seabios-0.6.1.2-8.el6 rhel 6.1/6.2 centos 6.1/6.2 ubuntu fedora 其他linux 应该都能用 稍后上传seabios-1.6.3 DELL windows 7 oem slic 2.1 bios 自动激活。...
CentOS7 上安装 KVM(QEMU) 在本文中,我们将详细介绍如何在 CentOS7 上安装 KVM(Kernel-based Virtual Machine),并使用 KVM 可视化地创建虚拟机。 一、KVM 概述 KVM 是一种基于内核的虚拟机hypervisor,能够...
本文档是qemu以及linux kernel中kvm模块代码解析,供参考