Hi all,
I wonder where these configs come from:
qemu-dm-48 -d 48 -m 4096 -boot dc -serial pty -vcpus 4 -videoram 4 -vncunused
-k en-us -vnc 127.0.0.1:1 -usb -usbdevice tablet -net
nic,vlan=0,macaddr=ae:af:b1:b2:94:1a,model=rtl8139 -net
tap,vlan=0,bridge=xenbr0,ifname=tap48.0 -acpi -monitor pty
Is it possible to make changes to the hardware of VMs? For
example change NIC model (to virtio)? I know there's a hack to rewrite the
`/usr/lib/xen/bin/qemu-dm` or `/opt/xensource/libexec/qemu-dm-wrapper` to
replace the `rtl8139` to `virtio`. It will have a effect on all the VMs created
later.
I've made several attempts to solve this by myself, such as changing the vif
params:
# xe vif-param-list uuid=c08d1381-ed1c-0880-8e5f-ac238a556160
uuid ( RO) : c08d1381-ed1c-0880-8e5f-ac238a556160
vm-uuid ( RO): f092bb24-11ee-e5a3-3cfd-1c8c83161407
vm-name-label ( RO): Other install media (1)
allowed-operations (SRO): attach
current-operations (SRO):
device ( RO): 0
MAC ( RO): 92:61:9c:7a:da:09
MAC-autogenerated ( RO): true
MTU ( RO): 1500
currently-attached ( RO): false
qos_algorithm_type ( RW):
qos_algorithm_params (MRW):
qos_supported_algorithms (SRO):
other-config (MRW):
network-uuid ( RO): 8afa3eea-9ec0-0a6c-1208-580cad692cb2
network-name-label ( RO): Pool-wide network associated with eth0
io_read_kbs ( RO): <unknown>
io_write_kbs ( RO): <unknown>
locking-mode ( RW): network_default
ipv4-allowed (SRW):
ipv6-allowed (SRW):
Add a config (`other-config:model=virtio`) into the `other-config` section, but
no luck. Is there a better way to change the setting for a specific VM?
Best regards,
Hanfei
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api