First, shutdown all your guests. Then put the host into maintenance mode:
~ # esxcli system maintenanceMode get
Disabled
~ # esxcli system maintenanceMode set -e on
~ # esxcli system maintenanceMode get
Enabled
~ #
Do reboot:
~ # esxcli system shutdown reboot -r 'rebooting after patch'